cordova-plugin-ibeacon
cordova-plugin-ibeacon copied to clipboard
Disable request popup for location permission
Hi, can someone make possible to add a new preference in the config.xml so that the popup "This app needs location access. Please grant location access so this app can detect beacons." doesn't show up? I'm ok with the os asking the permission on the first open of the app, but I'd like to hide the popup described before. I see you recently added a similar feature for the bluetooth request so I think it should be possible. I'm using phonegap build so I can't edit the plugin by myself because phonegap uses the plugin available online and not plugins on local storage, so this would be very useful for me.
Hi, has someone a solution to this? It is ok that i asks ones, but i you says no, it continues to show the "please grant..." , and makes the plugin useless. I'm using Cordova so i can change the code, I just dont know where to change it. Please help.
Hi guys,
I have this same question. Does the plugin have some options to hide / remove the messages and location access permission ?
I would love to know. Thanks!
BTW: The docs are not helping much.
Here's what I do when using this plugin: https://github.com/petermetz/cordova-plugin-ibeacon/issues/292#issuecomment-329706188
Maybe that helps.
@mgrubinger thanks for your help but I am looking for an option from the plugin itself as I cannot modify the plugin code because I am using build.phonegap.com for my build.