240 发简信
IP属地:广东
  • 问题找到了,主要是AppDelegate.m中离线包codepush的代码冲突了。
    #ifdef DEBUG
    //开发包
    jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index.ios" fallbackResource:nil];
    #else
    //离线包
    jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"bundle/index.ios" withExtension:@"jsbundle"];
    #endif

    CodePush热更新详细接入教程

    CodePush热更新组件详细接入教程 什么是CodePush CodePush是一个微软开发的云服务器。通过它,开发者可以直接在用户的设备上部署手机应用更新。CodePus...

  • 我在ios也碰到同样问题。app打开提示有更新,更新后显示新的js。
    但app重启后回到原来的样子。
    求执教。

    CodePush热更新详细接入教程

    CodePush热更新组件详细接入教程 什么是CodePush CodePush是一个微软开发的云服务器。通过它,开发者可以直接在用户的设备上部署手机应用更新。CodePus...