You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In android versions >= 13 requesting a permission requires an activity.
We need to request to disable the battery optimization and the permissions for notification.
Problem
We don't have an activity for the launcher when the start intent is sent and the service is started so we can't ask for battery optimization and notification permissions.
Feature
When sending a start intent and the notifications or battery optimization are not yet granted we should open an Introduction Activity where the user is guided through the process of giving the permissions.
This Activity should shortly explain what the fiskaltrust middleware is and why it needs these permissions.
When receiving a start intent and we're missing one of the permissions this activity should always be shown. But when we have the permissions this activity should never be shown.
Example flow
Hi, this is the fiskalturst.Middleware and we're used by your POS System to fulfill compliance regulations. etc. etc.
Background
In android versions >= 13 requesting a permission requires an activity.
We need to request to disable the battery optimization and the permissions for notification.
Problem
We don't have an activity for the launcher when the start intent is sent and the service is started so we can't ask for battery optimization and notification permissions.
Feature
When sending a start intent and the notifications or battery optimization are not yet granted we should open an Introduction Activity where the user is guided through the process of giving the permissions.
This Activity should shortly explain what the fiskaltrust middleware is and why it needs these permissions.
When receiving a start intent and we're missing one of the permissions this activity should always be shown. But when we have the permissions this activity should never be shown.
Example flow
The buttons become greyed out once the permission is granted.
(Don't take this as gospel though. I'm sure we can think of a nice flow.)
Things to request in this activity
The text was updated successfully, but these errors were encountered: