ReactInstanceManager.java 文件源码

java
阅读 35 收藏 0 点赞 0 评论 0

项目:RNLearn_Project1 作者:
private static void initializeSoLoaderIfNecessary(Context applicationContext) {
  // Call SoLoader.initialize here, this is required for apps that does not use exopackage and
  // does not use SoLoader for loading other native code except from the one used by React Native
  // This way we don't need to require others to have additional initialization code and to
  // subclass android.app.Application.

  // Method SoLoader.init is idempotent, so if you wish to use native exopackage, just call
  // SoLoader.init with appropriate args before initializing ReactInstanceManager
  SoLoader.init(applicationContext, /* native exopackage */ false);
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号