From d6b1641854ac2085854e68f86016b1b07519052a Mon Sep 17 00:00:00 2001 From: vanitasvitae Date: Sat, 6 Aug 2016 22:53:20 +0200 Subject: [PATCH 1/3] Increase min-api to 17 --- app/build.gradle | 2 +- .../com/github/dfa/diaspora_android/activity/MainActivity.java | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 507bf6aa..ec74781c 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -8,7 +8,7 @@ android { defaultConfig { applicationId "com.github.dfa.diaspora_android" - minSdkVersion 15 + minSdkVersion 17 targetSdkVersion 24 versionCode 5 versionName "0.1.4" diff --git a/app/src/main/java/com/github/dfa/diaspora_android/activity/MainActivity.java b/app/src/main/java/com/github/dfa/diaspora_android/activity/MainActivity.java index a2b61027..cce1ca6b 100644 --- a/app/src/main/java/com/github/dfa/diaspora_android/activity/MainActivity.java +++ b/app/src/main/java/com/github/dfa/diaspora_android/activity/MainActivity.java @@ -261,7 +261,6 @@ public class MainActivity extends AppCompatActivity private void setupWebView(Bundle savedInstanceState) { webSettings = webView.getSettings(); - //TODO: Dangerous on API < 17. Can we do anything about this? webSettings.setJavaScriptEnabled(true); webSettings.setUseWideViewPort(true); webSettings.setLoadWithOverviewMode(true); @@ -284,7 +283,6 @@ public class MainActivity extends AppCompatActivity webView.setOverScrollMode(WebView.OVER_SCROLL_ALWAYS); // Setup WebView - //TODO: Dangerous on API < 17. Can we do anything about this? webView.addJavascriptInterface(new JavaScriptInterface(), "AndroidBridge"); //Set proxy From 5a1dfaab6f76e2f94bd462e50a2a4f71e24745b8 Mon Sep 17 00:00:00 2001 From: vanitasvitae Date: Sat, 6 Aug 2016 23:17:49 +0200 Subject: [PATCH 2/3] Updated Readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 679d53ef..faffad21 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ Why a WebApp is better than using the mobile site on a browser? Basically it provides better integration with the system (events coming into and going out of the app), notifications, customized interface and functions and a nice little icon that takes you directly to your favorite social network :) ### Device Requirements -The minimum version supported is Ice Cream Sandwich, Android v4.0.3 / API 15 +The minimum version supported is Ice Cream Sandwich, Android v4.2.0 / API 17 ### App Permissions It requires access to the Internet and to external storage to be able to upload photos when creating a new post and for taking screenshots. From 769459a8c17800f56e3b624f3b1fefcbbc60a72b Mon Sep 17 00:00:00 2001 From: vanitasvitae Date: Sat, 6 Aug 2016 23:18:19 +0200 Subject: [PATCH 3/3] Updated Readme again --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index faffad21..0cb92f0e 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ Why a WebApp is better than using the mobile site on a browser? Basically it provides better integration with the system (events coming into and going out of the app), notifications, customized interface and functions and a nice little icon that takes you directly to your favorite social network :) ### Device Requirements -The minimum version supported is Ice Cream Sandwich, Android v4.2.0 / API 17 +The minimum version supported is Jelly Bean, Android v4.2.0 / API 17 ### App Permissions It requires access to the Internet and to external storage to be able to upload photos when creating a new post and for taking screenshots.