I am using google in-app billing v-3 to implement Subscription.
My Subscription has one week Trail period and UI displays "Avail A Week Free" View.
If the user Subscribes and cancels for any reasons, I need to display "UpGrade" View.
As far as I googled, I learned that if users cancel's subscription while in the period of active subscription, INAPP_PURCHASE_DATA_LIST autoRenewing flag will return false.And after the subscription period ends getPurchase() could return empty.
In this scenario how could I know which UI to display, hence getPurchase() will return empty for both, when the subscription expires and when User has not Subscribed.