Building your project
When you build for iOS, an Xcode Project is created. By default, the
AdobeMobileLibrary.a files will be in your new project's Libraries group. Perform the following manual steps required to build you app:
ADBMobileConfig.jsonfile to the project.
Ensure that it is a member of the build any targets necessary.
In the Build Phases tab of your project, add a link to the following libraries:
SystemConfiguration.framework(This library might be linked already.)
Tip: To use Local Notification In-App messages from the SDK, you must call
ADBMobile.EnableLocalNotifications();from the Start method in your first Unity Scene.
When you build for Android, the
apk file already includes the
ADBMobileConfig.json file in the correct location. By default, the
AndroidManifest.xml file in your
/Plugins/Android folder is also used.
If you need to use your own custom manifest file, the following changes should be added.
Add permissions for:
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
If you are using In-app messaging, add the following activity and receiver:
<activity android:name="com.adobe.mobile.MessageFullScreenActivity" android:theme="@android:style/Theme.Translucent.NoTitleBar" /> <receiver android:name="com.adobe.mobile.MessageNotificationHandler" />