I am presently engaged on implementing a shake-for-feedback characteristic in my Angular Progressive Net App (PWA) particularly concentrating on iOS units. The performance depends on acquiring Movement and Orientation permissions. I’ve encountered a difficulty the place, even after the person grants permission, it appears to be forgotten after they go away the app. Consequently, I discover myself having to request permission once more upon their return.
I am questioning if there is a approach to persist the state of those permissions in order that customers do not need to repeatedly grant them each time they navigate away from and return to the app. Are there any methods or finest practices for dealing with and preserving Movement and Orientation permissions in an Angular PWA on iOS?
Any insights or solutions can be vastly appreciated! Thanks prematurely.