Skip to content

2.0.0-beta.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@jcesarmobile jcesarmobile released this 24 Mar 17:49

Changelog:
https://github.com/ionic-team/capacitor/blob/capacitor.2.0-beta.1/CHANGELOG.md#200-beta1-2020-03-24

Breaking changes in 2.0.0-beta.1

Camera: Unify saveToGallery default value to false see

Breaking changes in 2.0.0-beta.0

Use Android X. Code changed to use Android X and new dependencies.
Only Xcode 11+ support.
Camera: if getPhoto has allowEditing option and the edit is canceled, return the original image see
PushNotifications/LocalNotifications: new method for requesting permissions, they won’t be automatically requested on register method see
Toast: unify duration across platforms, short 2000ms, long 3500ms see
Geolocation (android): use Fused Location Provider on Android. Remove requireAltitude from GeolocationOptions (was not really used) see
Geolocation (ios): change native location accuracy values see
Filesystem: createIntermediateDirectories was removed from MkdirOptions, was deprecated, use recursive instead see
Filesystem: writeFile returns uri instead of nothing see
Filesystem: add recursive option to writeFile, changes behaviour on Android and web see
Filesystem: Removed Application directory because was broken see
Android template: remove unused launch_splash.xml see
Device: Remove batteryLevel and isCharging from getInfo, use getBatteryInfo see
Modals: inputPlaceholder sets a placeholder instead of text see. Use inputText instead see
LocalNotifications: schedule return proper LocalNotificationScheduleResult see
App: AppRestoredResult is optional now, returned only if succeeded, return error otherwise see
Clipboard: Removed ReadOptions see

Template changes:

Android: target SDK 29 see
Android: update gradle and dependencies see
Android X changes also require template changes
Android: use common variables see
iOS: Update template to use Swift 5 (not mandatory) see