I have used Billing client to handle inapp purchase. Once a non-consumable product is purchased, after acknowledging I can save a value in shared preferences.
Constraints If the user clear the app data or uninstall the app, It will be lost. How to handle this scenario.
Note I am not convinced to save it in cloud. pls suggest how to fetch it from Google play each time the app starts using billing Client.