515 Commits

Author SHA1 Message Date
ad3db26a5b Fix Android logging
This had broken everything!!!
2019-07-31 00:42:00 +02:00
2606dd1a05 DrawerHeader: Use highlight color for header background
It's nearly the same color in a light theme, but in a dark theme it
looks way better.
2019-07-29 00:46:29 +02:00
c4d9837a05 Bump FirebaseAnalytics
It has a breaking change which doesn't affect us
2019-07-28 12:57:42 +02:00
183b0eaac7 Android: Build for arm 64 and 32 2019-07-28 12:57:03 +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
0bfa839b88 Fix GitRepo.clone parameters
This is why it sucks to have 2 fields both of the same type and not have
some kind of automated testing for this part of the code.
2019-07-28 03:01:16 +02:00
e80a380a5f Android: Improve logging 2019-07-28 03:01:06 +02:00
a59b35efec Flutter upgrade 2019-07-27 04:20:45 +02:00
311d520fd5 GitHostSetup: Log the errors in firebase 2019-07-26 16:58:32 +02:00
1d5ad3c67a Android: Do not call FlutterResult from any other thread
With Flutter 1.5 this is enforced and we get lots more crashes. It seems
like the docs have always said this was a bad idea, and I seem to have
missed it.
2019-07-23 18:30:54 +02:00
d05b052fe3 CI: Publish the android app bundle 2019-07-18 01:28:30 +02:00
2bfd05a532 Fix new flutter analyze problems
Flutter analyze seems to have gotten smarter
2019-07-18 01:13:39 +02:00
74d7bdd763 Use a proper logger - Fimber
It's time to start using a proper logger so we can control the number of
log messages, also - it helps to have a central configuration point for
the logs, specially since I would like to hook them up to Crashlytics in
the future.
2019-06-19 09:45:15 +02:00
3d26ba0beb OnBoarding: Dynamically change the text size
This way it looks a bit better on smaller devices
2019-06-17 20:23:49 +02:00
d653663a47 Change Git dart API
Use a class instead of a many functions. This way we avoid passing the
same arguments again and again.
2019-06-17 19:38:56 +02:00
b9cd8696c2 AppDrawer Feedback: Add the Platform
This way we know if the feedback comes from ios or Android
2019-06-17 17:39:09 +02:00
9131b004e9 Add ios store to README 2019-06-17 16:24:18 +02:00
406c32c2b4 flutter upgrade
The dots_indicator package seems to have changed their API without
bumping the major version number :(
2019-06-16 17:34:24 +02:00
89e868ffdc GitHostSetup: Abort on exception
Otherwise we land up accessing the 'cloneUrl' of a null object and get
another exception.
2019-06-16 04:24:05 +02:00
1892b727c5 ios: Lots of mini changes to get the build validated
* Set target to be 9.0 - libgit2 has been compiled with the target of
9.0, so for now lets support that. Later we can figure out how to target
8.0, if required.

* Set the BUILD_NUMBER and BUILD_VERSION correctly. In new flutter
projects these values are automatically set, but since I created this
project before those patches went it, we need to set it up.

* Do not target only arm64.

* Set the correct CFBundleName. It was set to 'journal' instead of
'GitJournal'.
2019-06-14 18:17:11 +02:00
df0d0ed169 ios: Check if running on a physcial device
Accordingly we switch off analytics.
2019-06-14 17:50:08 +02:00
89f7c10ba9 Analytics: Send events when the notes are loaded
I want to know why they failed to load.
2019-06-14 17:26:51 +02:00
8059efcc4e Fix gitClone exception problem
e.message doesn't exist
2019-06-08 17:39:17 +02:00
9cf0b9ad48 ios: Fix setSshKeys
Forgot to write the private key to disk
2019-06-04 15:22:24 +02:00
c4e5cbc3ad Update ios icon 2019-06-04 13:31:48 +02:00
7403721753 ios: Make oAuth callback urls work
I'm getting some exceptions in the middle, but it still seems to work.
2019-06-04 02:02:41 +02:00
1389fba579 ios: Move blocking operations to another thread 2019-06-03 18:59:32 +02:00
3e563c3d0e Fix typo 2019-06-03 18:16:04 +02:00
747bccc994 ios: Do not throw an error if the directory already exists 2019-06-03 10:16:02 +02:00
603b639640 ios: setSshKeys: Create the directory 2019-06-03 10:14:04 +02:00
b56aad7a48 ios: Do not log the private key 2019-06-03 10:13:45 +02:00
6c4c0a9a0d ios: Commit xcsharedsharedata
It should apparently be committed.

https://stackoverflow.com/a/53039267/147435
2019-06-03 00:25:29 +02:00
24a5f9b78d Let shouldEnableAnalytics not be implemented
It's currently not implemented in ios
2019-06-03 00:18:08 +02:00
fb2cbbf3ce Decrease app boot time
We don't need to wait for all the futures, and some can be re-used.
2019-06-02 17:29:50 +02:00
e389829e2c Fix flutter analyze
Proper type checking is awesome.
2019-06-02 17:20:40 +02:00
f3b73df119 Disable analytics in firebase test lab
I'm also keeping analytics disabled by default.
2019-06-02 17:12:22 +02:00
2bfd6ea199 setState may not be async 2019-06-02 15:58:57 +02:00
c79249cbe1 Dart: Give all functions explicit types
It makes the code easier to understand and this way the static type
checker will catch bugs for us.
2019-06-02 15:51:43 +02:00
bde0097068 Bump version 2019-06-02 15:29:17 +02:00
8b8bcc70a3 Android Bridge: Never send a response twice
Sometimes after responding with an error we would not stop, and also
return with a sucess after.
2019-06-02 15:27:16 +02:00
b5f5fdcd67 Log uncaught exceptions
They are already being sent to Crashalytics, but I would still like to
log them in the debug log. It makes debugging everything much easier.
2019-06-02 15:17:55 +02:00
8839540a5f GitHostSetupScreen: Allow copying of the SSH Key
Also use functions with a specific type so the static type checker in
Dart can help us catch such errors in the future.
2019-06-02 15:16:04 +02:00
840ac30116 ios: Print the arguments in a prettier manner 2019-05-30 18:28:39 +02:00
0ad3040943 ios: First implementation of the entire bridge
Implemented almost all the functions required by GitJournal on the ios
side. This mostly works. It needs lots and lots of testing, though.
2019-05-30 18:08:39 +02:00
dbfe0bce5c ios: Auto fix project warnings 2019-05-30 14:08:05 +02:00
b65ef34287 ios: Auto fix warnings for target 2019-05-30 14:06:28 +02:00
c513ef357c ios: Make 'git init' actually work
Earlier it had a fake implementation, but now we're actually calling
'git init' from libgit2.
2019-05-30 13:58:55 +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
aa99f0bada ios: Add a simple test to check if libgit2 is working 2019-05-30 13:10:21 +02:00
0fc956ebdb Rename install_ndk_libs -> download_ndk_libs
It's more descriptive
2019-05-30 12:24:30 +02:00