Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a new variable in order to avoid location in UIBackgroundModes #51

Open
wallanoo opened this issue Feb 2, 2017 · 1 comment
Open

Comments

@wallanoo
Copy link

wallanoo commented Feb 2, 2017

Hi Hi @RBAtkins0n , @williamrijksen
I'm using your module for background ranging.
In issue #45 I solved the background ranging stop by adding the "location" in UIBackgroundModes key.

However, when I submit the App to Apple, they say:

"Your app declares support for location in the UIBackgroundModes key in your Info.plist file but does not have any features that require persistent location.
We acknowledge that the app uses iBeacon technology to provide content associated with a specific location. However, your app has iBeacon enabled for this. The location background mode is not needed since iBeacon already provides background functionality. "

I've googled ad I found that:

Unfortunately, I see in the module that allowsBackgroundLocationUpdates is set by looking if the "location" string is present in the UIBackgroundModes key.

I'm not able to upgrade the module, so I'm asking you if it could be a good idea to add a variable to your module instead of looking for the "location" string in order to allow BackgroundLocationUpdates related to beacons

Thanks for all in advance

@Samback
Copy link

Samback commented Feb 19, 2020

How did you solve this issue? I have the same now..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants