SharedPreferences not being removed on user uninstalling application

前端 未结 3 2032
时光取名叫无心
时光取名叫无心 2020-12-05 12:32

Has anyone encountered this issue on a Nexus 6P device? I am only getting this issue on a Nexus 6P (running Google Fi).

When I install the app there is a key for

相关标签:
3条回答
  • 2020-12-05 13:16

    In android M and above versions they keep application backups in google driver, you can disable this by using, go to your project manifest file under Application section set android:allowBackup="true" to false.and you are good to go.

    0 讨论(0)
  • 2020-12-05 13:19

    Since Nexus 6P is running Android M, I think Automatic Backups is the issue.

    I think You can use allowBackup to stop that.

    Check this answer: https://stackoverflow.com/a/32010582/336312

    0 讨论(0)
  • 2020-12-05 13:26

    you can add to your manifest:

            android:fullBackupContent="false"
    
    0 讨论(0)
提交回复
热议问题