Info Call to dangerous WebView settings API

Description

List of all WebView methods used in the application.

Recommendation

If your application accesses sensitive data with a WebView, you may want to use the clearCache() method to delete any files stored locally.

Any URI received via an intent from outside a trust-boundary should be validated before rendering it with WebView

Technical details

Method com.facebook.react.views.webview.ReactWebViewManager.setJavaScriptEnabled() calling method android.webkit.WebSettings.setJavaScriptEnabled()


    public void setJavaScriptEnabled(android.webkit.WebView p2, boolean p3)
    {
        p2.getSettings().setJavaScriptEnabled(p3);
        return;
    }

Method com.horcrux.svg.RNSVGImageShadowNode.setSrc() calling method android.net.Uri.parse()


    public void setSrc(com.facebook.react.bridge.ReadableMap p4)
    {
        if (p4 != null) {
            String v0 = p4.getString("uri");
            if ((v0 != null) && (!v0.isEmpty())) {
                this.mImageRatio = (((float) p4.getInt("width")) / ((float) p4.getInt("height")));
                this.mUri = android.net.Uri.parse(v0);
            }
        }
        return;
    }

Method com.facebook.react.views.text.frescosupport.FrescoBasedReactTextInlineImageShadowNode.setSource() calling method android.net.Uri.parse()


    public void setSource(com.facebook.react.bridge.ReadableArray p5)
    {
        if ((p5 != null) && (p5.size() != 0)) {
            String v0 = p5.getMap(0).getString("uri");
        } else {
            v0 = 0;
        }
        android.net.Uri v1 = 0;
        if (v0 != null) {
            try {
                v1 = android.net.Uri.parse(v0);
            } catch (com.facebook.react.uimanager.ThemedReactContext v2) {
                if (v1 == null) {
                    v1 = com.facebook.react.views.text.frescosupport.FrescoBasedReactTextInlineImageShadowNode.getResourceDrawableUri(this.getThemedContext(), v0);
                }
            }
            if (v1.getScheme() != null) {
            } else {
                v1 = 0;
            }
        }
        if (v1 != this.mUri) {
            this.markUpdated();
        }
        this.mUri = v1;
        return;
    }

Method com.joshblour.reactnativepermissions.ReactNativePermissionsModule.openSettings() calling method android.net.Uri.parse()


    public void openSettings()
    {
        android.content.Intent v0_1 = new android.content.Intent();
        v0_1.setAction("android.settings.APPLICATION_DETAILS_SETTINGS");
        v0_1.addCategory("android.intent.category.DEFAULT");
        v0_1.setData(android.net.Uri.parse(new StringBuilder().append("package:").append(this.reactContext.getPackageName()).toString()));
        v0_1.addFlags(268435456);
        v0_1.addFlags(1073741824);
        v0_1.addFlags(8388608);
        this.reactContext.startActivity(v0_1);
        return;
    }

Method com.facebook.react.modules.intent.IntentModule.openURL() calling method android.net.Uri.parse()


    public void openURL(String p10, com.facebook.react.bridge.Promise p11)
    {
        if ((p10 != null) && (!p10.isEmpty())) {
            try {
                String v4;
                android.app.Activity v1 = this.getCurrentActivity();
                android.content.Intent v3_0 = new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse(p10));
                String v5 = this.getReactApplicationContext().getPackageName();
                android.content.ComponentName v0 = v3_0.resolveActivity(this.getReactApplicationContext().getPackageManager());
            } catch (Exception v2) {
                p11.reject(new com.facebook.react.bridge.JSApplicationIllegalArgumentException(new StringBuilder().append("Could not open URL \'").append(p10).append("\': ").append(v2.getMessage()).toString()));
            }
            if (v0 == null) {
                v4 = "";
            } else {
                v4 = v0.getPackageName();
            }
            if ((v1 == null) || (!v5.equals(v4))) {
                v3_0.addFlags(268435456);
            }
            if (v1 == null) {
                this.getReactApplicationContext().startActivity(v3_0);
            } else {
                v1.startActivity(v3_0);
            }
            p11.resolve(Boolean.valueOf(1));
        } else {
            p11.reject(new com.facebook.react.bridge.JSApplicationIllegalArgumentException(new StringBuilder().append("Invalid URL: ").append(p10).toString()));
        }
        return;
    }

Method com.facebook.react.modules.intent.IntentModule.canOpenURL() calling method android.net.Uri.parse()


    public void canOpenURL(String p7, com.facebook.react.bridge.Promise p8)
    {
        if ((p7 != null) && (!p7.isEmpty())) {
            try {
                int v0;
                android.content.Intent v2_1 = new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse(p7));
                v2_1.addFlags(268435456);
            } catch (Exception v1) {
                p8.reject(new com.facebook.react.bridge.JSApplicationIllegalArgumentException(new StringBuilder().append("Could not check if URL \'").append(p7).append("\' can be opened: ").append(v1.getMessage()).toString()));
            }
            if (v2_1.resolveActivity(this.getReactApplicationContext().getPackageManager()) == null) {
                v0 = 0;
            } else {
                v0 = 1;
            }
            p8.resolve(Boolean.valueOf(v0));
        } else {
            p8.reject(new com.facebook.react.bridge.JSApplicationIllegalArgumentException(new StringBuilder().append("Invalid URL: ").append(p7).toString()));
        }
        return;
    }

Method com.facebook.react.modules.image.ImageLoaderModule.prefetchImage() calling method android.net.Uri.parse()


    public void prefetchImage(String p7, int p8, com.facebook.react.bridge.Promise p9)
    {
        if ((p7 != null) && (!p7.isEmpty())) {
            com.facebook.datasource.DataSource v0 = com.facebook.drawee.backends.pipeline.Fresco.getImagePipeline().prefetchToDiskCache(com.facebook.imagepipeline.request.ImageRequestBuilder.newBuilderWithSource(android.net.Uri.parse(p7)).build(), this.mCallerContext);
            com.facebook.react.modules.image.ImageLoaderModule$2 v1_1 = new com.facebook.react.modules.image.ImageLoaderModule$2(this, p8, p9);
            this.registerRequest(p8, v0);
            v0.subscribe(v1_1, com.facebook.common.executors.CallerThreadExecutor.getInstance());
        } else {
            p9.reject("E_INVALID_URI", "Cannot prefetch an image for an empty URI");
        }
        return;
    }

Method com.facebook.react.modules.image.ImageLoaderModule.getSize() calling method android.net.Uri.parse()


    public void getSize(String p7, com.facebook.react.bridge.Promise p8)
    {
        if ((p7 != null) && (!p7.isEmpty())) {
            com.facebook.drawee.backends.pipeline.Fresco.getImagePipeline().fetchDecodedImage(com.facebook.imagepipeline.request.ImageRequestBuilder.newBuilderWithSource(android.net.Uri.parse(p7)).build(), this.mCallerContext).subscribe(new com.facebook.react.modules.image.ImageLoaderModule$1(this, p8), com.facebook.common.executors.CallerThreadExecutor.getInstance());
        } else {
            p8.reject("E_INVALID_URI", "Cannot get the size of an image for an empty URI");
        }
        return;
    }

