question

tg avatar image
tg asked Mike M answered

best practices for changing app permissions between versions

For a published app, we are trying to add new functionality via a new permission which we added via the developer dashboard. Tested on sandbox fine but when uploading the APK and testing on a Production device (version is submitted, not approved) we are getting ForbiddenException which says we do not have the permission that was added, even after uninstalling and re-installing the app and rebooting the device

  1. Will this issue go away when the app is approved?
  2. How do we instruct merchants to update properly once this is published?
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Mike M avatar image
Mike M answered

Can you please try initiating an uninstall and reinstall via the web App Market as well?

The uninstall/reinstall is equivalent of a merchant opt-in for the additional information/permissions your app is asking for, and will cause a new token to be generated with the updated permission set. Tapping the sync button in the App Market app on the device also causes all tokens to be validated against our server, which should refresh the local token cache.

The behavior you are experiencing is certainly odd and something that we will investigate further. That being said, the experience will be the same across all of our environments, regardless of the app's approval state.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community