Skip to content

exclude adjust_preferences.xml from backup? #415

Open

Description

@ubuntudroid

If android:allowBackup="true" is defined in the Android manifest (just like in all sample apps here) it might make sense to exclude adjust_preferences.xml from full backup by adding

<exclude
        domain="sharedpref"
        path="adjust_preferences.xml"/>

to the full backup content rules to ensure that the install is tracked. Or am I mistaken?

If this is correct this should be added to the setup instructions.

Activity

  1. changed the title [-]exclude adjust preferences from backup?[/-] [+]exclude adjust_preferences.xml from backup?[/+] on Jan 14, 2020
  2. ubuntudroid commented on Jan 14, 2020

    @ubuntudroid
    Author

    Actually it would be even simpler if the adjust SDK would write all data not to be backed up into the no_backup folder (Context.getNoBackupFilesDir()). Then devs wouldn't have to mess around with exclusion rules and everything would automatically always stay in sync with SDK iterations.

  3. Iris3492 commented on Mar 2, 2024

    @Iris3492

    Actually it would be even simpler if the adjust SDK would write all data not to be backed up into the no_backup folder (Context.getNoBackupFilesDir()). Then devs wouldn't have to mess around with exclusion rules and everything would automatically always stay in sync with SDK iterations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions