remoorejr / cordova-plugin-camera-with-exif

Cordova Camera Plugin that will return an image as well as the EXIF data (including GPS location) on iOS and Android devices.
Apache License 2.0
38 stars 53 forks source link

Can one override values for iOS plist strings in config.xml #22

Closed jim0020 closed 6 years ago

jim0020 commented 7 years ago

Is it possible to override the default values for NSCameraUsageDescription, NSPhotoLibraryUsageDescription, and NSLocationWhenInUseUsageDescription from plugin.xml in the app's config.xml? In other words, can I set these values in config.xml? If so, how?

For instance with the stock cordova-plugin-camera:

cordova plugin add cordova-plugin-camera --variable CAMERA_USAGE_DESCRIPTION="your usage message" --variable PHOTOLIBRARY_USAGE_DESCRIPTION="your usage message"

Thanks!

remoorejr commented 7 years ago

No, the strings are hard coded at this time.

Bob Moore 617-365-3231 - cell @remoorejr Sent via my iPhone 6

On Aug 9, 2017, at 1:31 PM, jim0020 notifications@github.com wrote:

Is it possible to override the default values for NSCameraUsageDescription, NSPhotoLibraryUsageDescription, and NSLocationWhenInUseUsageDescription from plugin.xml in the app's config.xml? In other words, can I set these values in config.xml? If so, how?

Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.