瀏覽代碼

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

Co-authored-by: Rinku Kumari <rinku@ideaboard.xyz>
Rinku Kumari 4 年之前
父節點
當前提交
5f823bb77b
No account linked to committer's email address
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      android/src/main/java/com/reactnativecommunity/webview/RNCWebViewModule.java

+ 1
- 1
android/src/main/java/com/reactnativecommunity/webview/RNCWebViewModule.java 查看文件

@@ -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