thundersdata-frontend / td-design

雷数科技前端部门组件库/工具库
http://thundersdata-frontend.github.io/td-design
Apache License 2.0
206 stars 46 forks source link

请问一下,CodePush.notifyAppReady() 的调用时机是在什么时候呀 #724

Closed baixjian closed 11 months ago

baixjian commented 1 year ago
image
chj-damon commented 1 year ago

看文档: https://learn.microsoft.com/en-us/appcenter/distribution/codepush/rn-api-ref notifyAppReady: Notifies the CodePush runtime that an installed update is considered successful. If you're manually checking for and installing updates (that isn't using the sync method to handle it all for you), then this method MUST be called; otherwise CodePush will treat the update as failed and roll back to the previous version when the app next restarts.