Android - How to check if subscription is renewed?
<p>I have an android app with renewable monthly subscriptions. In this app I want to notify user some info when his subcription continues in next month.</p>

<p>As I can see renewals in merchant center(orderId ends with eg. ..0, ..1), but when querying the inventory my purchase orderId is same as befor eq.</p>

<pre><code>{
    "orderId": "GPA.XXXX-YYYY-XXXX-ZZZZZ",
    "packageName": "my.packageName",
    "productId": "my.sku",
    "purchaseTime": 1456398623654,
    "purchaseState": 0,
    "developerPayload": "mypayload",
    "purchaseToken": "token",
    "autoRenewing": true
}
</code></pre>

<p>What bothers me more is that purchaseTime also doesn't change.</p>

<p>So my question is: If there is any way to detect in app that renewal occured? </p>

<p>Edit:</p>

<p>I'm using Google Play Developer API to get subscription info and then calculate number of renewals myself.</p>