This app demonstrates the basic functionality of AppsFlyer's OneLink deep-linking solution. The app will be able to register it in AppsFlyer's dashboard, create real OneLink link and 'test-drive' them.
You can read more in our Developer Hub for iOS here.
-
iOS version >= 13
-
AppsFlyer SDK versions >= 5.4.1
- Clone the repository
- ** Make sure to open the work environment via Xcode workspace
basic_app.xcworkspace
** - Run the app, preferebly on a real device, as emulators might have a few issues.
‼️ Important This app runs by default with a devkey of a demo account. If you would like to see the app's data in the AppsFlyer dashboard, you need to create a demo app in your AppsFlyer account and follow the instructions below.
-
Get your AppsFlyer Dev Key using these instructions
-
Change the keys
appsFlyerDevKey
andappleAppID
in the filebasic_app\afdevkey.plist
:
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>appsFlyerDevKey</key>
<string>YOUR_AF_DEV_KEY_HERE</string>
<key>appleAppID</key>
<string>YOUR_APPLE_APP_ID_HERE</string>
</dict>
</plist>
-
Do not push the keys to a public repo!
-
Ask your marketer to create some OneLink links and start running fruit campaigns 🍎