Use the App plugin's getInfo() for this information. App information has been removed from getInfo() ( appVersion, appBuild, appId and appName).For text-to-speech capabilities while screen readers are active or not, use Browser On Android and iOS, speak() will only work if a screen reader is currently active.'accessibilityScreenReaderStateChange' event has been renamed to 'stateChange'.isScreenReaderEnabled() method has been renamed to isEnabled().While many of the plugin APIs remain the same to ease the migration process to Capacitor 3, some will require code updates and manual migrations. The Ionic Framework makes use of APIs in the following plugins:įor best user experience with Ionic Framework, you should make sure these plugins are installed even if you don't import them in your app:Ĭopy Backward Incompatible Plugin Changes Follow any instructions in Backward Incompatible Plugin Changes. Change the plugin import to import from the plugin's package instead (see Plugin Imports).Follow the installation instructions for each plugin in the documentation.Search your project for core plugins extracted from the Plugins object from Find the corresponding plugin documentation, keeping in mind that some plugins have been split up.This change will require you to install each plugin that you were using individually. Migrating your app to use the new official plugin packages Dialog window functionality ( alert(), prompt(), and confirm()) moved into Dialog.Action Sheet functionality ( showActions()) moved into Action Sheet.App URL handling ( openUrl() and canOpenUrl()) moved into App Launcher.App-related info and functionality remains in App.VoiceOver and TalkBack functionality moved into Screen Reader.Photos: This undocumented iOS-only plugin has been removed.Permissions: The core team has implemented an alternative to this centralized approach which community plugins may also adopt (see the new Permissions API).The core team will readdress background functionality in the future. Background Task: This plugin appeared to be rarely used and didn't quite work as most devs expected.Copy Background Task, Permissions, and Photos plugins removed
0 Comments
Leave a Reply. |