MovableInk SDK
The MovableInk SDK provides the tools to allow your app to be deeplinked into from a Creative Tag and to track Behavior Events.
Getting Started
You'll want to ensure that your MovableInk subdomain is setup to support deeplinking. MovableInk subdomains are usually setup in the format mi.example.com
. You can check with your team if you're unsure what your companies subdomain is.
Even if you don't plan to use Deeplinking right now, we highly recommend you set this up now for the future.
iOS Deeplinking Support
Verify that the AASA file's contents are correct. This should be at https://mi.example.com/.well-known/apple-app-site-association
. Make sure to replace the domain with your company's MovableInk subdomain. It should look similar to the example below. If it doesn't, check with your team to ensure Deeplinking support has been enabled for your company. If you haven't already, you'll need to provide MovableInk your Apple's Team ID and Bundle Identifier.
{
"applinks": {
"details": [
{
"appIDs": [
"TEAMID.com.example.app",
],
"defaults": {
"caseSensitive": false
},
"components": [
{
"/": "/p/rpm/*",
"comment": "Matches any path that starts with /p/rpm/"
},
{
"/": "/p/cpm/*",
"comment": "Matches any path that starts with /p/cpm/"
}
]
}
]
}
}
Android Deeplinking Support
Verify that the Asset Links file contents are correct. This should be at https://mi.example.com/.well-known/assetlinks.json
. Make sure to replace the domain with your company's MovableInk subdomain. It should look similar to the example below. If it doesn't, check with your team to ensure Deeplinking support has been enabled for your company. If you haven't already, you'll need to provide MovableInk your application's Package Name.
[
{
"target": {
"namespace": "android_app",
"package_name": "com.example.app",
"sha256_cert_fingerprints": [
"AA:0C...."
]
},
"relation": [
"delegate_permission/common.handle_all_urls"
]
}
]
Integration Options
iOS
Swift Package Manager Carthage Cocoapods