Browse Source

fix(android sdk 28): build issue (#1469)

Co-authored-by: Rinku Kumari <rinku@ideaboard.xyz>
Rinku Kumari 4 years ago
parent
commit
5f823bb77b
No account linked to committer's email address

+ 1
- 1
android/src/main/java/com/reactnativecommunity/webview/RNCWebViewModule.java View File

@@ -273,7 +273,7 @@ public class RNCWebViewModule extends ReactContextBaseJavaModule implements Acti
273 273
 
274 274
   public boolean grantFileDownloaderPermissions() {
275 275
     // Permission not required for Android Q and above
276
-    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) {
276
+    if (Build.VERSION.SDK_INT > Build.VERSION_CODES.P) {
277 277
       return true;
278 278
     }
279 279