github ionic-team/capacitor 2.0.0

latest releases: 5.7.5, 6.0.0, 6.0.0-rc.2...
4 years ago

Change log
https://github.com/ionic-team/capacitor/blob/master/CHANGELOG.md#200-2020-04-03

Breaking changes

Camera: Unify saveToGallery default value to false see
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
Camera: unify saveToGallery behavior see
PushNotificationChannel renamed to NotificationChannel 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
Camera: unify saveToGallery behavior see

Don't miss a new capacitor release

NewReleases is sending notifications on new releases.