Ver código fonte

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

Co-authored-by: Rinku Kumari <rinku@ideaboard.xyz>
Rinku Kumari 4 anos atrás
pai
commit
5f823bb77b
Nenhuma conta vinculada ao e-mail do autor do commit

+ 1
- 1
android/src/main/java/com/reactnativecommunity/webview/RNCWebViewModule.java Ver arquivo

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