32 Commits

Author SHA1 Message Date
28d53242d8 Move away from RevenueCat
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
2020-07-26 12:20:09 +02:00
e15c99f2aa Add a script to record the screen 2020-06-04 16:01:45 +02:00
42d6386096 Add basic txt file support
With this 'txt' files are now read and written. However, they don't have
any metadata so they don't show up correctly in the sort order and
currently the Markdown Editor is still available for them.

Related to #55
2020-06-02 00:15:18 +02:00
f2d37f2647 CI: Do not build the APK
Only build the AAB, since it's all we're uploading. Earlier the apk was
still useful as I was downloading it for manual testing, but now all
testing is done by downloading the release from the app store in a
Closed Testing List.
2020-06-01 23:30:31 +02:00
ed5e86cf83 Get Sentry DSN from env variable 2020-04-10 12:10:37 +02:00
b1683acbf3 Add a way to pass certain keys via env variables in the CI 2020-04-06 19:57:10 +02:00
ac7881ebeb Remove unused scripts 2020-01-29 17:09:01 +01:00
63170445d7 Move libgit2 code to git_bindings repo
We now have a much clearer separation between Git code and this app
specific code. This is awesome, it will allow other people to easily
integrate Git within their apps. Also, eventually it will be trivial to
switch to another implemention of Git (via JGit or a git client written
completely in Dart)

This breaks the iOS version as I haven't moved the code to build the ios
version. Maybe this will be a good excuse for me to setup a proper CI/CD
system for ios builds.

There is also a chance this breaks Crashalytics NDK symbols :(
2019-12-21 01:06:15 +01:00
fe6fb3db00 Crashlytics Symbols Upload: Another issue because of flavours
These flavours are really a pain in the ass. Maybe having a local diff
would I never commit would have just been easier.
2019-12-12 00:45:59 +01:00
2581b67ac5 crashlytics: Fix path to debug symbols
It has changed because of the flavoured build.
2019-12-12 00:23:10 +01:00
e5c3bb3fdb Add a 'dev' and 'prod' build flavour
Now whenever we run 'flutter run' or 'flutter build' we need to pass the
flavour flag. It seems there is no way to set a default flavour.

This is required as I want to be able to not have to reconfigure my
local GitJournal app (which I use for note-taking) vs the one I'm
developing where I might change many different settings for the basis of
testing.

Specially since I don't use Github/GitLab to store my notes, so the
setup process is a bit more involved.
2019-12-11 20:45:51 +01:00
29dcb4dbf9 Remove launch_android script
The `flutter emulator` command can be used instead.
2019-11-03 02:04:20 +01:00
36bd074d84 install_latest_artifact: Make it work again
We now have 2 artifacts the aab and apk
2019-10-04 04:18:24 +02:00
300acbd787 CI: Build the APK as well as the AAB
The APK is useful for debugging, as one cannot easily install the AAB
from the command line.
2019-10-02 07:14:18 +02:00
90a6df2239 CI: Store the AAB as an artifact
Instead of the apk which is no longer generated
2019-07-28 03:17:16 +02:00
d05b052fe3 CI: Publish the android app bundle 2019-07-18 01:28:30 +02:00
88499a45c2 Add a script to download the ios dependencies
We need libgit2 / libssh2 / openssl in order for our app.
2019-05-30 13:34:20 +02:00
0fc956ebdb Rename install_ndk_libs -> download_ndk_libs
It's more descriptive
2019-05-30 12:24:30 +02:00
4ade7bf18d Android: Try to setup crashlytics stack traces 2019-05-29 18:07:58 +02:00
003b628131 ci: build with --verbose 2019-05-27 10:58:58 +02:00
ee315a1904 install_latest_artifact script: Allow gitjournal to not be installed 2019-05-20 13:31:44 +02:00
2eed041bfd Scripts: Get the latest successful build
Completed includes failed builds
2019-05-19 14:37:54 +02:00
77d295077f CI: Download the NDK libs
Now I can finally push all these changes, as the CI should also run and
we're ready to try out the new version of the app which uses libgit2
instead of jgit. Hopefully no user will notice anything different.
2019-05-17 17:17:33 +02:00
a065cd3ec8 Improve flutter_run script
* Display a longer message when reloading - It's easier to see
* Make flutter_run start the reload script and kill it automatically.
This is always the behaviour I want when running an app via flutter run.
2019-05-02 00:19:45 +02:00
7dc6433538 Add a helper script to choose the device and run flutter on it
It makes the entire process so much easier when you have multiple adb
devices.
2019-02-16 11:33:18 +01:00
892a575227 Add a script to add the status bar to the screenshots
The ones generated by the flutter driver do not have status bars
2019-02-16 10:19:28 +01:00
0a6d6f63ee launch_android: Assume that emulator is in the path 2019-02-13 20:42:04 +01:00
cee81d7c4a Add a helper script to get the latest artifact from CircleCI 2019-02-13 14:19:48 +01:00
9e0e9a336d Integration Test: Minor refactor 2019-02-13 13:43:31 +01:00
eb1f35fd65 Add a script to run the integration test against emulated devices
This way, at least we know that the 'git clone' operation works on
different API versions.
2019-02-13 13:19:17 +01:00
8be06b5211 CircleCI: Move building to a separate step
I rather not couple the building of the APK to Fastlane.
2019-02-12 19:00:44 +01:00
edc83c3048 Move scripts to their own folder 2019-01-24 15:29:07 +01:00