mirror of
https://github.com/status-im/react-native-webview.git
synced 2026-08-31 03:31:05 +00:00
fix(android sdk 28): build issue (#1469)
Co-authored-by: Rinku Kumari <rinku@ideaboard.xyz>
This commit is contained in:
co-authored by
Rinku Kumari
parent
b0ac0c15be
commit
5f823bb77b
@@ -273,7 +273,7 @@ public class RNCWebViewModule extends ReactContextBaseJavaModule implements Acti
|
|||||||
|
|
||||||
public boolean grantFileDownloaderPermissions() {
|
public boolean grantFileDownloaderPermissions() {
|
||||||
// Permission not required for Android Q and above
|
// Permission not required for Android Q and above
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) {
|
if (Build.VERSION.SDK_INT > Build.VERSION_CODES.P) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user