The accounts setup is taking way way too long. And some ios users have
paid for pro and haven't gotten it. This way, they will at least get it
ASAP. I should have done this weeks ago.
This occurs in ios when the user is asked for their iTunes password and
they press cancel.
It seems with the current approach they will be asked for their password
once a month. It seems a bit annoying. How can this be made better?
The iOS updates keep getting rejected, and I think it's because
RevenueCat is taking too long to respond. Additionally, revenueCat
doesn't really give us anything useful as its receipt validation isn't
perfect, and I've had to roll my own.
Plus from a privacy point of view, this is better as we are no longer
talking to any third party service.
This has so far only been tested on iOS
If the user has freshly installed the app, they can click on the
Purchase Pro Mode button and that will put them in Pro mode if already
bought.
This is being done, because otherwise the experience in ios is shitty as
the moment the app is launched, the user is asked for their iTunes
password.
Disable the optimization of not checking for pro mode on boot. The
optimization fails and pro members cannot always get the pro features.
This is not good.
As a workaround, opening the but pro mode page also checks if already
purchased.
We're using RevenueCat to manage the subscriptions. In my case in
Android, it gives me data saying I'm missing a subscription even though
I clearly have it (though in Trial mode).
The subscription token isn't really being verified right now. Ideally
this needs to be done on the server side. This is a good first start to
get rid of RevenueCat.
Related to #171
A person can install the app and be already in pro mode - for example if
they have cleared their cache. Ideally, we shouldn't be checking each
time on boot and instead just be checking when it expires.
Fixes#110