Skip to main content
Inspiring
July 2, 2012
Question

Remove app from phone, but save a file or let server know app is uninstalled.

  • July 2, 2012
  • 2 replies
  • 565 views

Hello,

Is there a way to let the server know if the app is uninstalled?

And is it possible to leave some files at the phone when uninstalling the app?

I want to use a credit system on my app.

Credits are linked to a user by a unique key that is stored in the sqlite db on the phone at first run.(saved by a request from server) and at the server. (i use a unique key because I don't want to store the users telephone number at the server due to privacy reasons.)

When a user removes it i want to know about it so i can remove the unique key from the server or save it(for lets say a year) when a user has bought credits.

Any ideas about a credit system are welcome. How to handle stuff when user buys credits, removes the app and installs it again..

Greets, J.

This topic has been closed for replies.

2 replies

Inspiring
July 2, 2012

just a thought:

your database should probably store a user id and credits forever. that way, when a user runs the app, whenever that may be, the device can check against the database to see if there are any credits associated with the account. i don't think it's possible to leave any files on the device once the app gets uninstalled.

Inspiring
July 3, 2012

That was just what i tried to prevent.

Over the years i will have a database with lots of records that are never used again.

Besides, how do i reconnect that user to the specific database record again when he reinstalls the app?

What phone information(on any platform) can i get to store in my online db to identify my user?