Method com.facebook.react.modules.camera.CameraRollManager.saveToCameraRoll() calling method android.net.Uri.parse()


    public void saveToCameraRoll(String p5, String p6, com.facebook.react.bridge.Promise p7)
    {
        com.facebook.react.modules.camera.CameraRollManager$MediaType v0;
        if (!p6.equals("video")) {
            v0 = com.facebook.react.modules.camera.CameraRollManager$MediaType.PHOTO;
        } else {
            v0 = com.facebook.react.modules.camera.CameraRollManager$MediaType.VIDEO;
        }
        Void[] v3_2 = new Void[0];
        new com.facebook.react.modules.camera.CameraRollManager$SaveToCameraRoll(this.getReactApplicationContext(), android.net.Uri.parse(p5), v0, p7).executeOnExecutor(android.os.AsyncTask.THREAD_POOL_EXECUTOR, v3_2);
        return;
    }

Method android.support.v7.widget.SuggestionsAdapter.getDrawableFromResourceValue() calling method android.net.Uri.parse()


    private android.graphics.drawable.Drawable getDrawableFromResourceValue(String p10)
    {
        if ((p10 != null) && ((p10.length() != 0) && (!"0".equals(p10)))) {
            try {
                int v3 = Integer.parseInt(p10);
                String v1 = new StringBuilder().append("android.resource://").append(this.mProviderContext.getPackageName()).append("/").append(v3).toString();
                android.graphics.drawable.Drawable v0 = this.checkIconCache(v1);
            } catch (android.content.res.Resources$NotFoundException v2) {
                android.util.Log.w("SuggestionsAdapter", new StringBuilder().append("Icon resource not found: ").append(p10).toString());
                v0 = 0;
            } catch (android.content.res.Resources$NotFoundException v2) {
                v0 = this.checkIconCache(p10);
                if (v0 == null) {
                    v0 = this.getDrawable(android.net.Uri.parse(p10));
                    this.storeInIconCache(p10, v0);
                }
            }
            if (v0 == null) {
                v0 = android.support.v4.content.ContextCompat.getDrawable(this.mProviderContext, v3);
                this.storeInIconCache(v1, v0);
            }
        } else {
            v0 = 0;
        }
        return v0;
    }

Method android.support.v4.widget.SimpleCursorAdapter.setViewImage() calling method android.net.Uri.parse()


    public void setViewImage(android.widget.ImageView p3, String p4)
    {
        try {
            p3.setImageResource(Integer.parseInt(p4));
        } catch (NumberFormatException v0) {
            p3.setImageURI(android.net.Uri.parse(p4));
        }
        return;
    }

Method com.google.firebase.auth.UserProfileChangeRequest.<init>() calling method android.net.Uri.parse()


    UserProfileChangeRequest(int p2, String p3, String p4, boolean p5, boolean p6)
    {
        android.net.Uri v0_0;
        this.mVersionCode = p2;
        this.dC = p3;
        this.JF = p4;
        this.aNe = p5;
        this.aNf = p6;
        if (!android.text.TextUtils.isEmpty(p4)) {
            v0_0 = android.net.Uri.parse(p4);
        } else {
            v0_0 = 0;
        }
        this.aNg = v0_0;
        return;
    }

Method com.google.android.gms.common.images.WebImage.zzn() calling method android.net.Uri.parse()


    private static android.net.Uri zzn(org.json.JSONObject p2)
    {
        android.net.Uri v0 = 0;
        if (p2.has("url")) {
            try {
                v0 = android.net.Uri.parse(p2.getString("url"));
            } catch (org.json.JSONException v1) {
            }
        }
        return v0;
    }

Method com.google.android.gms.common.data.DataHolder.zzh() calling method android.net.Uri.parse()


    public android.net.Uri zzh(String p2, int p3, int p4)
    {
        android.net.Uri v0_1;
        android.net.Uri v0_0 = this.zzd(p2, p3, p4);
        if (v0_0 != null) {
            v0_1 = android.net.Uri.parse(v0_0);
        } else {
            v0_1 = 0;
        }
        return v0_1;
    }

Method com.google.android.gms.auth.api.signin.GoogleSignInAccount.zzfo() calling method android.net.Uri.parse()


    public static com.google.android.gms.auth.api.signin.GoogleSignInAccount zzfo(String p14)
    {
        com.google.android.gms.auth.api.signin.GoogleSignInAccount v10 = 0;
        if (!android.text.TextUtils.isEmpty(p14)) {
            int v6;
            org.json.JSONObject v11_1 = new org.json.JSONObject(p14);
            com.google.android.gms.auth.api.signin.GoogleSignInAccount v0_9 = v11_1.optString("photoUrl", 0);
            if (android.text.TextUtils.isEmpty(v0_9)) {
                v6 = 0;
            } else {
                v6 = android.net.Uri.parse(v0_9);
            }
            long v12 = Long.parseLong(v11_1.getString("expirationTime"));
            java.util.HashSet v9_1 = new java.util.HashSet();
            String v1_1 = v11_1.getJSONArray("grantedScopes");
            String v2_0 = v1_1.length();
            com.google.android.gms.auth.api.signin.GoogleSignInAccount v0_4 = 0;
            while (v0_4 < v2_0) {
                v9_1.add(new com.google.android.gms.common.api.Scope(v1_1.getString(v0_4)));
                v0_4++;
            }
            v10 = com.google.android.gms.auth.api.signin.GoogleSignInAccount.zza(v11_1.optString("id"), v11_1.optString("tokenId", 0), v11_1.optString("email", 0), v11_1.optString("displayName", 0), v11_1.optString("givenName", 0), v11_1.optString("familyName", 0), v6, Long.valueOf(v12), v11_1.getString("obfuscatedIdentifier"), v9_1).zzfp(v11_1.optString("serverAuthCode", 0));
        }
        return v10;
    }

