Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!

Forums

OverviewFelgo 2 Support (Qt 5) › WebStorage

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #13208

    Alec

    Hi,

     

    Is it possible to use the same WebStorage database over several apps.

    For example, I might like to save a database of English > Korean translations.

    I’d want one editor app where teachers can add to the database.

    Then several simple apps for students. E.g. flashcards, quiz, game, homework, etc These would all need to access the same database.

     

    Cheers,

    Alec

    #13212

    Christian
    Felgo Team

    Hi Alec,

    In that case, you would need to use the same GameNetwork id across your apps. You can then store some data manually per-app, and others multi-app-wide. E.g. by storing it in a map like this:

    { "appId1": {}, "appId2": {}, "all-apps": {} }

    Cheers, Chris

Viewing 2 posts - 1 through 2 (of 2 total)

RSS feed for this thread

You must be logged in to reply to this topic.