Fixed webview crash issue

This commit is contained in:
Mustafa Buyukcelebi 2019-11-27 19:36:14 +03:00
parent 499abb49bd
commit 6872baec43
5 changed files with 8 additions and 7 deletions

View File

@ -79,7 +79,7 @@ import com.android.build.OutputFile
project.ext.react = [
entryFile: "index.js",
enableHermes: false, // clean and rebuild if changing
enableHermes: true, // clean and rebuild if changing
]
apply from: "../../node_modules/react-native/react.gradle"

View File

@ -13,6 +13,7 @@
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
android:allowBackup="false"
android:largeHeap="true"
android:theme="@style/AppTheme">
<activity
android:name=".MainActivity"

View File

@ -27,7 +27,7 @@ buildscript {
jcenter()
}
dependencies {
classpath("com.android.tools.build:gradle:3.4.2")
classpath('com.android.tools.build:gradle:3.5.2')
classpath 'com.google.gms:google-services:4.0.2'
classpath 'com.bugsnag:bugsnag-android-gradle-plugin:4.+'

View File

@ -74,7 +74,7 @@
"react-native-vector-icons": "^6.6.0",
"react-native-version": "^3.1.0",
"react-native-version-number": "^0.3.5",
"react-native-webview": "^7.2.7",
"react-native-webview": "^7.5.2",
"react-navigation": "^4.0.10",
"react-navigation-drawer": "^2.2.2",
"react-navigation-redux-helpers": "^2.0.8",

View File

@ -7679,10 +7679,10 @@ react-native-version@^3.1.0:
resolve-from "^5.0.0"
semver "^6.0.0"
react-native-webview@^7.2.7:
version "7.4.1"
resolved "https://registry.yarnpkg.com/react-native-webview/-/react-native-webview-7.4.1.tgz#4fe42263506ea06ec56e291dcda8dedf9e900542"
integrity sha512-AVT5HIEEWc/NZdNwXRVev0cAs1Si0O3BA4Crqyor8JbwuxUUCllLv+NK7TO3eOw/ENl+QyIPHu9dizkoycmgJQ==
react-native-webview@^7.5.2:
version "7.5.2"
resolved "https://registry.yarnpkg.com/react-native-webview/-/react-native-webview-7.5.2.tgz#9da3006e03636faaa9d05f3abff46cd40bfb80f9"
integrity sha512-e2ODq2KuTchhATosONNMZIubAzmjWoHg7WK0s1R515PVeKqOc30v6KdJy8IW5/4kw/2aal+Pb7b/F4s1zp6PFQ==
dependencies:
escape-string-regexp "2.0.0"
invariant "2.2.4"