installationID property

String installationID
final

The installationID is required in order to allow varying file names when using the same app on different installations or on the different devices. One installationID must not match the previous installation's id in order to preserve the scoped file privilege enforced on Android 10 or higher (API 29+).

In order to keep each installationID bound to only on installation it is recommended to create the id on the first startup of your app (clear instance or restored instance). Store the installationID on the primary database and update it every time the app has been re-installed.

Implementation

final String installationID;