Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
904 views
in Technique[技术] by (71.8m points)

codepush 热更新后,ios react-native-webview require('.1.html') 加载失败

  1. codepush热更新后, 入口JS的目录变了
  2. 发布热更新包,html并不会打包进去
  3. html没有像img那样的路径映射

所以会找不到这个html, 请问如何解决这个问题呢?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...