36 Commits

Author SHA1 Message Date
7d88ef0399 Add a YearlyPurchaseWidget - disabled for now
Abstract out the PurchaseWidget and use it for both monthly and yearly
purchases. The yearly purchases hasn't been enabled so far, as the IAPs
still need to be approved on iOS and the PageView widget I was using to
switch between the two options isn't giving me what I want.
2020-08-19 16:39:42 +02:00
40c03f2c3e PurchaseScreen: Change padding 2020-08-19 13:51:23 +02:00
8c57368851 PurchaseScreen: Make it a bit prettier 2020-08-19 13:47:43 +02:00
06e78eb1d3 PurchaseScreen: Move Feature Timeline button below 2020-08-19 13:31:11 +02:00
7936cc70b8 Analytics: Make all events into enums
No more random strings
2020-08-17 15:29:38 +02:00
990efc8f7b Add a 'Restore Purchase' button
Instead of doing it automatically,

Fixes #211
2020-08-12 19:05:58 +02:00
35985fb8d2 PurchaseScreen: Simplify it and show feature list
Instead of showing a list of features which is incomplete we now show
just allow them to see the feature list. This however, doesn't show
up-coming features.
2020-08-12 18:49:46 +02:00
a670891281 PurchaseScreen: Add an AppBar
I was trying to make the PurchaseScreen prettier, but this doesn't work
with large fonts, for now I'm just going to go with a standard material
design *shrug*
2020-08-12 18:06:44 +02:00
04bd9e053e Add Zen Mode in pro features page 2020-07-27 09:52:29 +02:00
9ca00480c7 PurchaseScreen: Make the back button more clickable 2020-07-26 12:36:58 +02:00
c24cca6395 PurchaseWidget: Use the correct scaffold 2020-07-14 20:59:50 +02:00
51d79fdbf2 PurchaseScreen: Fix scrolling
Putting a column inside a SingleChildScrollView is way way too complex.
There are lots of different solutions, and not all seem to work for me.

Also adjust the loading screen.
2020-07-09 13:21:23 +02:00
4109563293 Move PurchaseWidget to its own file 2020-07-09 12:25:30 +02:00
e5d4965844 PurchaseScreen: Move to purchasing code to its own widget
All of this is way too complicated
2020-07-09 12:21:20 +02:00
bb8cb5e442 IAP: Always check
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.
2020-07-05 20:38:06 +02:00
a18bb9c037 Purchases: Remove debug logs from RevenueCat
They aren't useful any more
2020-06-12 10:58:11 +02:00
509cf7d0a0 Add Note Backlinks in Purchase screen text 2020-06-10 16:28:02 +02:00
d288ed7ea7 PurchaseScreen: On error when fetching Purchases - abort
Fixes APP-2T
2020-05-31 02:01:39 +02:00
0155e70557 PurchaseScreen: Add an ugly back button on ios 2020-05-21 10:42:33 +02:00
109b5f7d37 Update purchase screen with new pro features 2020-05-14 16:47:24 +02:00
b2d0cf44ab Stop using deprecated TextStyle properties 2020-05-08 10:55:00 +02:00
39d495a1a4 PurchaseScreen: Add a fake offering so we can work with this in dev 2020-05-01 12:17:25 +02:00
f67300cce7 PurchaseScreen: Only show monthly offerings 2020-04-22 23:31:19 +02:00
45a57da88a Only check if subscription is valid if it has expired
This way we avoid extra network access.
2020-04-22 23:30:50 +02:00
74df0f2bbc PurchaseScreen: Allow the user to select the price
We show a range of available prices. I'm hoping people will pay
according to how much they can afford.
2020-04-22 23:12:24 +02:00
98b8e92437 PurchaseScreen: Show error as snackbar
We seem to be getting a PlatformException while listing the offerings.
2020-04-17 09:37:22 +02:00
1d4fd16cc7 PurchaseScreen: Add another advantage 2020-04-16 13:32:04 +02:00
0be484f9b3 PurchaseScreen: Log purchases 2020-04-16 13:31:43 +02:00
7b03e88847 Add another advantage to the purchase section 2020-04-15 09:05:06 +02:00
f79fc52a89 PurchaseScreen: Allow it to be scrolled
Maybe for really small screens?
2020-04-14 16:31:17 +02:00
e117c19add PurchaseScreen: Change status bar color
It looks strange when it's just white.
2020-04-14 16:20:00 +02:00
7856748f5b Improve the purchase screen
It's still quite boring, but it's better than before.
2020-04-14 15:49:35 +02:00
fa63c98d6d Add a basic Purchase Thank you screen 2020-04-14 15:35:37 +02:00
22b32d9fc3 PurchaseScreen: Make it kinda work in the dev flavour
At least it appears and we don't get an error. This makes working on the
screen easier as I like to use the 'prod' flavour for my own notes /
journals.
2020-04-14 15:25:29 +02:00
d724dfb8ad Implement basic IAP support for Android
It's very ugly, but it works.
2020-04-10 12:58:21 +02:00
49f4e334dc Add a very basic purchase screen
Along with a 'Go Pro' option in the sidebar. This is extremely ugly and
is therefore disabled by default right now.
2020-04-06 19:26:09 +02:00