tiki-deprecated / publish-sdk-ios

TIKI SDK (iOS) - Consumer Data Licensing
https://mytiki.com/docs/sdk-overview
MIT License
3 stars 2 forks source link

[UI] OfferFlow is losing the State when coming back from settings #186

Closed ricardobrg closed 1 year ago

ricardobrg commented 1 year ago

When the user declines an offer's required permission, to allow that permission it needs to be redirected to the app settings and change the app permissions on iOS. Because of the changes in the app permissions, it is restarted, causing the loss of the offer flow state. We need to implement a solution to maintain the offer flow state when the user comes back from the app settings.

Expected Behavior:

When the user comes back to the app after it is reinitialized, if there is an offer flow in progress, the TIKI SDK should show the prompt to the user from the error ending sheet, where it stopped. If there are no pending permissions, it should create the license and show the accepted ending sheet.

This issue demands further investigation to define its cause, scope, and tasks.

ricardobrg commented 1 year ago

outdated