cowbell / cordova-plugin-geofence

Geofencing plugin for cordova
Apache License 2.0
265 stars 318 forks source link

Rejected for NSLocationAlwaysUsageDescription #160

Open JWesorick opened 8 years ago

JWesorick commented 8 years ago

Hey! How can I set/override the NSLocationAlwaysUsageDescription set in plugin.xml? It's super generic and I've even been rejected from the app store. (Right now my workaround is to just set it every time in the .plist file but that gets overwritten with each build.)

mhfen commented 8 years ago

Cordova has hooks you can write in a node script that kick in after_prepare. You need to write a hook that changes that property in your .plist file.

JWesorick commented 7 years ago

Thanks! Is it possible for this to happen at the plugin level?

JWesorick commented 7 years ago

Hey! I created at after_prepare hook and it works, except then the plugin just overwrites my values with its values.

bromeostasis commented 7 years ago

@JWesorick @mhfen I'd recommend forking the plugin and committing your wording change there. That way, you always install the wording you want.