A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
enable debugging in debug mode only
ammarahm-ed7a8d224f928a
diff --git a/apps/mobile/android/app/src/main/java/com/streetwriters/notesnook/MainActivity.java b/apps/mobile/android/app/src/main/java/com/streetwriters/notesnook/MainActivity.javaindex 424e7828f..c445de016 100644--- a/apps/mobile/android/app/src/main/java/com/streetwriters/notesnook/MainActivity.java+++ b/apps/mobile/android/app/src/main/java/com/streetwriters/notesnook/MainActivity.java@@ -16,8 +16,8 @@ public class MainActivity extends ReactActivity {SplashScreen.show(this);super.onCreate(null);- if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {- //WebView.setWebContentsDebuggingEnabled(true);+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT && BuildConfig.DEBUG) {+ WebView.setWebContentsDebuggingEnabled(true);}try {