Skip to content

Commit

Permalink
Added defines in iOS native code to strip usage of APIs that require …
Browse files Browse the repository at this point in the history
…usage descriptions in Xcode 9. The build server will automatically uncomment these defines if the appropriate ios.NSXXXUsageDescription build hints are provided. If building with Xcode 7, the server will uncomment all of these defines.
  • Loading branch information
shannah committed Mar 8, 2018
1 parent fffd7b4 commit 3f7b2f5
Show file tree
Hide file tree
Showing 4 changed files with 310 additions and 5 deletions.
13 changes: 13 additions & 0 deletions Ports/iOSPort/nativeSources/CodenameOne_GLViewController.h
Expand Up @@ -53,6 +53,19 @@
#import <GoogleSignIn/GoogleSignIn.h>
#endif

//#define INCLUDE_CONTACTS_USAGE
//#define INCLUDE_CALENDARS_USAGE
//#define INCLUDE_CAMERA_USAGE
//#define INCLUDE_FACEID_USAGE
//#define INCLUDE_LOCATION_USAGE
//#define INCLUDE_MICROPHONE_USAGE
//#define INCLUDE_MOTION_USAGE
//#define INCLUDE_PHOTOLIBRARYADD_USAGE
//#define INCLUDE_PHOTOLIBRARY_USAGE
//#define INCLUDE_REMINDERS_USAGE
//#define INCLUDE_SIRI_USAGE
//#define INCLUDE_SPEECHRECOGNITION_USAGE
//#define INCLUDE_NFCREADER_USAGE

//#define INCLUDE_CN1_BACKGROUND_FETCH
//#define INCLUDE_FACEBOOK_CONNECT
Expand Down

0 comments on commit 3f7b2f5

Please sign in to comment.