Skip to content

ab180/airbridge-unity-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Airbridge Unity SDK Example

Requirements

Generic badge

Generic badge

Before you start

This page is a guide to setting up the Airbridge Unity SDK example app.

Android

  1. Change the Platform to Android by clicking File > Build Settings... at the top of the Unity Editor.
  2. 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 clicking Assets > External Dependency Manager > Android Resolver > Force Resolve.)
  3. Click AB180 > Airbridge Settings at the top of the Unity Editor to set up your project.
  4. Press Update Android Manifest to apply the changes.
  5. Proceed with the Android build.

iOS

  1. Change the Platform to iOS by clicking File > Build Settings... at the top of the Unity Editor.
  2. Click AB180 > Airbridge Settings at the top of the Unity Editor to set up your project.
  3. Press Update iOS App Setting to apply the changes.
  4. Proceed with the iOS build.

Troubleshooting

Android

iOS

  1. 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 to NO

  2. 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>
         ...
  3. 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 the Add use_frameworks! to Podfile checkbox in the Podfile Configurations section of the iOS Resolver Settings window.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published