r/CodingHelp • • Oct 26 '26

[HTML] How can I make my web app stop asking permissions everytime it is opened?

I don't know if the flair is correct.

I have this web app made in angular (hosted on firebase) for mobile use which, amongst other stuff, utilizes a custom made camera in order to take photos.

It works but everytime the app gets closed and re-opened, it keeps asking for authorizations to use GPS (used to print coordinates on the photos) and camera (these are only asked once while using the app ofc, but it gets re-asked when the app is closed and re-opened).
Many users complain about this, saying that "when I use other apps, it just asks me permissions once". I currently still haven't found a way to make the browser remember permissions permanently. Is it possible for a web app to do so, or is it something tied to non-web based applications?

6 Upvotes

3 comments sorted by

•

u/AutoModerator Oct 26 '26

Thank you for posting on r/CodingHelp!

Please check our Wiki for answers, guides, and FAQs: https://coding-help.vercel.app

Our Wiki is open source - if you would like to contribute, create a pull request via GitHub! https://github.com/DudeThatsErin/CodingHelp

We are accepting moderator applications: https://forms.fillout.com/t/ua41TU57DGus

We also have a Discord server: https://discord.gg/geQEUBm

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.