Method com.facebook.imagepipeline.producers.HttpUrlConnectionNetworkFetcher.downloadFrom() calling method android.net.Uri.parse()


    private java.net.HttpURLConnection downloadFrom(android.net.Uri p13, int p14)
    {
        java.net.HttpURLConnection v0 = com.facebook.imagepipeline.producers.HttpUrlConnectionNetworkFetcher.openConnectionTo(p13);
        int v5 = v0.getResponseCode();
        if (!com.facebook.imagepipeline.producers.HttpUrlConnectionNetworkFetcher.isHttpSuccess(v5)) {
            if (!com.facebook.imagepipeline.producers.HttpUrlConnectionNetworkFetcher.isHttpRedirect(v5)) {
                v0.disconnect();
                Integer v8_1 = new Object[2];
                v8_1[0] = p13.toString();
                v8_1[1] = Integer.valueOf(v5);
                throw new java.io.IOException(String.format("Image URL %s returned HTTP code %d", v8_1));
            } else {
                android.net.Uri v2;
                String v3 = v0.getHeaderField("Location");
                v0.disconnect();
                if (v3 != null) {
                    v2 = android.net.Uri.parse(v3);
                } else {
                    v2 = 0;
                }
                String v4 = p13.getScheme();
                if ((p14 <= 0) || ((v2 == null) || (v2.getScheme().equals(v4)))) {
                    String v1;
                    if (p14 != 0) {
                        Object[] v7_2 = new Object[2];
                        v7_2[0] = p13.toString();
                        v7_2[1] = Integer.valueOf(v5);
                        v1 = com.facebook.imagepipeline.producers.HttpUrlConnectionNetworkFetcher.error("URL %s returned %d without a valid redirect", v7_2);
                    } else {
                        Object[] v7_3 = new Object[1];
                        v7_3[0] = p13.toString();
                        v1 = com.facebook.imagepipeline.producers.HttpUrlConnectionNetworkFetcher.error("URL %s follows too many redirects", v7_3);
                    }
                    throw new java.io.IOException(v1);
                } else {
                    v0 = this.downloadFrom(v2, (p14 - 1));
                }
            }
        }
        return v0;
    }

Method com.facebook.drawee.view.SimpleDraweeView.setImageURI() calling method android.net.Uri.parse()


    public void setImageURI(String p2, Object p3)
    {
        int v0;
        if (p2 == null) {
            v0 = 0;
        } else {
            v0 = android.net.Uri.parse(p2);
        }
        this.setImageURI(v0, p3);
        return;
    }

Method com.facebook.drawee.view.SimpleDraweeView.init() calling method android.net.Uri.parse()


    private void init(android.content.Context p4, android.util.AttributeSet p5)
    {
        if (!this.isInEditMode()) {
            com.facebook.common.internal.Preconditions.checkNotNull(com.facebook.drawee.view.SimpleDraweeView.sDraweeControllerBuilderSupplier, "SimpleDraweeView was not initialized!");
            this.mSimpleDraweeControllerBuilder = ((com.facebook.drawee.interfaces.SimpleDraweeControllerBuilder) com.facebook.drawee.view.SimpleDraweeView.sDraweeControllerBuilderSupplier.get());
            if (p5 != null) {
                android.content.res.TypedArray v0 = p4.obtainStyledAttributes(p5, com.facebook.drawee.R$styleable.SimpleDraweeView);
                try {
                    if (v0.hasValue(com.facebook.drawee.R$styleable.SimpleDraweeView_actualImageUri)) {
                        this.setImageURI(android.net.Uri.parse(v0.getString(com.facebook.drawee.R$styleable.SimpleDraweeView_actualImageUri)), 0);
                    }
                } catch (android.net.Uri v1_7) {
                    v0.recycle();
                    throw v1_7;
                }
                v0.recycle();
            }
        }
        return;
    }

Method me.leolin.shortcutbadger.impl.SonyHomeBadger.<init>() calling method android.net.Uri.parse()


    public SonyHomeBadger()
    {
        this.BADGE_CONTENT_URI = android.net.Uri.parse("content://com.sonymobile.home.resourceprovider/badge");
        return;
    }

Method me.leolin.shortcutbadger.impl.SamsungHomeBadger.executeBadge() calling method android.net.Uri.parse()


    public void executeBadge(android.content.Context p13, android.content.ComponentName p14, int p15)
    {
        android.net.Uri v1 = android.net.Uri.parse("content://com.sec.badge/apps?notify=true");
        android.content.ContentResolver v0 = p13.getContentResolver();
        try {
            int v4_2 = new String[1];
            v4_2[0] = p14.getPackageName();
            android.database.Cursor v7 = v0.query(v1, me.leolin.shortcutbadger.impl.SamsungHomeBadger.CONTENT_PROJECTION, "package=?", v4_2, 0);
        } catch (int v2_10) {
            me.leolin.shortcutbadger.util.CloseHelper.close(v7);
            throw v2_10;
        }
        if (v7 != null) {
            String v9 = p14.getClassName();
            int v8 = 0;
            while (v7.moveToNext()) {
                int v10 = v7.getInt(0);
                android.content.ContentValues v6_1 = this.getContentValues(p14, p15, 0);
                String[] v3_1 = new String[1];
                v3_1[0] = String.valueOf(v10);
                v0.update(v1, v6_1, "_id=?", v3_1);
                if (v9.equals(v7.getString(v7.getColumnIndex("class")))) {
                    v8 = 1;
                }
            }
            if (v8 == 0) {
                v0.insert(v1, this.getContentValues(p14, p15, 1));
            }
        }
        me.leolin.shortcutbadger.util.CloseHelper.close(v7);
        return;
    }

Method me.leolin.shortcutbadger.impl.NovaHomeBadger.executeBadge() calling method android.net.Uri.parse()


    public void executeBadge(android.content.Context p5, android.content.ComponentName p6, int p7)
    {
        android.content.ContentValues v0_1 = new android.content.ContentValues();
        v0_1.put("tag", new StringBuilder().append(p6.getPackageName()).append("/").append(p6.getClassName()).toString());
        v0_1.put("count", Integer.valueOf(p7));
        p5.getContentResolver().insert(android.net.Uri.parse("content://com.teslacoilsw.notifier/unread_count"), v0_1);
        return;
    }

Method me.leolin.shortcutbadger.impl.HuaweiHomeBadger.executeBadge() calling method android.net.Uri.parse()


    public void executeBadge(android.content.Context p7, android.content.ComponentName p8, int p9)
    {
        String v0 = p8.getClassName();
        if (v0 != null) {
            android.os.Bundle v1_1 = new android.os.Bundle();
            v1_1.putString("package", p7.getPackageName());
            v1_1.putString("class", v0);
            v1_1.putInt("badgenumber", p9);
            p7.getContentResolver().call(android.net.Uri.parse("content://com.huawei.android.launcher.settings/badge/"), "change_badge", 0, v1_1);
        } else {
            android.util.Log.d(me.leolin.shortcutbadger.impl.HuaweiHomeBadger.LOG_TAG, "Main activity is null");
        }
        return;
    }

