Android Question Question about subscriptions

tufanv

Expert
Licensed User
Longtime User
Hello,

In IOS for subscriptions , we have to manage the start end dates etc. I dont have any idea for android . Does manager.getownedproducts brings us if there is a valid subscription with every app start ? so we dont have to store any info in any database ? So, simply can we say that
1)check ownedproducts with every app run
2) if there is a valid subscription is ownedproducts continue to show content. ( question here is if the subscriptions expred , is this item going to be removed from the ownedproducts ? )

if not can you describe a bit. ?

Thank you
 
Last edited:

tufanv

Expert
Licensed User
Longtime User
Active subscriptions should be returned when you call GetOwnedProducts.

Erel,

I tested it yesterday. Bought a subscritption of mine with a test account. After 5 minutes i canceled it. So it should have been active until today 15.03 (gmt+2) (test purcahses are valid for 1 day for subs) . I have tried it now at 15.20 and when i use manager.getownedproducts i can still list this purchase as active.

edit: it is solved. There is a latncy about 2-3 hours
 
Last edited:
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…