Best approach for consumables (coins/credits) in Ionic

Hi, I’m trying to develop an app that uses a pre-populated sqlite database. To keep it simple, we can think this app as a classic question-answer mobile game, with the possibility for users to use some help/hints that consume credits/coins.

Which is the best solution to implement credits/coin and in app purchases? If I store them in the local sqlite database it could be so easy to hack the value…

Yes, so obviously, it must be done server-side.

1 Like

Thanks for your reply. It’s not easy to develop the own backend. Do you have some tutorials or contents to suggest to read about that?

I use gocraft/web for mine.