Method com.facebook.react.views.toolbar.ReactToolbar.setIconSource() calling method android.net.Uri.parse()


    private void setIconSource(com.facebook.react.bridge.ReadableMap p6, com.facebook.react.views.toolbar.ReactToolbar$IconControllerListener p7, com.facebook.drawee.view.DraweeHolder p8)
    {
        int v1;
        if (p6 == null) {
            v1 = 0;
        } else {
            v1 = p6.getString("uri");
        }
        if (v1 != 0) {
            if ((!v1.startsWith("http://")) && ((!v1.startsWith("https://")) && (!v1.startsWith("file://")))) {
                p7.setDrawable(this.getDrawableByName(v1));
            } else {
                p7.setIconImageInfo(this.getIconImageInfo(p6));
                p8.setController(((com.facebook.drawee.backends.pipeline.PipelineDraweeControllerBuilder) ((com.facebook.drawee.backends.pipeline.PipelineDraweeControllerBuilder) com.facebook.drawee.backends.pipeline.Fresco.newDraweeControllerBuilder().setUri(android.net.Uri.parse(v1)).setControllerListener(p7)).setOldController(p8.getController())).build());
                p8.getTopLevelDrawable().setVisible(1, 1);
            }
        } else {
            p7.setIconImageInfo(0);
            p7.setDrawable(0);
        }
        return;
    }

Method com.facebook.react.modules.image.ImageLoaderModule$3.doInBackgroundGuarded() calling method android.net.Uri.parse()


    protected varargs void doInBackgroundGuarded(Void[] p7)
    {
        com.facebook.react.bridge.WritableMap v2 = com.facebook.react.bridge.Arguments.createMap();
        com.facebook.imagepipeline.core.ImagePipeline v1 = com.facebook.drawee.backends.pipeline.Fresco.getImagePipeline();
        int v0 = 0;
        while (v0 < this.val$uris.size()) {
            String v4 = this.val$uris.getString(v0);
            android.net.Uri v3 = android.net.Uri.parse(v4);
            if (!v1.isInBitmapMemoryCache(v3)) {
                if (v1.isInDiskCacheSync(v3)) {
                    v2.putString(v4, "disk");
                }
            } else {
                v2.putString(v4, "memory");
            }
            v0++;
        }
        this.val$promise.resolve(v2);
        return;
    }

Method com.facebook.react.modules.camera.ImageStoreManager$GetBase64Task.doInBackgroundGuarded() calling method android.net.Uri.parse()


    protected varargs void doInBackgroundGuarded(Void[] p15)
    {
        try {
            java.io.InputStream v6 = com.facebook.react.modules.camera.ImageStoreManager.access$100(this.this$0).getContentResolver().openInputStream(android.net.Uri.parse(this.mUri));
            java.io.ByteArrayOutputStream v1_1 = new java.io.ByteArrayOutputStream();
            android.util.Base64OutputStream v0_1 = new android.util.Base64OutputStream(v1_1, 0);
            byte[] v2 = new byte[8192];
            try {
                while(true) {
                    int v3 = v6.read(v2);
                    v0_1.write(v2, 0, v3);
                }
                com.facebook.react.bridge.Callback v8_4 = this.mSuccess;
                Object[] v9_1 = new Object[1];
                v9_1[0] = v1_1.toString();
                v8_4.invoke(v9_1);
                com.facebook.react.modules.camera.ImageStoreManager.access$200(v6);
                com.facebook.react.modules.camera.ImageStoreManager.access$200(v0_1);
                return;
            } catch (com.facebook.react.bridge.Callback v8_7) {
                com.facebook.react.modules.camera.ImageStoreManager.access$200(v6);
                com.facebook.react.modules.camera.ImageStoreManager.access$200(v0_1);
                throw v8_7;
            } catch (java.io.IOException v5_0) {
                com.facebook.react.bridge.Callback v8_5 = this.mError;
                Object[] v9_3 = new Object[1];
                v9_3[0] = v5_0.getMessage();
                v8_5.invoke(v9_3);
                com.facebook.react.modules.camera.ImageStoreManager.access$200(v6);
                com.facebook.react.modules.camera.ImageStoreManager.access$200(v0_1);
                return;
            }
            if (v3 > -1) {
            }
        } catch (java.io.IOException v5_1) {
            com.facebook.react.bridge.Callback v8_8 = this.mError;
            Object[] v9_4 = new Object[1];
            v9_4[0] = v5_1.getMessage();
            v8_8.invoke(v9_4);
            return;
        }
    }

Method com.facebook.react.modules.camera.ImageEditingManager$CropTask.doInBackgroundGuarded() calling method android.net.Uri.parse()


    protected varargs void doInBackgroundGuarded(Void[] p13)
    {
        try {
            Object[] v2;
            android.graphics.BitmapFactory$Options v4_1 = new android.graphics.BitmapFactory$Options();
        } catch (Exception v1) {
            com.facebook.react.bridge.Callback v8_10 = this.mError;
            Object[] v6_1 = new Object[1];
            v6_1[0] = v1.getMessage();
            v8_10.invoke(v6_1);
            return;
        }
        if ((this.mTargetWidth <= 0) || (this.mTargetHeight <= 0)) {
            v2 = 0;
        } else {
            v2 = 1;
        }
        android.graphics.Bitmap v0;
        if (v2 == null) {
            v0 = this.crop(v4_1);
        } else {
            v0 = this.cropAndResize(this.mTargetWidth, this.mTargetHeight, v4_1);
        }
        String v3 = v4_1.outMimeType;
        if ((v3 != null) && (!v3.isEmpty())) {
            java.io.File v5 = com.facebook.react.modules.camera.ImageEditingManager.access$300(this.mContext, v3);
            com.facebook.react.modules.camera.ImageEditingManager.access$400(v0, v3, v5);
            if (v3.equals("image/jpeg")) {
                com.facebook.react.modules.camera.ImageEditingManager.access$500(this.mContext, android.net.Uri.parse(this.mUri), v5);
            }
            com.facebook.react.bridge.Callback v8_6 = this.mSuccess;
            Object[] v9_4 = new Object[1];
            v9_4[0] = android.net.Uri.fromFile(v5).toString();
            v8_6.invoke(v9_4);
            return;
        } else {
            throw new java.io.IOException("Could not determine MIME type");
        }
    }

Method com.facebook.react.modules.camera.ImageEditingManager$CropTask.openBitmapInputStream() calling method android.net.Uri.parse()


    private java.io.InputStream openBitmapInputStream()
    {
        java.io.InputStream v1;
        if (!com.facebook.react.modules.camera.ImageEditingManager.access$200(this.mUri)) {
            v1 = new java.net.URL(this.mUri).openConnection().getInputStream();
        } else {
            v1 = this.mContext.getContentResolver().openInputStream(android.net.Uri.parse(this.mUri));
        }
        if (v1 != null) {
            return v1;
        } else {
            throw new java.io.IOException(new StringBuilder().append("Cannot open bitmap: ").append(this.mUri).toString());
        }
    }

