Skip to content

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

@wallanoo

Description

@wallanoo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions