How to use the LocalStorage plugin

You're viewing a single comment in a conversation. View all the comments
  • 3 Comments

  • Order by
  • Hi Pras,

    When you fetch the key from the localstorage, the value for this key is stored in the "LocalStorage.ItemValue" expression.

    So simple set at "On Item "[key]" get" => System -> Variable [YourVar] -> Value = "LocalStorage.ItemValue".

    You can see an example in the attached capx file

    s1.construct.net/tutorials/downloads/24272/local-storage-playercoins.capx

    Best,

    Andreas

    • oke thank you mr Andreas. ihave fix that about local storage. my app have publised in play store. i have new problem, "is online in browser plugin" not working. Are you have solution about this? :(

      thank you mr Andreas

      • Hi, sorry for the long wait. I can remember that it didn't work with Cocoon, however cocoon is dead now and it should work for Cordova. Have you installed the "Inappbrowser" plugin at your cordova project?

        This is needed if you want to use the browser functions.

        Best,

        Andreas