This page is a guide to setting up the Airbridge Unity SDK example app.
- Change the Platform to Android by clicking
File > Build Settings...
at the top of the Unity Editor. - The Auto-Resolution feature of the External Dependency Manager is activated and automatically imports the
dependency library into the
Assets > Plugins > Android
folder.
(If Auto-Resolution is not working properly, please import the library manually by clickingAssets > External Dependency Manager > Android Resolver > Force Resolve
.) - Click
AB180 > Airbridge Settings
at the top of the Unity Editor to set up your project. - Press
Update Android Manifest
to apply the changes. - Proceed with the Android build.
- Change the Platform to iOS by clicking
File > Build Settings...
at the top of the Unity Editor. - Click
AB180 > Airbridge Settings
at the top of the Unity Editor to set up your project. - Press
Update iOS App Setting
to apply the changes. - Proceed with the iOS build.
-
You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target.
: Set
Unity-iPhone (PROJECT) > Build Settings (All | Combined) > Build Options > Enable Bitcode
toNO
-
This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSUserTrackingUsageDescription key with a string value explaining to the user how the app uses this data.
: Edit info.plist
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>NSUserTrackingUsageDescription</key> <string>track in-app events</string> ...
-
Application crashed with error "... Library not loaded: @rpath/AirBridge.framework/AirBridge ...".
: iOS SDK has been changed from static library to dynamic library to support Privacy Manifest. If you are resolving iOS dependencies using EDM4U, Click
Assets
>External Dependency Manager
>iOS Resolver
>Settings
and uncheck theAdd use_frameworks! to Podfile
checkbox in the Podfile Configurations section of the iOS Resolver Settings window.