Detecting first launch with Tiny DB

Umm, let’s think like this. I let my app know that user has disabled ads by purchasing a pack with Tiny DB. And it works fine, until they delete the app and re-install it, as variables will be deleted too.

As you can understand from their names, they are “variables” and they can change easily over time. But Tiny DB stores something that doesn’t change so often.

The same goes with a Text Block, if you were smart enough and thought of storing the value in a txt file that’d be safer. You should read this: Defining Global Variables in Android – Android Research Blog

OK, I have a better solution.

@Makeroid, give us some suggestions about this.

1 Like