- If you haven't done so yet, read through the
READMEin the adapter root folder for instructions on Airship and Gimbal project setup. - Ensure your iOS and Android API keys are supplied in
App.tsxin the relevant locations. - Ensure that your Airship credentials are supplied in
airshipconfig.propertiesfor Android,AirshipConfig.plistfor iOS. - Ensure your dependencies are installed by running
yarn. If there are any Cocoapods or other dependency-related errors, resolve these first. - Ensure that the correct package name is present in
package.jsonin theandroidscript - If you'd like to set a User Analytics Identifier, see the relevant code in
App.tsx
Open the .xcworkspace for the example app, and ensure that the bundle identifier for the app matches the bundle identifier that you registered your app with. You can examine your registered apps and their designated API keys through Gimbal Manager under Applications. Then, either run the app using the command yarn ios, or if you prefer to work through XCode, start a Metro instance first with the command yarn start, then run the app using XCode.
If you prefer to work through the command line, check in package.json under scripts that the appID supplied in the command android matches the appID that you registered your app with. You can examine your registered apps and their designated API keys through Gimbal Manager under Applications. Then, either run the app using the command yarn android, or if you prefer to work through Android Studio, first run yarn android to build the app, then proceed using Android Studio.