We're excited to announce that - in conjunction with the the launch of Ionic 4 - we are announcing support for Ionic Framework v4.0.0 Angular applications in Ionic Appflow!
Prerequisites
Before you make use of Appflow with your Ionic 4 application, please ensure you have done the following:
- Update your v4 application to make use of the most recent version of Ionic 4 (as of this writing, the latest release is 4.0.0)
- Note: Ionic v4 applications making use of an Ionic v4 Beta or Release Candidates will not be supported in Appflow.
- To find out what version of v4 your application is using, check your
package.json
file for the@ionic/(framework)
version (ex:@ionic/angular
).- If it still has "beta" or "rc" in the name, you'll need to update your application (ex:
"@ionic/angular": "4.0.0-beta.16"
or"@ionic/angular": "4.0.0-rc.2"
)
- If it still has "beta" or "rc" in the name, you'll need to update your application (ex:
- Note: Ionic v4 applications making use of an Ionic v4 Beta or Release Candidates will not be supported in Appflow.
- Update the Ionic CLI on your local machine:
-
npm install -g ionic@latest
-
- If you're migrating your v3 application to v4, you'll want to ensure you've done the following:
- Remove
ionic-angular
-
npm uninstall ionic-angular
-
- Remove
@ionic/app-scripts
-
npm uninstall @ionic/app-scripts
-
- Update to
@ionic-native
v5.X for any of your native modules
- You will need to update each dependency, not just
@ionic-native/core
. For more information, please see the Ionic Native Github repo.
- You will need to update each dependency, not just
- Remove
Note: For more information about migrating your application to Ionic v4, please check out our Migration Guide.
Feature Notes for Ionic Appflow & Ionic Framework v4.0.0 Angular Applications
Please see the feature notes below to ensure your v4 application is properly set up to work with Appflow:
- Application Types
@ionic/angular
(Angular) v4 applications are supported.- There is currently not support for building applications with other JS frameworks (such as @ionic/react or @ionic/vue) in Appflow.
- Both of these are on our long-term roadmap, but we do not have an ETA for either at this time.
- Deploy
- v4 apps require the latest release of cordova-plugin-ionic (v5.2.10 or higher)
- v4 apps require the latest release of cordova-plugin-ionic-webview
- Ionic recommends using v3.0.0 or higher of the webview if possible if you do not require iOS 10 support. See this article for more details.
- Package
- v4 apps require the latest release of cordova-ios (v4.5.5 or higher)
- v4 apps require the latest release of cordova-android (v7.1.4 or higher)
- Automate
- No known issues or notes
- Environments
- The Node-style
process.env.MY_VAR
style syntax described here is not compatible with v4 apps. For Angular applications, please see the Angular environment docs.
- The Node-style
- Capacitor
- Building with Capacitor in Appflow is not currently supported. Please see this document for more information.
Having trouble?
For a v4 app in Ionic Appflow: Please submit a ticket if you believe you've found a bug with Ionic v4 and Ionic Appflow.
For a bug in the v4 framework: If you believe you've found an Ionic v4 Framework bug, please head over to the Ionic Github repository and post a bug report there with reproduction steps and information so that the team can look into it.
For assistance migrating your v3 (or older) Ionic application to Ionic v4: We have migration assistance services available. Please see this page for more information.
Comments
0 comments
Article is closed for comments.