I'm testing on a physical android device, and have behavior I can not explain:
- I purchase a subscription
- The subscription is automatically stopped after 5 minutes
- I then try to purchase it again but I get errorcode ITEM_ALREADY_OWNED
I can close the app and try again, but still get the error code
If I refresh with the login method, the problem is still present, I am no longer entitled
Is there some kind of server - timing issue going on here?
After some (?) time I am able to purchase a subscription again, unsure when things are matching up again.
Or maybe there is there a problem with me checking the validity?
C# code:
ExpirationDate = ToDateTime(entitlement.ExpirationDate);
private DateTime ToDateTime(Java.Util.Date date)
{
var baseValue = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc);
return baseValue.AddMilliseconds(date.Time);
}