Does cocos2d-x support the functionality of SharedPreference?
What I’ve seen is that there is CCUserDefault however, AFAIK, it writes a custom XML file thus requires SD card read/write permission on Android.
I’ve also heard that somebody made a version of CCUserDefault which uses a SharedPreference internally, however, AFAIK it is not included in the base cocos2d-x code.
Is this true? Or there is already SharedPreference support?
No, that should be enough. I was just afraid that I have to put some permission in the manifest.
Anyway, when I’ll reach the point in the development of my next game that I’ll need CCUserDefault, I’ll tell my impressions.