184 Commits

Author SHA1 Message Date
d136a4bd2d gradle: Add comment for future me 2022-02-23 14:02:05 +01:00
7c4e9de224 Enable the background_fetch plugin
This is just to see if Google accepts a build with the background_fetch
plugin enabled. Last time, the builds were being automatically rejected.
2022-01-22 14:55:11 +01:00
1201969d4c Bump minor version
Also export the git setup activity
2022-01-19 20:11:43 +01:00
236270dbc6 Revert "Sync the gradle version"
This reverts commit 0bec36d20b570f375a26c399e824c2f90c10261e.

Breaks the CI
2022-01-19 18:35:11 +01:00
0bec36d20b Sync the gradle version
Removes annoying warnings
2022-01-19 17:49:11 +01:00
918159875a Android: exported needs to be true 2022-01-18 11:17:05 +01:00
819a2d9612 Revert "Android: Mark android:exported as per Android 12 guidelines"
This reverts commit 1e6c8544c176775c05317a80bbcc03921896ff61.
2022-01-18 11:15:20 +01:00
1e6c8544c1 Android: Mark android:exported as per Android 12 guidelines
I cannot upload a new APK if I don't do this.
2022-01-18 10:24:51 +01:00
f92df02d92 Fix Android build 2022-01-17 15:20:45 +01:00
1ac9ee63a5 Update permission_handler
With the latest version + manageExternalStorage, external storage works.
I'm not committing the manage external storage option as I don't want
GitJournal to again be flagged.
2021-12-28 18:00:35 +01:00
5d2c1a345d Add missing SentTo
Stupid breaking change
2021-12-22 21:36:44 +01:00
4df4a03ecb Fix release build 2021-12-10 09:49:37 +01:00
c12f1180e5 Bump gradle
And use newer build.gradle stuff from a newer flutter created project
2021-12-08 19:34:04 +01:00
e87c3f1380 Revert "Android: Remove all storage permissions"
This reverts commit 1cef87e04878c4a5231e07d7e8b97d3d8a154d4b.

The build is still being rejected!
2021-12-06 17:46:32 +01:00
1cef87e048 Android: Remove all storage permissions
Hopefully this will un-block Google Play's automatic rejections of all
updates.
2021-11-24 09:13:50 +01:00
28eb25f5de Fix android build 2021-11-07 23:41:34 +01:00
235e20a941 Comment out background_fetch experiment
Google no longer seems to allow me to update GitJournal with the
GET_TASKS permission which is required by background_fetch.

https://github.com/transistorsoft/react-native-background-fetch/issues/182
2021-11-07 22:20:15 +01:00
6ea8af5a0a Merge remote-tracking branch 'origin/master' 2021-11-04 15:01:50 +01:00
f60b50ca3b Remove deprecated Android splash screen info
Flutter automatically detects this from v2.5

https://flutter.dev/docs/development/ui/advanced/splash-screen#migrating-from-manifest--activity-defined-custom-splash-screens
2021-10-26 17:49:56 +02:00
abcb599417 Revert "android: Use MANAGE_EXTERNAL_STORAGE permission"
This reverts commit e56f02f779e3000fa5b78dbd383142b4ff45d7f6.

