Closed alexandrugavril closed 6 years ago
To make things easy at login (i.e. perform no prior user registration from the mobile client side), I propose the following set of steps:
User logs in using a username + password combination
username is the same as the username or email on the serverside (see JSON output of following call: http://139.59.181.210:8008/api/v1/user/2/
password is checked "only client side" :-) and is hardcoded to the word "imac"
if the filter request (e.g. http://139.59.181.210:8008/api/v1/user/?username=
the mobile client performs a post request containing the user uri, the registration id and the notification type ("GCM")
For documentation on CAMI Cloud endpoints see: http://139.59.181.210:8008/api/documentation/
avaliable users: camidemo / camicare
I will consider this done. There was the additional issue of keeping the logged in state when moving the app in the background. I know that to be solved as well, but if it is not I will open a separate issue.
The application should Post the login information to the CAMI Endpoint along with the Application registration ID for notifications.