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
 
273
 
274
   public boolean grantFileDownloaderPermissions() {
274
   public boolean grantFileDownloaderPermissions() {
275
     // Permission not required for Android Q and above
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
       return true;
277
       return true;
278
     }
278
     }
279
 
279