Method android.support.v7.widget.SearchView.createIntentFromSuggestion() calling method android.net.Uri.parse()


    private android.content.Intent createIntentFromSuggestion(android.database.Cursor p13, int p14, String p15)
    {
        try {
            String v1 = android.support.v7.widget.SuggestionsAdapter.getColumnString(p13, "suggest_intent_action");
        } catch (RuntimeException v8) {
            try {
                int v11 = p13.getPosition();
            } catch (RuntimeException v9) {
                v11 = -1;
            }
            android.util.Log.w("SearchView", new StringBuilder().append("Search suggestions cursor at row ").append(v11).append(" returned exception.").toString(), v8);
            android.content.Intent v0_14 = 0;
            return v0_14;
        }
        if ((v1 == null) && (android.os.Build$VERSION.SDK_INT >= 8)) {
            v1 = this.mSearchable.getSuggestIntentAction();
        }
        if (v1 == null) {
            v1 = "android.intent.action.SEARCH";
        }
        String v7 = android.support.v7.widget.SuggestionsAdapter.getColumnString(p13, "suggest_intent_data");
        if ((android.support.v7.widget.SearchView.IS_AT_LEAST_FROYO) && (v7 == null)) {
            v7 = this.mSearchable.getSuggestIntentData();
        }
        if (v7 != null) {
            String v10 = android.support.v7.widget.SuggestionsAdapter.getColumnString(p13, "suggest_intent_data_id");
            if (v10 != null) {
                v7 = new StringBuilder().append(v7).append("/").append(android.net.Uri.encode(v10)).toString();
            }
        }
        android.net.Uri v2;
        if (v7 != null) {
            v2 = android.net.Uri.parse(v7);
        } else {
            v2 = 0;
        }
        v0_14 = this.createIntent(v1, v2, android.support.v7.widget.SuggestionsAdapter.getColumnString(p13, "suggest_intent_extra_data"), android.support.v7.widget.SuggestionsAdapter.getColumnString(p13, "suggest_intent_query"), p14, p15);
        return v0_14;
    }

Method android.support.v4.app.ActivityCompat.getReferrer() calling method android.net.Uri.parse()


    public android.net.Uri getReferrer(android.app.Activity p6)
    {
        int v1_0;
        if (android.os.Build$VERSION.SDK_INT < 22) {
            android.content.Intent v0 = p6.getIntent();
            v1_0 = ((android.net.Uri) v0.getParcelableExtra("android.intent.extra.REFERRER"));
            if (v1_0 == 0) {
                String v2 = v0.getStringExtra("android.intent.extra.REFERRER_NAME");
                if (v2 == null) {
                    v1_0 = 0;
                } else {
                    v1_0 = android.net.Uri.parse(v2);
                }
            }
        } else {
            v1_0 = android.support.v4.app.ActivityCompat22.getReferrer(p6);
        }
        return v1_0;
    }

Method com.google.android.gms.internal.zzk.zzb() calling method android.net.Uri.parse()


    private static int zzb(String p1)
    {
        int v0_1;
        if (android.text.TextUtils.isEmpty(p1)) {
            v0_1 = 0;
        } else {
            int v0_2 = android.net.Uri.parse(p1);
            if (v0_2 == 0) {
            } else {
                int v0_3 = v0_2.getHost();
                if (v0_3 == 0) {
                } else {
                    v0_1 = v0_3.hashCode();
                }
            }
        }
        return v0_1;
    }

Method com.google.android.gms.internal.zzaeo.<clinit>() calling method android.net.Uri.parse()


    static zzaeo()
    {
        com.google.android.gms.internal.zzaeo.CONTENT_URI = android.net.Uri.parse("content://com.google.android.gsf.gservices");
        com.google.android.gms.internal.zzaeo.aLH = android.net.Uri.parse("content://com.google.android.gsf.gservices/prefix");
        com.google.android.gms.internal.zzaeo.aLI = java.util.regex.Pattern.compile("^(1|true|t|on|yes|y)$", 2);
        com.google.android.gms.internal.zzaeo.aLJ = java.util.regex.Pattern.compile("^(0|false|f|off|no|n)$", 2);
        com.google.android.gms.internal.zzaeo.aLM = new java.util.HashSet();
        return;
    }

Method com.google.android.gms.gcm.zza.zzkb() calling method android.net.Uri.parse()


    private android.net.Uri zzkb(String p6)
    {
        android.net.Uri v0_3;
        if (!android.text.TextUtils.isEmpty(p6)) {
            if (("default".equals(p6)) || (this.mContext.getResources().getIdentifier(p6, "raw", this.mContext.getPackageName()) == 0)) {
                v0_3 = android.media.RingtoneManager.getDefaultUri(2);
            } else {
                android.net.Uri v0_5 = String.valueOf("android.resource://");
                String v1_3 = String.valueOf(this.mContext.getPackageName());
                v0_3 = android.net.Uri.parse(new StringBuilder((((String.valueOf(v0_5).length() + 5) + String.valueOf(v1_3).length()) + String.valueOf(p6).length())).append(v0_5).append(v1_3).append("/raw/").append(p6).toString());
            }
        } else {
            v0_3 = 0;
        }
        return v0_3;
    }

Method com.google.android.gms.common.internal.zzo.zzac() calling method android.net.Uri.parse()


    private static android.net.Uri zzac(String p2, String p3)
    {
        android.net.Uri v0_4 = android.net.Uri.parse("market://details").buildUpon().appendQueryParameter("id", p2);
        if (!android.text.TextUtils.isEmpty(p3)) {
            v0_4.appendQueryParameter("pcampaignid", p3);
        }
        return v0_4.build();
    }

Method com.google.android.gms.common.internal.zzo.<clinit>() calling method android.net.Uri.parse()


    static zzo()
    {
        com.google.android.gms.common.internal.zzo.yY = android.net.Uri.parse("http://plus.google.com/");
        com.google.android.gms.common.internal.zzo.yZ = com.google.android.gms.common.internal.zzo.yY.buildUpon().appendPath("circles").appendPath("find").build();
        return;
    }

Method com.google.android.gms.auth.api.credentials.internal.zzb.zzfm() calling method android.net.Uri.parse()


    public static String zzfm(String p4)
    {
        String v0_5;
        int v2 = 0;
        if (android.text.TextUtils.isEmpty(p4)) {
            v0_5 = 0;
        } else {
            v0_5 = 1;
        }
        com.google.android.gms.common.internal.zzab.zzb(v0_5, "account type cannot be empty");
        String v0_1 = android.net.Uri.parse(p4).getScheme();
        if (("http".equalsIgnoreCase(v0_1)) || ("https".equalsIgnoreCase(v0_1))) {
            v2 = 1;
        }
        com.google.android.gms.common.internal.zzab.zzb(v2, "Account type must be an http or https URI");
        return p4;
    }

