2

Does setting android:allowBackup="false" prevents application data stored on sqlite to be accessed from rooted devices?

I have read the answers in the What is "android:allowBackup"? where I didn't found a clear answer to my question. I am asking explicitly about rooted device cases.

3
  • 1
    Rooted devices can access anything... That's kind of the point of being rooted Commented Feb 21, 2018 at 11:08
  • @NileshRathod and others, I am asking explicitly about rooted device, if you managed to read till the end. Commented Feb 21, 2018 at 11:30
  • @cricket_007 thank you for your comment Commented Feb 21, 2018 at 11:30

1 Answer 1

4

Basically "android:allowBackup" flag will let the system know whether to take backup of your application while taking the system backup. By default, it is set to "true". If you don't want to participate your application in data backup/restore infrastructure then you can simply make it false.

Please refer the documentation

Now coming to your question, this flag is nothing to do with your application database.

Happy Coding!

Sign up to request clarification or add additional context in comments.

1 Comment

"...this flag is nothing to do with your application database." Really?! Happy Coding you too!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.