I'm very confused about if I really need MANAGE_EXTERNAL_STORAGE
permission or not. I don't have access to an actual Android 11 device,
and with the emulator things seem to work.
2021-10-24 14:36:27 +02:00
5db8cf4add Experiment with backgroundFetch for android
This sadly requires the minSdkVersion to be bumped to 30.
2021-10-15 11:57:55 +02:00
e56f02f779 android: Use MANAGE_EXTERNAL_STORAGE permission
This is required for Android 11.
2021-10-12 13:36:23 +02:00
b46ccd5c43 Revert "gradle: Disable daemon"
This reverts commit be534f525e38467d01a4c276e6dfbc8660edf7ad.
2021-10-12 11:55:46 +02:00
be534f525e gradle: Disable daemon
Hopefully it will consume less memory
2021-10-12 03:48:59 +02:00
bcf6dcc8fd gradle: Increase memory size and use parallel gc
Hopefully this will fix the CI
2021-10-12 03:31:50 +02:00
1902955951 Fix all reuse license problems!!
Fixes #435
2021-09-17 10:31:35 +02:00
a175ca17dc Fix api key path again 2021-09-16 18:26:41 +02:00
eaaa3277da android: Fix google-play-api-key path 2021-09-16 17:14:45 +02:00
9a844506c4 Move android secrets to a secrets folder
This way they are all in one directory, and that entire directory can be
ignored by reuse
2021-09-16 16:51:56 +02:00
f1585713a9 strings.xml: Remove ruse header
Makes the build fail. What shit.
2021-09-16 16:17:32 +02:00
807c048c89 reuse++ 2021-09-16 15:33:08 +02:00
fb8059b1fc Supabase: Fix register 2021-09-14 10:21:13 +02:00
d6f8eae5da android: Fix gradle version 2021-09-14 08:49:26 +02:00
ef9380d761 [ImgBot] Optimize images (#535)
*Total -- 490.34kb -> 318.47kb (35.05%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2021-09-08 15:09:24 +02:00
56f27ff717 Android CI: Fix google-play-api-key path 2021-08-26 21:36:35 +02:00
aa257464d2 Supabase: Experiment with register 2021-08-26 12:34:32 +02:00
f631b99aa5 Experiment: Start integrating supabase 2021-08-16 12:44:49 +02:00
d6efaa35c4 Add Google Play API Key
It's encrypted
2021-07-02 16:28:53 +02:00
326568ac74 android: Remove google services
No longer requires as we aren't using Firebase
2021-06-10 22:08:47 +02:00
a51253d6f3 Remove remaining traces of firebase
It's so nice to finally get rid of this shit.
2021-06-07 14:05:14 +02:00
17dd93451f Remove firebase analytics
Sadly, even when firebase analytics is disabled, it still sends some
data to Google's servers and there seems to be no way to disable it.
GitJournal gives its users an option to disable all analytics, which
clearly can't be implemented as long as we use Firebase.

Therefore there are 2 options -
1. Remove the option of disabling all analytics
2. Remove firebase analytics.

I'm choosing option (2), as it seems wrong to remove the option to
disable analytics, as I know a number of users who have disabled
analytics.

Currently I'm mostly using analytics to measure how well the marketting
is doing, and to see which settings are being used. Disabling the
analytics would make this much much harder, but I guess it's a greater
push for me to find an alternative / create one.

Fixes #506
Related to #105
2021-06-07 12:21:41 +02:00
bd88b8e394 Disable ssaid collection
Not sure why I never disabled this before. Maybe it's new.
2021-06-06 10:04:06 +02:00
b88780143a With different gradle version comes a different path
Of course. Because we must change the path so everyones build fails.
2021-03-12 16:32:03 +01:00
3a7f5d7e8d instructions + gradle version 2021-03-12 15:04:23 +01:00
973945c677 #428 fixing the permissions 2021-03-05 11:13:42 +01:00
fe772c43be Relicense android manifest to Apache2
There is a code contribution which I want to merge.
2021-03-05 11:10:35 +01:00
7b2db20788 Better keystoreProperty handling:
Sets keystoreProperties to `local` if `keyAlias` is missing
=> no need to remove encrypted `key.properties` file
2021-01-09 22:29:10 +01:00
6398d121d9 Android: Apps must now target sdk version 29 or higher
https://developer.android.com/distribute/best-practices/develop/target-sdk
2020-11-09 18:57:41 +01:00
3b165a9e7e Add other android keys
Now that I'm sure git crypt is working.
2020-11-09 13:41:39 +01:00
98dc2be7e0 Add google-api-key encrypted via git-crypt 2020-11-09 13:40:10 +01:00