Method com.facebook.react.views.webview.ReactWebViewManager$ReactWebViewClient.shouldOverrideUrlLoading() calling method android.net.Uri.parse()


    public boolean shouldOverrideUrlLoading(android.webkit.WebView p4, String p5)
    {
        if ((!p5.startsWith("http://")) && (!p5.startsWith("https://"))) {
            android.content.Intent v0_0 = new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse(p5));
            v0_0.setFlags(268435456);
            p4.getContext().startActivity(v0_0);
            int v1_3 = 1;
        } else {
            v1_3 = 0;
        }
        return v1_3;
    }

Method com.facebook.react.views.imagehelper.ImageSource.computeUri() calling method android.net.Uri.parse()


    private android.net.Uri computeUri(android.content.Context p4)
    {
        try {
            android.net.Uri v1 = android.net.Uri.parse(this.mSource);
        } catch (Exception v0) {
            v1 = this.computeLocalUri(p4);
            return v1;
        }
        if (v1.getScheme() != null) {
            return v1;
        } else {
            v1 = this.computeLocalUri(p4);
            return v1;
        }
    }

Method com.facebook.react.modules.network.RequestBodyUtil.getFileInputStream() calling method android.net.Uri.parse()


    public static java.io.InputStream getFileInputStream(android.content.Context p5, String p6)
    {
        try {
            int v2_0 = p5.getContentResolver().openInputStream(android.net.Uri.parse(p6));
        } catch (Exception v0) {
            com.facebook.common.logging.FLog.e("React", new StringBuilder().append("Could not retrieve file for contentUri ").append(p6).toString(), v0);
            v2_0 = 0;
        }
        return v2_0;
    }

Method com.facebook.react.devsupport.RedBoxDialog$OpenStackFrameTask.doInBackground() calling method android.net.Uri.parse()


    protected varargs Void doInBackground(com.facebook.react.devsupport.StackTraceHelper$StackFrame[] p14)
    {
        try {
            String v7 = android.net.Uri.parse(this.mDevSupportManager.getSourceUrl()).buildUpon().path("/open-stack-frame").query(0).build().toString();
            okhttp3.OkHttpClient v2_1 = new okhttp3.OkHttpClient();
            int v6 = p14.length;
            int v5 = 0;
        } catch (Exception v3) {
            com.facebook.common.logging.FLog.e("React", "Could not open stack frame", v3);
            return 0;
        }
        while (v5 < v6) {
            v2_1.newCall(new okhttp3.Request$Builder().url(v7).post(okhttp3.RequestBody.create(com.facebook.react.devsupport.RedBoxDialog$OpenStackFrameTask.JSON, com.facebook.react.devsupport.RedBoxDialog$OpenStackFrameTask.stackFrameToJson(p14[v5]).toString())).build()).execute();
            v5++;
        }
        return 0;
    }

Method com.facebook.react.devsupport.RedBoxDialog$CopyToHostClipBoardTask.doInBackground() calling method android.net.Uri.parse()


    protected varargs Void doInBackground(String[] p13)
    {
        try {
            String v7 = android.net.Uri.parse(this.mDevSupportManager.getSourceUrl()).buildUpon().path("/copy-to-clipboard").query(0).build().toString();
            int v5 = p13.length;
            int v4 = 0;
        } catch (Exception v3) {
            com.facebook.common.logging.FLog.e("React", "Could not copy to the host clipboard", v3);
            return 0;
        }
        while (v4 < v5) {
            new okhttp3.OkHttpClient().newCall(new okhttp3.Request$Builder().url(v7).post(okhttp3.RequestBody.create(0, p13[v4])).build()).execute();
            v4++;
        }
        return 0;
    }

Method com.facebook.react.devsupport.DevSupportManagerImpl$JscProfileTask.doInBackground() calling method android.net.Uri.parse()


    protected varargs Void doInBackground(String[] p13)
    {
        try {
            String v5 = android.net.Uri.parse(this.mSourceUrl).buildUpon().path("/jsc-profile").query(0).build().toString();
            okhttp3.OkHttpClient v2_1 = new okhttp3.OkHttpClient();
            int v7 = p13.length;
            int v4 = 0;
        } catch (java.io.IOException v3) {
            com.facebook.common.logging.FLog.e("React", "Failed not talk to server", v3);
            return 0;
        }
        while (v4 < v7) {
            v2_1.newCall(new okhttp3.Request$Builder().url(v5).post(okhttp3.RequestBody.create(com.facebook.react.devsupport.DevSupportManagerImpl$JscProfileTask.JSON, p13[v4])).build()).execute();
            v4++;
        }
        return 0;
    }

Method com.facebook.imagepipeline.request.ImageRequest.fromUri() calling method android.net.Uri.parse()


    public static com.facebook.imagepipeline.request.ImageRequest fromUri(String p1)
    {
        if ((p1 != null) && (p1.length() != 0)) {
            com.facebook.imagepipeline.request.ImageRequest v0_2 = com.facebook.imagepipeline.request.ImageRequest.fromUri(android.net.Uri.parse(p1));
        } else {
            v0_2 = 0;
        }
        return v0_2;
    }

Method com.facebook.common.util.UriUtil.parseUriOrNull() calling method android.net.Uri.parse()


    public static android.net.Uri parseUriOrNull(String p1)
    {
        int v0;
        if (p1 == null) {
            v0 = 0;
        } else {
            v0 = android.net.Uri.parse(p1);
        }
        return v0;
    }

