42 Commits

Author SHA1 Message Date
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
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
aa99f0bada ios: Add a simple test to check if libgit2 is working 2019-05-30 13:10:21 +02:00
13cfacfb2b ios: Update .gitignore
Like in Android, We're storing all the extra libraries required in a
libs folder.
2019-05-27 23:02:13 +02:00
169b335083 ios: Use libssl in a simple test
This requires the libraries to be built into a framework using lipo.
Since none of this part is in the CI, it currently doesn't matter.
2019-05-27 17:12:57 +02:00
041108fd96 ios: Add my development team
I would have preferred not committing this into the repo, but it's
annoying that building occasionally fails without it.
2019-05-21 16:37:37 +02:00
e543e976ea ios: Enable flutter_email_sender
It needed the SWIFT_VERSION variable to be set, and for it to be set to
a version that exists on my system. I'm pasting the error over here so
maybe I google search will help a lost soul in the future -

`flutter_email_sender` does not specify a Swift version and none of the targets (`Runner`) integrating it have the `SWIFT_VERSION` attribute set. Please contact the author or set the `SWIFT_VERSION` attribute in at least one of the targets that integrate this pod.

https://github.com/sidlatau/flutter_email_sender/issues/8
2019-05-20 20:44:30 +02:00
b07df91aa0 ios: Allow the app to be run
* Implemented a fake gitInit which just created the folder for now
* AndroidDeviceInfo doesn't exist on ios
2019-05-20 20:32:26 +02:00
be4e6f32eb ios update
The Podfile and lockfile have all changed since the dependnecies have
changed so much (because of the AndroidX update). I've had to comment
out the flutter_email_sender for now, since I just cannot seem to get
it to work, in fact, even the current build is a hit and miss.
2019-05-20 20:10:50 +02:00
cb9cc3b1a7 ios: Implement getBaseDirectory in the platform-channel
This is one of the many platform-channels that needs to be implemented
for ios. We may as well get started.
2019-05-17 17:54:46 +02:00
a775c31b5f ios: Give the app a proper name 2019-05-17 17:21:25 +02:00
058831a38e ios: Use the proper icon 2019-05-17 17:20:27 +02:00
a11254eab4 ios: Just flutter run
It just seems to make a lot of changes. No idea about half of these. The
ios world is strange and foreign. I have hooked it up to Firebase
Analytics, though.

Also build on all architectures instead of just 64-bit.
2019-05-17 16:24:37 +02:00
a1cf29e4a5 Add version number
New versions of flutter allow us to specify the version number in the
pubspec.yaml file.
2019-01-14 16:20:14 +01:00
e91c82fd66 Rename to io.gitjournal.gitjournal
We now own the domain gitjournal.io
2019-01-08 19:22:35 +01:00
0ae2dccda5 Add ios autogenerated files
I have no idea what these are for
2019-01-07 11:05:43 +01:00
72712bd4de Initial import from 'flutter create' 2018-05-12 18:45:42 +02:00