diff --git a/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/SCNApp.java b/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/SCNApp.java index 24a77c1..4a357bf 100644 --- a/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/SCNApp.java +++ b/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/SCNApp.java @@ -21,8 +21,9 @@ public class SCNApp extends Application implements LifecycleObserver private static SCNApp instance; private static WeakReference mainActivity; - public static final boolean DEBUG = BuildConfig.DEBUG || !BuildConfig.VERSION_NAME.endsWith(".0"); - public static final boolean RELEASE = !DEBUG; + public static final boolean LOCAL_DEBUG = BuildConfig.DEBUG; + public static final boolean DEBUG = BuildConfig.DEBUG || !BuildConfig.VERSION_NAME.endsWith(".0"); + public static final boolean RELEASE = !DEBUG; private static boolean isBackground = true; diff --git a/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/model/ServerCommunication.java b/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/model/ServerCommunication.java index 1691f4e..7b22612 100644 --- a/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/model/ServerCommunication.java +++ b/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/model/ServerCommunication.java @@ -19,7 +19,7 @@ import okhttp3.ResponseBody; public class ServerCommunication { - public static final String BASE_URL = "https://scn.blackforestbytes.com/"; + public static final String BASE_URL = SCNApp.LOCAL_DEBUG ? "localhost:1010/" : "https://scn.blackforestbytes.com/"; private static final OkHttpClient client = new OkHttpClient(); diff --git a/android/app/src/main/res/drawable/icon.png b/android/app/src/main/res/drawable/icon.png index 2eff47e..c15b6c5 100644 Binary files a/android/app/src/main/res/drawable/icon.png and b/android/app/src/main/res/drawable/icon.png differ diff --git a/data/graphic.png b/data/graphic.png deleted file mode 100644 index a36c99e..0000000 Binary files a/data/graphic.png and /dev/null differ