diff --git a/android/src/main/java/ai.flow.android/AndroidLauncher.java b/android/src/main/java/ai.flow.android/AndroidLauncher.java index 2926186f..aa0585a3 100644 --- a/android/src/main/java/ai.flow.android/AndroidLauncher.java +++ b/android/src/main/java/ai.flow.android/AndroidLauncher.java @@ -132,8 +132,6 @@ protected void onCreate(Bundle savedInstanceState) { ACRAreporter.putCustomData("GitBranch", params.getString("GitBranch")); ACRAreporter.putCustomData("GitRemote", params.getString("GitRemote")); - // check version mismatch between android app and github repo project. - initialize(new FlowUI(launcher, pid), configuration); } @@ -172,8 +170,9 @@ private void initACRA(Context base) { } private Boolean checkVersionMisMatch() { + // check version mismatch between android app and github repo project. if (!params.getString("Version").equals(ai.flow.app.BuildConfig.VERSION_NAME)) { - Toast.makeText(appContext, "WARNING: App version mismatch detected. Make sure you are using latest versions for app and termux.", Toast.LENGTH_LONG).show(); + Toast.makeText(appContext, "WARNING: App version mismatch detected. Make sure you are using compatible versions of apk and github repo.", Toast.LENGTH_LONG).show(); return true; } return false;