Generate Device Token
Story
As App user (Notifier)
I want my app to be identified on the platform
So that the interaction between my app and the platform will be enabled
Acceptance Criteria
- At startup the app checks whether it has a valid Device Token (or: check the response of the first API call for an Invalide Device Token error and react on that, or at the start of each new notification process, just request a new Device Token)
- The request POST /v2/devices is executed with the application token in the header.
- The response contains the device token which is stored within the app
- A device token needs to be stored securely, because this gives full access to the incident data