mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-29 02:07:39 +08:00
Rename to io.gitjournal.gitjournal
We now own the domain gitjournal.io
This commit is contained in:
@ -23,7 +23,7 @@ android {
|
|||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
|
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
|
||||||
applicationId "com.example.journal"
|
applicationId "io.gitjournal.gitjournal"
|
||||||
minSdkVersion 16
|
minSdkVersion 16
|
||||||
targetSdkVersion 27
|
targetSdkVersion 27
|
||||||
versionCode 1
|
versionCode 1
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="com.example.journal">
|
package="io.gitjournal.gitjournal">
|
||||||
|
|
||||||
<!-- The INTERNET permission is required for development. Specifically,
|
<!-- The INTERNET permission is required for development. Specifically,
|
||||||
flutter needs it to communicate with the running application
|
flutter needs it to communicate with the running application
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package com.example.journal;
|
package io.gitjournal.gitjournal;
|
||||||
|
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
|
|
||||||
@ -35,7 +35,6 @@ public class CustomSshSessionFactory extends JschConfigSessionFactory {
|
|||||||
name.put(new Integer(FATAL), "FATAL: ");
|
name.put(new Integer(FATAL), "FATAL: ");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public boolean isEnabled(int level) {
|
public boolean isEnabled(int level) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package com.example.journal;
|
package io.gitjournal.gitjournal;
|
||||||
|
|
||||||
import android.os.AsyncTask;
|
import android.os.AsyncTask;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package com.example.journal;
|
package io.gitjournal.gitjournal;
|
||||||
|
|
||||||
import android.os.AsyncTask;
|
import android.os.AsyncTask;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package com.example.journal;
|
package io.gitjournal.gitjournal;
|
||||||
|
|
||||||
import android.os.AsyncTask;
|
import android.os.AsyncTask;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
@ -35,9 +35,7 @@ public class GitCloneTask extends AsyncTask<String, Void, Void> {
|
|||||||
Log.d("GitClone Directory", cloneDirPath);
|
Log.d("GitClone Directory", cloneDirPath);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
CloneCommand cloneCommand = Git.cloneRepository()
|
CloneCommand cloneCommand = Git.cloneRepository().setURI(url).setDirectory(cloneDir)
|
||||||
.setURI(url)
|
|
||||||
.setDirectory(cloneDir)
|
|
||||||
.setProgressMonitor(new TextProgressMonitor(new PrintWriter(System.out)));
|
.setProgressMonitor(new TextProgressMonitor(new PrintWriter(System.out)));
|
||||||
|
|
||||||
cloneCommand.setTransportConfigCallback(new TransportConfigCallback() {
|
cloneCommand.setTransportConfigCallback(new TransportConfigCallback() {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package com.example.journal;
|
package io.gitjournal.gitjournal;
|
||||||
|
|
||||||
import android.os.AsyncTask;
|
import android.os.AsyncTask;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package com.example.journal;
|
package io.gitjournal.gitjournal;
|
||||||
|
|
||||||
import android.os.AsyncTask;
|
import android.os.AsyncTask;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package com.example.journal;
|
package io.gitjournal.gitjournal;
|
||||||
|
|
||||||
import android.os.AsyncTask;
|
import android.os.AsyncTask;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package com.example.journal;
|
package io.gitjournal.gitjournal;
|
||||||
|
|
||||||
import android.os.AsyncTask;
|
import android.os.AsyncTask;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package com.example.journal;
|
package io.gitjournal.gitjournal;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
|
|
||||||
@ -14,13 +14,11 @@ import io.flutter.plugin.common.MethodChannel;
|
|||||||
import io.flutter.plugin.common.MethodChannel.MethodCallHandler;
|
import io.flutter.plugin.common.MethodChannel.MethodCallHandler;
|
||||||
import io.flutter.plugin.common.MethodChannel.Result;
|
import io.flutter.plugin.common.MethodChannel.Result;
|
||||||
|
|
||||||
|
|
||||||
// For EventChannel
|
// For EventChannel
|
||||||
import io.flutter.plugin.common.EventChannel;
|
import io.flutter.plugin.common.EventChannel;
|
||||||
|
|
||||||
import io.flutter.util.PathUtils;
|
import io.flutter.util.PathUtils;
|
||||||
|
|
||||||
|
|
||||||
public class MainActivity extends FlutterActivity {
|
public class MainActivity extends FlutterActivity {
|
||||||
private static final String CHANNEL = "gitjournal.io/git";
|
private static final String CHANNEL = "gitjournal.io/git";
|
||||||
private static final String STREAM_CLONE_CHANNEL = "gitjournal.io/gitClone";
|
private static final String STREAM_CLONE_CHANNEL = "gitjournal.io/gitClone";
|
||||||
|
@ -383,7 +383,7 @@
|
|||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"$(PROJECT_DIR)/Flutter",
|
"$(PROJECT_DIR)/Flutter",
|
||||||
);
|
);
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = com.example.journal;
|
PRODUCT_BUNDLE_IDENTIFIER = io.gitjournal.gitjournal;
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
VERSIONING_SYSTEM = "apple-generic";
|
VERSIONING_SYSTEM = "apple-generic";
|
||||||
};
|
};
|
||||||
@ -407,7 +407,7 @@
|
|||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"$(PROJECT_DIR)/Flutter",
|
"$(PROJECT_DIR)/Flutter",
|
||||||
);
|
);
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = com.example.journal;
|
PRODUCT_BUNDLE_IDENTIFIER = io.gitjournal.gitjournal;
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
VERSIONING_SYSTEM = "apple-generic";
|
VERSIONING_SYSTEM = "apple-generic";
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user