v1.4.2-beta
lostintangent
released this
09 Dec 07:24
·
1471 commits
to master
since this release
This is a bug fix release that addresses the following issues and can be immediately acquired via NPM:
- When an error occurs during a call to
sync
(e.g. missing deployment key inInfo.plist
file), that error message is now logged to the console (e.g.adb logcat
, Chrome, Xcode console). Previously, we would only log "Unknown error", which wasn't particularly useful. If an app was callingdone
on thePromise
returned bysync
, any errors would have resulted in a red box, so this issue only really impacted scenarios where the error was being completely swallowed and the console didn't provide any indication of the cause. - We were previously writing the update contents (e.g. JS bundle, images) to the app's
Documents
folder, whereas the iOS guidelines recommend using theLibrary\Application Support
directory for content that shouldn't be end-user visible. Because of this change, you should uninstall your app from any devices or simulators in order to clean out theDocuments
folder. The plugin automatically cleans out old updates when installing a new one, but with this fix, it won't attempt to clean out theDocuments
folder anymore. This won't impact any user experience, however, it's just for cleanliness sake. - The iOS plugin was erroneously giving priority to the JS bundle contained in the binary in some instances. If you're installing an update but still seeing an older version of your app after restarting, it it likely this bug, and you should update your NPM dependency to this release.