![]() ![]() The setPreinstallAttribution method allows you to specify the campaign name. This means that you can maintain one APK for all manufacturers that you collaborate with. No matter the manufacturer, the SDK method retrieves the name directly from the device. The SDK API method lets you retrieve the manufacturer name programmatically. If you don't want to specify campaign and siteId, pass null in both. The campaign and siteId parameters are optional but are required by the setPreinstallAttribution method.Make sure that this property holds the manufacturer name as expected. Using this property doesn't guarantee that you get the manufacturer name in the same format across devices from that manufacturer. The android.os.Build.MANUFACTURER property holds the manufacturer name as configured by the operating system.The media source parameter is mandatory.Moreover, this method might be a little harder for the app developer to test. The developers need to be sure that the manufacturer or media source takes the necessary steps. Some responsibility is transferred over to the media source or manufacturer. Even if a user updates the app before launching it or installs the app after clicking an ad, the preinstall is still attributed to the preinstall media source or manufacturer. This method ensures attribution to preinstall campaigns and media sources. Manufacturers can use custom paths and there are no dependencies between multiple preinstalled apps running on different devices. ![]() No need to make changes and add paths to the app on Google Play. No need to maintain different APKs for each media source or manufacturer. Setprop ro. /data/pre_install.appsflyerĪn alternative method is to retrieve the system-properties-file from the android file system, edit it, and push it back: adb rootĮcho ro.=/data/pre_install.appsflyer > build.prop See the Testing section for more details.Īdding a Key-Value Pair to Android System Properties: adb shell su Root permissions are also required when testing preinstall configuration. Root permissions are required for this step. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |