mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-28 01:45:55 +08:00
Handle new git_bindings
In ios we use ssh in memory. On Android it just doesn't seem to work.
This commit is contained in:
@ -235,7 +235,7 @@ bool handleError(FlutterResult result, int err) {
|
||||
return;
|
||||
}
|
||||
|
||||
int err = gj_git_fetch([folderPath UTF8String], [remote UTF8String], [publicKey UTF8String], [privateKey UTF8String], [password UTF8String]);
|
||||
int err = gj_git_fetch([folderPath UTF8String], [remote UTF8String], [publicKey UTF8String], [privateKey UTF8String], [password UTF8String], true);
|
||||
if (!handleError(result, err)) {
|
||||
result(@YES);
|
||||
return;
|
||||
@ -308,7 +308,7 @@ bool handleError(FlutterResult result, int err) {
|
||||
return;
|
||||
}
|
||||
|
||||
int err = gj_git_push([folderPath UTF8String], [remote UTF8String], [publicKey UTF8String], [privateKey UTF8String], [password UTF8String]);
|
||||
int err = gj_git_push([folderPath UTF8String], [remote UTF8String], [publicKey UTF8String], [privateKey UTF8String], [password UTF8String], true);
|
||||
if (!handleError(result, err)) {
|
||||
result(@YES);
|
||||
return;
|
||||
|
@ -437,7 +437,7 @@ packages:
|
||||
description:
|
||||
path: "."
|
||||
ref: HEAD
|
||||
resolved-ref: e7e957acdaff208744b5b1fff9a611cbfbd1de34
|
||||
resolved-ref: "2598c4cf21c4e23639b7eb5f3e1dd66cfd8eccd9"
|
||||
url: "https://github.com/GitJournal/git_bindings.git"
|
||||
source: git
|
||||
version: "0.0.18"
|
||||
|
Reference in New Issue
Block a user