Android SharedPreferences limitations?

后端 未结 4 1068
失恋的感觉
失恋的感觉 2020-11-29 11:26

I developed a game on Android. I am currently saving most of the game stats in a Database. However the app does not utilize more than a single row in the DB. I am now intere

4条回答
  •  盖世英雄少女心
    2020-11-29 11:40

    As mentioned in other answers, Shared Preferences is only really limited by phone storage and simplicity.

    However, if you want your users to seamlessly enjoy Android's Auto Backup then all of your local data, including SQLite and Shared Preference data, needs to be <25MB total.

提交回复
热议问题