Skip to content

Commit

Permalink
Merge pull request #11 from ravikp/so_loader_fix
Browse files Browse the repository at this point in the history
chore: fix Android SoLoader occasional crash on app re-install
  • Loading branch information
ravikp authored Mar 7, 2023
2 parents 8867f3c + 52e0f5c commit 4c6afd6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
//noinspection GradleDynamicVersion
implementation "com.facebook.react:react-native:+"// From node_modules
implementation 'com.facebook.soloader:soloader:0.10.1+'

def isGifEnabled = (findProperty('expo.gif.enabled') ?: "") == "true";
def isWebpEnabled = (findProperty('expo.webp.enabled') ?: "") == "true";
Expand Down
5 changes: 5 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ allprojects {
// Android JSC is installed from npm
url(new File(["node", "--print", "require.resolve('jsc-android/package.json')"].execute(null, rootDir).text.trim(), "../dist"))
}
configurations.all {
resolutionStrategy {
force "com.facebook.soloader:soloader:0.10.1"
}
}

google()
gradlePluginPortal()
Expand Down

0 comments on commit 4c6afd6

Please sign in to comment.