frostney / react-native-ibeacon

:satellite: iBeacon support for React Native
MIT License
375 stars 54 forks source link

[Cosmetics] Ranging in background shows blue bar across screen #13

Closed MossP closed 9 years ago

MossP commented 9 years ago

I realise this is triggered by iOS notifying users of background usage but native apps are capable of ranging in the background without this bar showing. Any ideas on how to remove this?

In the mean tim I will compare the methods in your code to a native Beacon app I have to see where the differences may arise.

MossP commented 9 years ago

It was an error on my part. I had initially launched the app with requestWhenInUseAuthorization and without a string for NSLocationAlwaysUsageDescription.

After updating it continued to show the blue bar. After deleting the app and trying again the permission have reset and the blue bar no longer shows.