What is CCUserDefault

  • pnyusb
    Likes 0

    Problem Description

    Hello, 

    I can not understand what is CCUserDefault.

    For example, for ios, is like related data account ??

    Thank


  • Sonar Systems admin
    Likes 0

    It is permanent storage, it stores the data inside a database.

  • pnyusb
    Likes 0

    Hum ok but the data is related to a account or something like that ??

  • Sonar Systems admin
    Likes 0

    It’s related to the app, so if you delete the app. The data is gone.

     

    Hope this helped clear up any doubts.

  • pnyusb
    Likes 0

    Ok thx.

    Are there other way to save ?

    Another thing that has nothing to do , but I 'm looking , I feel that there are no facebook ads on sdkbox , you know why ?


    This reply has been verified.
  • Sonar Systems admin
    Likes 0

    You could use a direct Database conneciton for more control.

     

    Or send the data to a server using HTTP requests and store the data on a server like that.

     

    Or save it in a text file/JSON file

     

    SDKBOX usually only have plugins from companies they are partnered with. Our Cocos Helper is open source and you can add whatever framework you like into it.

  • pnyusb
    Likes 0

    Ok I understand.

    Thank you for all Sonar Systems.

Login to reply