Adtruth tracking?

What is the impact on user and their data by using the following
manifest contents ?

Can I get clarification on adtruth fingerprinting and its use when
chosing defold as an engine ?

It was automatically added when packaging an android .apk

<service android:name="com.defold.adtruth.InstallReceiver"/>
    <receiver
        android:name="com.defold.adtruth.InstallReceiver"
        android:exported="true">
      <intent-filter>
        <action android:name="com.android.vending.INSTALL_REFERRER" />
      </intent-filter>
    </receiver>

Is it actually used or just listed in manifest?

Test editing this file and rebuilding?

plugins\com.dynamo.cr.bob_1.0.0.201603150157\com\dynamo\bob\bundle\resources\android\AndroidManifest.xml

It’s not used. @Pkeod’s suggestion should work fine. Adtruth is used for internal King games, which access it by calling in to a lua module called adtruth. (I think you can do something like pprint(adtruth) to inspect it.) It’s used mainly for tracking cross-promotion. The reason it’s not documented is that we were not really happy with that API, it should be generalized into something more widely usable. Adtruth basically does JS-invocation in a webview, and it seems like that could be usable for many other games, without tieing it to adtruth in particular.

2 Likes

I should also add that you can specify a custom manifest file in game.project, that’s easier than changing the default one.

1 Like

Thanks @Ragnar_Svensson and @Pkeod

The fact it’s not used and it being for internal use only is good by me. It is one less thing to consider
when worrying about user privacy.

Also, the contents of the file
\plugins\com.dynamo.cr.bob_1.0.0.201603150157\com\dynamo\bob\bundle\resources\android\AndroidManifest.com
look like a manifest template, which is then filled in during the packaging process. I assume that I could even specify my own manifest in the game.settings file or edit the template xml to suit my needs, but I’m not sure if that is a good/best practice.

2 Likes

Copy and paste the file into your project folder, edit that one, and then define it in the game.project file AFAIK

Doc here

3 Likes

You need to take care when you use your own manifest file and make sure to periodically check your own manifest file against the default manifest file. Some releases adds or changes features that also require changes to the manifest file (new permissions, minimum sdk version, activities etc)

4 Likes