4.6.1
0.63.2
Android
My flow in my app briefly is as following:
Now my issue, when a user is subscribed, and decided to cancel a subscription ( i am testing this on Android Emulator )from google play store. How from my app should i listen/monitor/know that the user canceled the subscription to reflect it on the app? or it is only doable from my Backend?
You have to listen to the server to server notifications on the backend side.
https://developer.apple.com/documentation/storekit/in-app_purchase/subscriptions_and_offers/enabling_server-to-server_notifications
@kamdobrz is correct, there is real-time notifications available for android as well:
https://developer.android.com/google/play/billing/rtdn-reference
Another option is to use a service such as iaphub that will take care of the receipt validation for you and send you a webhook when the user cancel his subscription.
Most helpful comment
You have to listen to the server to server notifications on the backend side.
https://developer.apple.com/documentation/storekit/in-app_purchase/subscriptions_and_offers/enabling_server-to-server_notifications