Projects > cpp > Issues > Bug #1529

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

CCUserDefault may lose data on android

Bug #1529 [Closed]
walzer@cocos2d-x.org 2012-10-27 09:22 . Updated about 12 years ago

This bug is reported by FishingJoy1 and this post CCUserDefault lost data in android phone?
FishingJoy1 team already used android.content.SharedPreferences instead of fwrite. I think we should merge this modification on android.

zhangxm 2013-01-31 03:56
  • Assignee set to zhangxm
  • Target version changed from 34 to cocos2d-2.1rc0-x-2.1.2
zhangxm 2013-03-12 01:51
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Use android.content.SharedPreferences on Android and NSUserDefault on iOS.

Atom PDF

Status:Closed
Start date:2012-10-27
Priority:Normal
Due date:
Assignee:zhangxm
% Done:

100%

Category:android
Target version:cocos2d-2.1rc0-x-2.1.2