Skip to content
Browse files

Remove SoLoaderShim, use SoLoader

SoLoader is more stable on older versions of Android. Switching to it should fix recurring issues that we get such as `UnsatisfiedLinkError` and so on.

CI + run showcase app.
Closes facebook/fresco#1989

Reviewed By: erikandre

Differential Revision: D6556420

Pulled By: foghina

fbshipit-source-id: ffc3faef6452294b4d781258c64ef57e08d107b5
  • Loading branch information...
foghina authored and facebook-github-bot committed Jan 16, 2018
1 parent 1f5bb37 commit fc6dd78935a41106aa6a44058c1abb7d0ba0fa24
Showing with 0 additions and 11 deletions.
  1. +0 −11 ReactAndroid/src/main/java/com/facebook/react/modules/fresco/
@@ -15,7 +15,6 @@

import com.facebook.common.logging.FLog;
import com.facebook.common.soloader.SoLoaderShim;
import com.facebook.drawee.backends.pipeline.Fresco;
import com.facebook.imagepipeline.backends.okhttp3.OkHttpImagePipelineConfigFactory;
import com.facebook.imagepipeline.core.ImagePipelineConfig;
@@ -100,9 +99,6 @@ public void initialize() {
if (!hasBeenInitialized()) {
// Make sure the SoLoaderShim is configured to use our loader for native libraries.
// This code can be removed if using Fresco from Maven rather than from source
SoLoaderShim.setHandler(new FrescoHandler());
if (mConfig == null) {
mConfig = getDefaultConfig(getReactApplicationContext());
@@ -186,11 +182,4 @@ public void onHostDestroy() {

private static class FrescoHandler implements SoLoaderShim.Handler {
public void loadLibrary(String libraryName) {

0 comments on commit fc6dd78

Please sign in to comment.
You can’t perform that action at this time.