Open monyoudom opened 7 years ago
Look at the instructions - you need to add plist permissions entries.
Von meinem iPhone gesendet
Am 25.05.2017 um 09:49 schrieb monyoudom notifications@github.com:
after I build it in my xcode
— dhus dzyi You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
I already input the key but it still doesn't work
@monyoudom What I had to do was add those entries in config.xml using cordova-custom-config:
<platform name="ios">
<config-file parent="NSCameraUsageDescription" platform="ios" target="*-Info.plist">
<string>This app needs the camera for Augmented Reality</string>
</config-file>
<config-file parent="NSLocationWhenInUseUsageDescription" platform="ios" target="*-Info.plist">
<string>This app needs your location for Geo AR</string>
</config-file>
<config-file parent="NSPhotoLibraryUsageDescription" platform="ios" target="*-Info.plist">
<string>This app needs to access your photo gallery such that you can share your screenshots</string>
</config-file>
...
</platform>
After this you'll need to remove the platform and add it again:
$ ionic cordova platform remove ios
$ ionic cordova platform add ios
I needed to do this because for me the Info.plist
file wasn't there in the platforms
directory.
after I build it in my xcode