I am making a app in which ones the users login then they got 1 month login subscription And as there 1 month is over in the firebase there is a bucket named as status in that expired value should come
Infact, I know the user expired date and start date is there any option to change the value after 1 month
In app billing has too high fees. from 15% to 30%. The payment system I use, for example, charges only 4% + 0.4brl for transaction, which in my case means 4.8% fee. It is 3 times less.
In my case I use pagseguro, which is very used in my country, but Paypal is better choice for most of the countries.
To help You I Have a Solution
Use Another Database like Airtable in that Your User Data should be Stored along with Subscription Information. After your App has Detected if One Month is Completed update Value of the Specific Row And Change you Subscription Status to False or Expired.
The main problem is that how I will know that the one month is over for example if the user doesnβt login on the expire date then how I will know that the date is greater than the device date tell me
When user open app get data expire date from firebase and compare it with current date which you can get from world time API. If current date is after from expire date then save data on firebase that user plan expired. But do it whenever user open app. Simple as that.
Instead of getting clock now get milli, you can use use milli from online⦠which will prevent the users to mis use by adjusting system date and time. You can refer my TinyTimer Extension too
Your question was already answered by Still Learning. I only added another point to what he said, that in app billing has to much high fees. If you donβt think it is relevant, just ignore.