danialfarid / ng-file-upload

Lightweight Angular directive to upload files with optional FileAPI shim for cross browser support
MIT License
7.87k stars 1.59k forks source link

Using ng-file-upload on IOS using Ionic Cloud - how to set PHOTOLIBRARY_USAGE_DESCRIPTION #1983

Open pimrie opened 7 years ago

pimrie commented 7 years ago

Hi there,

We are using the ng-file-upload component to set a user's profile picture, this works fine on Android and Web but our app crashes out when on iOS. This has been narrowed down to the PHOTOLIBRARY_USAGE_DESCRIPTION being blank and this causes the app to crash. We can set the flag manually in the app's plist file but we use Ionic Cloud to package and build and the settings don't seem to be set (even though we have set them in Config.xml).

Do you have any advice on this?

Thanks

Peter