66 Commits

Author SHA1 Message Date
6d101ad5c4 Remove flutter crashlytics
Sentry is being used instead, and it's working out quite well.
2020-07-26 19:05:52 +02:00
b0acadec6b ios: Fastfile upload to test_flight
This is the only command I could get to work using an app specific
password.
2020-07-26 18:04:00 +02:00
7918676c7a ios: Commit empty swift file
Seems to be needed to get certain plugins to work which need some swift
code. Magic
2020-07-26 17:01:36 +02:00
aebbe016c7 ios AppFile: Use special email for CI 2020-07-26 14:03:31 +02:00
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
85e1ec0e1f ios: pod update 2020-07-14 22:19:06 +02:00
1d1a4c6432 ios: Update podfile 2020-07-04 19:52:02 +02:00
2651bff8bb Send Android/ios crash reports to Sentry
I'm not 100% sure this will work without the dart code, but I don't want
to replace my working implementation with flutter_sentry's
implementaiton which might not report all the errors.
2020-06-19 14:08:35 +02:00
2502f4a79d Update ios podfile 2020-06-10 14:50:18 +02:00
66a76a0767 Revert "Use flutter_web_auth instead of our own OAuth mechanism"
This reverts commit 763cbf8493c610dec0e7e344bee40ad331e7a272.
This reverts commit ddad699b259bafe6c7ed630e7afc2eb38b7825e6.

This is causing way too many problems -

On Android with GitHub we occasionally get a User Cancelled exception.
On iOS this doesn't work < ios11

I prefer keeping my way till then. Even though it doesn't support
KeepAlive on Android.
2020-06-10 11:53:43 +02:00
4591c73fb0 ios: Format Info.plist 2020-06-10 10:49:29 +02:00
0aa995e52a ios: Add CFBundleLocalizations for en 2020-06-10 10:49:15 +02:00
eb37ae592c Update ios deps 2020-06-09 17:43:28 +02:00
763cbf8493 Use flutter_web_auth instead of our own OAuth mechanism
This works slightly better on iOS and on Android it has a keep alive,
which will prevent our app from being killed. Additionally, this way
there is less for me to maintain, which is always nicer.

The API for flutter_web_auth is also much simpler.

This also inolves some custom logic for parsing the Query Parameters
from the GitLab callback, as it doesn't seem to be a proper URI. Not
sure what is going on with Gitlab.
2020-06-09 17:09:38 +02:00
fa9b3196f7 ios: Some weird code signing provisioning stuff 2020-06-06 13:56:56 +02:00
11241ce142 ios: Remove fetch_app_logs from Podfile 2020-06-03 13:51:19 +02:00
ef29186677 Remove getGitBaseDirectory function
Instead lets just use the path_provider. This was being used as for some
reason I wanted the files to reside inside the 'files' folder and not in
the 'app_flutter' directory.

However, that requires maintaining a fork of path_provider, which I no
longer want to do.
2020-05-31 09:29:15 +02:00
d210397b83 ios: Link to storekit for iap 2020-05-21 00:56:23 +02:00
ce201aa390 Add an experimental Katex rendering Widget
Related to #125

This still needs to be integrated into the Flutter Markdown renderer.
But the good news is that this works!

It currently requires network access to download the katex scripts. It
does NOT send the katex string to any server. The rendering is performed
in the app.
2020-05-19 18:36:16 +02:00
5133dfadf7 Update mysterious ios stuff
No clue.
2020-05-18 19:54:41 +02:00
be4dad579b ios: Add requied permissions to add images 2020-05-06 13:17:11 +02:00
096e9cb82c ios: Update Podfile.lock 2020-05-02 13:25:21 +02:00
0524ce665f Update .gitignore 2020-04-03 19:40:09 +02:00
5682e8abf9 ios: Flip ITSAppUsesNonExemptEncryption 2020-03-05 00:49:21 +01:00
dce95af166 ios: Mark that we use encryption
We use SSH - which includes RSA
2020-01-06 14:52:43 +01:00
f4dad1520c ios: Add untracked file
Not sure what it's needed for
2020-01-06 13:27:51 +01:00
470fd2c705 ios: Fix clone url 2020-01-06 13:19:19 +01:00
022677f886 Update ios 2020-01-06 13:02:15 +01:00
9e74f26616 Fix ios compile error 2019-12-22 15:24:05 +01:00
70877438eb Git: Take the folderPath instead of folderName
The Git Api was strange and took a foldeName and it would only allow you
to access git operations in a particular path. This has now been fixed,
and now it can operate in any path.

This was the first step to moving the git api into its own library.
2019-12-20 20:40:00 +01:00
17b13e9f00 ios: Handle expensive operations in a background thread
If we handle them in the main thread, then the UI blocks, especially
when generating a new SSH key.
2019-10-11 16:00:14 +02:00
edb1f88a0f ios Review: Allow it to work on ios9+
Also provide the app id so it works on any version!
2019-10-10 12:28:28 +02:00
5ba7713494 ios: Add fastlane gemfile 2019-10-09 00:28:50 +02:00
112122cfcf ios: Add first iteration of Fastlane 2019-10-05 02:37:27 +02:00
232a148ead ios: Update .gitignore 2019-10-04 05:10:18 +02:00
4267661fc1 ios: Update crashlytics
Also add it to the BuildPhase. Hopefully with this we will now get
proper crash reports.
2019-10-04 05:09:12 +02:00
9c1b24c5b4 gj_commit: Allow the commit time to be specified
For now this has not been hooked up to android or ios.
2019-10-02 16:13:24 +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
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
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
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