Java Code Examples for com.facebook.soloader.SoLoader#init()

The following examples show how to use com.facebook.soloader.SoLoader#init() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: LithoSampleApplication.java    From litho with Apache License 2.0 6 votes vote down vote up
@Override
public void onCreate() {
  super.onCreate();

  Fresco.initialize(this);
  SoLoader.init(this, false);

  if (FlipperUtils.shouldEnableFlipper(this)) {
    final FlipperClient client = AndroidFlipperClient.getInstance(this);
    final DescriptorMapping descriptorMapping = DescriptorMapping.withDefaults();
    LithoFlipperDescriptors.add(descriptorMapping);
    client.addPlugin(new InspectorFlipperPlugin(this, descriptorMapping));
    client.addPlugin(new SectionsFlipperPlugin(true));
    client.start();
  }
}
 
Example 2
Source File: MainApplication.java    From react-native-youtube with MIT License 4 votes vote down vote up
@Override
public void onCreate() {
  super.onCreate();
  SoLoader.init(this, /* native exopackage */ false);
  initializeFlipper(this); // Remove this line if you don't want Flipper enabled
}
 
Example 3
Source File: SampleApplication.java    From litho with Apache License 2.0 4 votes vote down vote up
@Override
public void onCreate() {
  super.onCreate();

  SoLoader.init(this, false);
}
 
Example 4
Source File: MainApplication.java    From react-native-pixel-color with MIT License 4 votes vote down vote up
@Override
public void onCreate() {
  super.onCreate();
  SoLoader.init(this, /* native exopackage */ false);
}
 
Example 5
Source File: MainApplication.java    From react-native-sim-data with MIT License 4 votes vote down vote up
@Override
public void onCreate() {
  super.onCreate();
  SoLoader.init(this, /* native exopackage */ false);
}
 
Example 6
Source File: MainApplication.java    From my-first-realm-app with Apache License 2.0 4 votes vote down vote up
@Override
public void onCreate() {
  super.onCreate();
  SoLoader.init(this, /* native exopackage */ false);
}
 
Example 7
Source File: MainApplication.java    From react-native-jitsi-meet with Apache License 2.0 4 votes vote down vote up
@Override
public void onCreate() {
  super.onCreate();
  SoLoader.init(this, /* native exopackage */ false);
  initializeFlipper(this, getReactNativeHost().getReactInstanceManager());
}
 
Example 8
Source File: MainApplication.java    From react-native-turbolinks with MIT License 4 votes vote down vote up
@Override
public void onCreate() {
  super.onCreate();
  SoLoader.init(this, /* native exopackage */ false);
  initializeFlipper(this, getReactNativeHost().getReactInstanceManager());
}
 
Example 9
Source File: MainApplication.java    From onfido-sdk-react-native-sample-app with MIT License 4 votes vote down vote up
@Override
public void onCreate() {
  super.onCreate();
  SoLoader.init(this, /* native exopackage */ false);
}
 
Example 10
Source File: MainApplication.java    From react-native-android-wifi with ISC License 4 votes vote down vote up
@Override
public void onCreate() {
  super.onCreate();
  SoLoader.init(this, /* native exopackage */ false);
}
 
Example 11
Source File: MainApplication.java    From react-native-image-filter-kit with MIT License 4 votes vote down vote up
@Override
public void onCreate() {
  super.onCreate();
  SoLoader.init(this, /* native exopackage */ false);
  initializeFlipper(this, getReactNativeHost().getReactInstanceManager());
}
 
Example 12
Source File: MainApplication.java    From react-native-android-fragment with Apache License 2.0 4 votes vote down vote up
@Override
public void onCreate() {
  super.onCreate();
  SoLoader.init(this, /* native exopackage */ false);
}
 
Example 13
Source File: LithoGlideSampleApp.java    From litho-glide with MIT License 4 votes vote down vote up
@Override
public void onCreate() {
  super.onCreate();

  SoLoader.init(this, false);
}
 
Example 14
Source File: MainApplication.java    From react-native-tcp-socket with MIT License 4 votes vote down vote up
@Override
public void onCreate() {
  super.onCreate();
  SoLoader.init(this, /* native exopackage */ false);
  initializeFlipper(this, getReactNativeHost().getReactInstanceManager());
}
 
Example 15
Source File: MainApplication.java    From art with MIT License 4 votes vote down vote up
@Override
public void onCreate() {
  super.onCreate();
  SoLoader.init(this, /* native exopackage */ false);
}
 
Example 16
Source File: MainApplication.java    From react-native-multibundler with The Unlicense 4 votes vote down vote up
@Override
public void onCreate() {
  super.onCreate();
  SoLoader.init(this, /* native exopackage */ false);
}
 
Example 17
Source File: InstrumentationApp.java    From litho with Apache License 2.0 4 votes vote down vote up
@Override
public void onCreate() {
  super.onCreate();

  SoLoader.init(this, false);
}
 
Example 18
Source File: MainApplication.java    From react-native-rtmpview with MIT License 4 votes vote down vote up
@Override
public void onCreate() {
  super.onCreate();
  SoLoader.init(this, /* native exopackage */ false);
}
 
Example 19
Source File: MainApplication.java    From react-native-sockets with MIT License 4 votes vote down vote up
@Override
public void onCreate() {
  super.onCreate();
  SoLoader.init(this, /* native exopackage */ false);
}
 
Example 20
Source File: MainApplication.java    From react-native-video with MIT License 4 votes vote down vote up
@Override
public void onCreate() {
  super.onCreate();
  SoLoader.init(this, /* native exopackage */ false);
}