Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
Locked
0

ios permission - NSPhotoLibraryUsageDescription, NSCameraUsageDescription, NSLocationAlwaysUsageDescription, NSLocationWhenInUseUsageDescription

Explorer ,
Jun 27, 2019 Jun 27, 2019

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
1.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jun 27, 2019 Jun 27, 2019

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".

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 27, 2019 Jun 27, 2019
LATEST

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?

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