So, I’m implementing iap for Android using code from this tutorial:
http://coronalabs.com/blog/2013/09/03/tutorial-understanding-in-app-purchases/
The transactionCallback thread is crashing when it tries to convert the timestamp.
A brief investigation suggests that the plugin returns a transaction.date in milliseconds (like this: 1418851417227) and needs to be converted to seconds simply by dividing by 1000. Can anyone confirm this?
If it’s true, someone should update the Tutorial, it has good placement on Google so apparently lots of people use it.