Reenabling PWA camera access in iOS - ios

I'm developing a PWA where the user can scan a QR code (I'm using zxing-js). On iOS In the safari it behaves as expected: If I allow camera access when prompted, it will open camera preview and allow me to scan code. If I deny access, it won't work, and to regain access to camera in the future I would have to switch from 'Deny' to 'Allow' in the 'Camera' entry in the website's settings (From the "double A" icon to the left of the url bar). Does somebody know where I can manage permissions for camera, location, etc, (specially when needing to re-enable one that was previously denied) for a PWA in iOS?

Related

Can I open ios wifi settings in a prompt dialog like UIAlertController?

Programming with iOS, is it possible to open wifi settings on the device on a prompted dialog ? Like on a UIAlertController ?
Using the following code, I am able to directly land into the wifi settings of the device.
let url:NSURL! = NSURL(string : "prefs:root=WIFI")
UIApplication.sharedApplication().openURL(url)
iOS gives a button at top left corner of screen to get back to my app in one click from the wifi settings page. But I am looking for ways to make this easier for my user. So, is it possible to launch ios wifi settings in a modeless dialog so that user has a feeling of staying within my app while interacting with ios wifi settings from my app ?
Looking for ways to simplify the user experience.

Prevent camera permission to show in Swift

I'm using Permission Scope to handle permissions to access the camera and the Photolibrary on my app. This is a camera app pretty much like Apple's app.
In my app I call Permission Scope in the first login and it works, but before I touch any button, the "MyApp wants to access the camera" dialog shows. It just happens with the camera dialog, not with the Photo's.

iOS camera permission dialog box

I am working on an app for ios and my app uses the camera permission. However the dialog box for the camera permission shows behind the application. This gives the user the impression that the app has frozen. The user then has to press the home button and click Allow then go back to the app.
What can i check to ensure the camera dialog is always on top of the application?

Open Display & Brightness Settings on AlertView button

Is there a way to open the Settings in Display&Brightness when tapping an alertView buttons? I want the user to be redirected here in order to change its Standard/Zoom view mode.
No.
In iOS 8, there is no supported method for a third-party app to open Settings to anything other than the top level, or to their app's custom settings, if they exist.
What you see in Tinder and Facebook are system alerts that iOS presents when your app wants to use the network or location services and (cellular data or) wi-fi is turned off. This is managed by iOS, and is not something that Tinder or Facebook had to add to their app.

iPhone Location Services - app not showing

Our app uses location services, and registers in the normal way. We have an issue on 1 (!) iPhone where it's not showing in the Location Services, no matter what we do. The question is, does anyone know if this is a bug in iOS, or could there be something we're not doing?
Any thoughts welcome.
The app needs to trigger location settings to appear open up Facebook on ur phone click on the top left corner then press on nearby and allow it once that is done Facebook will appear under location settings
The best way to trigger facebook location services is to go to settings in your facebook app, next go to events. In events you will find a setting icon you need to click that. it will popup location permissions. Select while using.
If you can't find the setting icon in events tab, try to create a new event and it will ask you for location.

Resources