Skip to content

修复 bug & 适配 RN

Choose a tag to compare

@KenChoi1992 KenChoi1992 released this 04 Aug 05:38
· 582 commits to master since this release

Change Log

  • 适配 RN 0.47.1
  • 修复 #295

Warnings

升级此版本会导致和 RN 0.47 以下版本不兼容。原因在于 RN 0.47 版本去掉了 ReactPackage 中的 createJSModules 接口方法,而不是标注过期。兼容 RN 0.47 以下解决方案:在 JPushPackage 中加入 createJSModules 的实现:

    @Override
    public List<ViewManager> createJSModules(ReactApplicationContext reactContext) {
        return Collections.emptyList();
    }