Interface NativeLoaderDelegate

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int SKIP_MERGED_JNI_ONLOAD
      Skip calling JNI_OnLoad if the library is merged.
    • Method Summary

      Modifier and Type Method Description
      java.lang.String getLibraryPath​(java.lang.String libName)  
      int getSoSourcesVersion()  
      boolean loadLibrary​(java.lang.String shortName, int flags)  
    • Field Detail

      • SKIP_MERGED_JNI_ONLOAD

        static final int SKIP_MERGED_JNI_ONLOAD
        Skip calling JNI_OnLoad if the library is merged. This is necessary for libraries that don't define JNI_OnLoad and are only loaded for their side effects (like static constructors registering callbacks). DO NOT use this to allow implicit JNI registration (by naming your methods Java_com_facebook_whatever) because that is buggy on Android.
        See Also:
        Constant Field Values