Method com.dieam.reactnativepushnotification.modules.RNPushNotificationHelper.sendNotification() calling method android.net.Uri.parse()


    public void sendNotification(android.os.Bundle p45)
    {
        try {
            Class v17 = this.getMainActivityClass();
        } catch (org.json.JSONException v10_2) {
            android.util.Log.e("RNPushNotification", "failed to send push notification", v10_2);
            return;
        }
        if (v17 != null) {
            if (p45.getString("message") != null) {
                String v23 = p45.getString("id");
                if (v23 != null) {
                    android.content.res.Resources v29 = this.context.getResources();
                    String v26 = this.context.getPackageName();
                    String v37 = p45.getString("title");
                    if (v37 == null) {
                        v37 = this.context.getPackageManager().getApplicationLabel(this.context.getApplicationInfo()).toString();
                    }
                    android.support.v4.app.NotificationCompat$Builder v21 = new android.support.v4.app.NotificationCompat$Builder(this.context).setContentTitle(v37).setTicker(p45.getString("ticker")).setVisibility(0).setPriority(1).setAutoCancel(p45.getBoolean("autoCancel", 1));
                    String v12 = p45.getString("group");
                    if (v12 != null) {
                        v21.setGroup(v12);
                    }
                    v21.setContentText(p45.getString("message"));
                    String v18 = p45.getString("largeIcon");
                    String v35 = p45.getString("subText");
                    if (v35 != null) {
                        v21.setSubText(v35);
                    }
                    String v25 = p45.getString("number");
                    if (v25 != null) {
                        v21.setNumber(Integer.parseInt(v25));
                    }
                    int v32;
                    String v31 = p45.getString("smallIcon");
                    if (v31 == null) {
                        v32 = v29.getIdentifier("ic_notification", "mipmap", v26);
                    } else {
                        v32 = v29.getIdentifier(v31, "mipmap", v26);
                    }
                    if (v32 == 0) {
                        v32 = v29.getIdentifier("ic_launcher", "mipmap", v26);
                        if (v32 == 0) {
                            v32 = 17301659;
                        }
                    }
                    int v20;
                    if (v18 == null) {
                        v20 = v29.getIdentifier("ic_launcher", "mipmap", v26);
                    } else {
                        v20 = v29.getIdentifier(v18, "mipmap", v26);
                    }
                    android.graphics.Bitmap vtmp38 = android.graphics.BitmapFactory.decodeResource(v29, v20);
                    if ((v20 != 0) && ((v18 != null) || (android.os.Build$VERSION.SDK_INT >= 21))) {
                        v21.setLargeIcon(vtmp38);
                    }
                    v21.setSmallIcon(v32);
                    String v8 = p45.getString("bigText");
                    if (v8 == null) {
                        v8 = p45.getString("message");
                    }
                    v21.setStyle(new android.support.v4.app.NotificationCompat$BigTextStyle().bigText(v8));
                    android.content.Intent v16 = new android.content.Intent;
                    v16(this.context, v17);
                    v16.addFlags(536870912);
                    p45.putBoolean("userInteraction", 1);
                    v16.putExtra("notification", p45);
                    if ((!p45.containsKey("playSound")) || (p45.getBoolean("playSound"))) {
                        android.net.Uri v34 = android.media.RingtoneManager.getDefaultUri(2);
                        String v33_0 = p45.getString("soundName");
                        if ((v33_0 != null) && (!"default".equalsIgnoreCase(v33_0))) {
                            int v30;
                            if (this.context.getResources().getIdentifier(v33_0, "raw", this.context.getPackageName()) == 0) {
                                v30 = this.context.getResources().getIdentifier(v33_0.substring(0, v33_0.lastIndexOf(46)), "raw", this.context.getPackageName());
                            } else {
                                v30 = this.context.getResources().getIdentifier(v33_0, "raw", this.context.getPackageName());
                            }
                            v34 = android.net.Uri.parse(new StringBuilder().append("android.resource://").append(this.context.getPackageName()).append("/").append(v30).toString());
                        }
                        v21.setSound(v34);
                    }
                    if ((p45.containsKey("ongoing")) || (p45.getBoolean("ongoing"))) {
                        v21.setOngoing(p45.getBoolean("ongoing"));
                    }
                    if (android.os.Build$VERSION.SDK_INT >= 21) {
                        v21.setCategory("call");
                        String v9 = p45.getString("color");
                        if (v9 != null) {
                            v21.setColor(android.graphics.Color.parseColor(v9));
                        }
                    }
                    int v22 = Integer.parseInt(v23);
                    android.app.PendingIntent v28 = android.app.PendingIntent.getActivity(this.context, v22, v16, 134217728);
                    android.app.NotificationManager v24 = this.notificationManager();
                    v21.setContentIntent(v28);
                    if ((!p45.containsKey("vibrate")) || (p45.getBoolean("vibrate"))) {
                        long v38;
                        if (!p45.containsKey("vibration")) {
                            v38 = 300;
                        } else {
                            v38 = ((long) p45.getDouble("vibration"));
                        }
                        if (v38 == 0) {
                            v38 = 300;
                        }
                        android.support.v4.app.NotificationCompat$Builder v0_79 = new long[2];
                        android.content.Context v40_71 = v0_79;
                        v40_71[0] = 0;
                        v40_71[1] = v38;
                        v21.setVibrate(v40_71);
                    }
                    int v6 = 0;
                    if (p45.getString("actions") == null) {
                        v6 = 0;
                    } else {
                        v6 = new org.json.JSONArray(p45.getString("actions"));
                    }
                    if (v6 != 0) {
                        int v13 = 0;
                        while (v13 < v6.length()) {
                            String v4 = v6.getString(v13);
                            android.content.Intent v5_1 = new android.content.Intent();
                            v5_1.setAction(new StringBuilder().append(this.context.getPackageName()).append(".").append(v4).toString());
                            p45.putString("action", v4);
                            v5_1.putExtra("notification", p45);
                            v21.addAction(0, v4, android.app.PendingIntent.getBroadcast(this.context, v22, v5_1, 134217728));
                            v13++;
                        }
                    }
                    if (this.scheduledNotificationsPersistence.getString(v23, 0) != null) {
                        android.content.SharedPreferences$Editor v11 = this.scheduledNotificationsPersistence.edit();
                        v11.remove(v23);
                        com.dieam.reactnativepushnotification.modules.RNPushNotificationHelper.commit(v11);
                    }
                    android.app.Notification v15 = v21.build();
                    v15.defaults = (v15.defaults | 4);
                    if (!p45.containsKey("tag")) {
                        v24.notify(v22, v15);
                    } else {
                        v24.notify(p45.getString("tag"), v22, v15);
                    }
                    this.scheduleNextNotificationIfRepeating(p45);
                    return;
                } else {
                    android.util.Log.e("RNPushNotification", "No notification ID specified for the notification");
                    return;
                }
            } else {
                android.util.Log.e("RNPushNotification", "No message specified for the notification");
                return;
            }
        } else {
            android.util.Log.e("RNPushNotification", "No activity class found for the notification");
            return;
        }
    }

