Highlighted

ios permission - NSPhotoLibraryUsageDescription, NSCameraUsageDescription, NSLocationAlwaysUsageDescription, NSLocationWhenInUseUsageDescription

Explorer ,
Jun 27, 2019

Copy link to clipboard

Copied

Hi~

I have some question about permission of AIR SDK for iOS.

When I made an sample project with ActionScript Mobile Project and exported a realease build (.ipa),

the following keys was added automatically to info.plist.

<key>NSPhotoLibraryUsageDescription</key>

<string>Required by Apple</string>

<key>NSCameraUsageDescription</key>

<string>Required by Apple</string>

<key>NSLocationAlwaysUsageDescription</key>

<string>Required by Apple</string>

<key>NSLocationWhenInUseUsageDescription</key>

<string>Required by Apple</string>

An sample project was empty and I did not add anything to it.

My development environment is Flash Builder 4.7 and AIR SDK 32 beta ( 32.0.0.109 ) - MacBook Pro (Retina, 13-inch, Late 2013), macOS High Sierra 10.13.6.

Is the above keys is required to use AIR SDK 32?

If anyone knows about this, please let me know.

Please, plese help me.

TOPICS
Development

Views

473

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

ios permission - NSPhotoLibraryUsageDescription, NSCameraUsageDescription, NSLocationAlwaysUsageDescription, NSLocationWhenInUseUsageDescription

Explorer ,
Jun 27, 2019

Copy link to clipboard

Copied

Hi~

I have some question about permission of AIR SDK for iOS.

When I made an sample project with ActionScript Mobile Project and exported a realease build (.ipa),

the following keys was added automatically to info.plist.

<key>NSPhotoLibraryUsageDescription</key>

<string>Required by Apple</string>

<key>NSCameraUsageDescription</key>

<string>Required by Apple</string>

<key>NSLocationAlwaysUsageDescription</key>

<string>Required by Apple</string>

<key>NSLocationWhenInUseUsageDescription</key>

<string>Required by Apple</string>

An sample project was empty and I did not add anything to it.

My development environment is Flash Builder 4.7 and AIR SDK 32 beta ( 32.0.0.109 ) - MacBook Pro (Retina, 13-inch, Late 2013), macOS High Sierra 10.13.6.

Is the above keys is required to use AIR SDK 32?

If anyone knows about this, please let me know.

Please, plese help me.

TOPICS
Development

Views

474

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jun 27, 2019 0
Engaged ,
Jun 27, 2019

Copy link to clipboard

Copied

Apple does require those keys if you're using the camera and location, and it seems like Adobe decided to just always add those keys to all apps, since some users were getting rejections because they didn't realize it was a new requirement from Apple.  I haven't seen any way to disable the SDK doing that, but if your app is actually using camera/photos or location you can define the keys with better description strings in your xml file and it will use your strings instead of the generic "Required by Apple".

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 27, 2019 0
SangHee LATEST
Explorer ,
Jun 27, 2019

Copy link to clipboard

Copied

My app does not use the functions of camera, location, photo.

Is there any way that keys is not added to info.plist automatically when it export release build?

Or Is there any way that it remove the keys from info.plist automatically?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 27, 2019 0