Method android.support.v4.media.MediaMetadataCompat.getDescription() calling method android.net.Uri.parse()


    public android.support.v4.media.MediaDescriptionCompat getDescription()
    {
        android.support.v4.media.MediaDescriptionCompat v12_29;
        if (this.mDescription == null) {
            String v7 = this.getString("android.media.metadata.MEDIA_ID");
            CharSequence[] v9 = new CharSequence[3];
            CharSequence v3 = 0;
            android.net.Uri v4 = 0;
            CharSequence v1 = this.getText("android.media.metadata.DISPLAY_TITLE");
            if (android.text.TextUtils.isEmpty(v1)) {
                int v10 = 0;
                int v5 = 0;
                while ((v10 < v9.length) && (v5 < android.support.v4.media.MediaMetadataCompat.PREFERRED_DESCRIPTION_ORDER.length)) {
                    int v6 = (v5 + 1);
                    String v8_0 = this.getText(android.support.v4.media.MediaMetadataCompat.PREFERRED_DESCRIPTION_ORDER[v5]);
                    if (!android.text.TextUtils.isEmpty(v8_0)) {
                        int v11 = (v10 + 1);
                        v9[v10] = v8_0;
                        v10 = v11;
                    }
                    v5 = v6;
                }
            } else {
                v9[0] = v1;
                v9[1] = this.getText("android.media.metadata.DISPLAY_SUBTITLE");
                v9[2] = this.getText("android.media.metadata.DISPLAY_DESCRIPTION");
            }
            int v2_0 = 0;
            while (v2_0 < android.support.v4.media.MediaMetadataCompat.PREFERRED_BITMAP_ORDER.length) {
                String v8_1 = this.getBitmap(android.support.v4.media.MediaMetadataCompat.PREFERRED_BITMAP_ORDER[v2_0]);
                if (v8_1 == null) {
                    v2_0++;
                } else {
                    v3 = v8_1;
                    break;
                }
            }
            int v2_1 = 0;
            while (v2_1 < android.support.v4.media.MediaMetadataCompat.PREFERRED_URI_ORDER.length) {
                String v8_2 = this.getString(android.support.v4.media.MediaMetadataCompat.PREFERRED_URI_ORDER[v2_1]);
                if (android.text.TextUtils.isEmpty(v8_2)) {
                    v2_1++;
                } else {
                    v4 = android.net.Uri.parse(v8_2);
                    break;
                }
            }
            android.support.v4.media.MediaDescriptionCompat$Builder v0_1 = new android.support.v4.media.MediaDescriptionCompat$Builder();
            v0_1.setMediaId(v7);
            v0_1.setTitle(v9[0]);
            v0_1.setSubtitle(v9[1]);
            v0_1.setDescription(v9[2]);
            v0_1.setIconBitmap(v3);
            v0_1.setIconUri(v4);
            this.mDescription = v0_1.build();
            v12_29 = this.mDescription;
        } else {
            v12_29 = this.mDescription;
        }
        return v12_29;
    }

Method com.google.android.gms.internal.zzw.zza() calling method org.apache.http.client.HttpClient.execute()


    public org.apache.http.HttpResponse zza(com.google.android.gms.internal.zzk p5, java.util.Map p6)
    {
        org.apache.http.HttpResponse v0_0 = com.google.android.gms.internal.zzw.zzb(p5, p6);
        com.google.android.gms.internal.zzw.zza(v0_0, p6);
        com.google.android.gms.internal.zzw.zza(v0_0, p5.getHeaders());
        this.zza(v0_0);
        org.apache.http.client.HttpClient v1_2 = v0_0.getParams();
        int v2 = p5.zzs();
        org.apache.http.params.HttpConnectionParams.setConnectionTimeout(v1_2, 5000);
        org.apache.http.params.HttpConnectionParams.setSoTimeout(v1_2, v2);
        return this.zzcd.execute(v0_0);
    }

Method com.facebook.react.views.webview.ReactWebViewManager.addEventEmitters() calling method android.webkit.WebView.setWebViewClient()


    protected void addEventEmitters(com.facebook.react.uimanager.ThemedReactContext p3, android.webkit.WebView p4)
    {
        p4.setWebViewClient(new com.facebook.react.views.webview.ReactWebViewManager$ReactWebViewClient(0));
        return;
    }

Method com.facebook.react.views.webview.ReactWebViewManager.setSource() calling method android.webkit.WebView.loadData()


    public void setSource(android.webkit.WebView p19, com.facebook.react.bridge.ReadableMap p20)
    {
        if (p20 == null) {
            p19.loadUrl("about:blank");
        } else {
            if (!p20.hasKey("html")) {
                if (!p20.hasKey("uri")) {
                } else {
                    String v17 = p20.getString("uri");
                    String v16 = p19.getUrl();
                    if ((v16 == null) || (!v16.equals(v17))) {
                        if ((!p20.hasKey("method")) || (!p20.getString("method").equals("POST"))) {
                            java.util.HashMap v10_1 = new java.util.HashMap();
                            if (p20.hasKey("headers")) {
                                com.facebook.react.bridge.ReadableMap v11 = p20.getMap("headers");
                                com.facebook.react.bridge.ReadableMapKeySetIterator v12 = v11.keySetIterator();
                                while (v12.hasNextKey()) {
                                    String v13 = v12.nextKey();
                                    v10_1.put(v13, v11.getString(v13));
                                }
                            }
                            p19.loadUrl(v17, v10_1);
                        } else {
                            byte[] v15 = 0;
                            if (p20.hasKey("body")) {
                                String v8 = p20.getString("body");
                                try {
                                    v15 = v8.getBytes("UTF-8");
                                } catch (java.io.UnsupportedEncodingException v9) {
                                    v15 = v8.getBytes();
                                }
                            }
                            if (v15 == null) {
                                v15 = new byte[0];
                            }
                            p19.postUrl(v17, v15);
                        }
                    }
                }
            } else {
                String v4 = p20.getString("html");
                if (!p20.hasKey("baseUrl")) {
                    p19.loadData(v4, "text/html; charset=utf-8", "UTF-8");
                } else {
                    p19.loadDataWithBaseURL(p20.getString("baseUrl"), v4, "text/html; charset=utf-8", "UTF-8", 0);
                }
            }
        }
        return;
    }

Method com.facebook.react.views.webview.ReactWebViewManager.setSource() calling method android.webkit.WebView.loadUrl()


    public void setSource(android.webkit.WebView p19, com.facebook.react.bridge.ReadableMap p20)
    {
        if (p20 == null) {
            p19.loadUrl("about:blank");
        } else {
            if (!p20.hasKey("html")) {
                if (!p20.hasKey("uri")) {
                } else {
                    String v17 = p20.getString("uri");
                    String v16 = p19.getUrl();
                    if ((v16 == null) || (!v16.equals(v17))) {
                        if ((!p20.hasKey("method")) || (!p20.getString("method").equals("POST"))) {
                            java.util.HashMap v10_1 = new java.util.HashMap();
                            if (p20.hasKey("headers")) {
                                com.facebook.react.bridge.ReadableMap v11 = p20.getMap("headers");
                                com.facebook.react.bridge.ReadableMapKeySetIterator v12 = v11.keySetIterator();
                                while (v12.hasNextKey()) {
                                    String v13 = v12.nextKey();
                                    v10_1.put(v13, v11.getString(v13));
                                }
                            }
                            p19.loadUrl(v17, v10_1);
                        } else {
                            byte[] v15 = 0;
                            if (p20.hasKey("body")) {
                                String v8 = p20.getString("body");
                                try {
                                    v15 = v8.getBytes("UTF-8");
                                } catch (java.io.UnsupportedEncodingException v9) {
                                    v15 = v8.getBytes();
                                }
                            }
                            if (v15 == null) {
                                v15 = new byte[0];
                            }
                            p19.postUrl(v17, v15);
                        }
                    }
                }
            } else {
                String v4 = p20.getString("html");
                if (!p20.hasKey("baseUrl")) {
                    p19.loadData(v4, "text/html; charset=utf-8", "UTF-8");
                } else {
                    p19.loadDataWithBaseURL(p20.getString("baseUrl"), v4, "text/html; charset=utf-8", "UTF-8", 0);
                }
            }
        }
        return;
    }