浏览器支持
Ionic 最早的目标是让使用 HTML、CSS 和 JavaScript 等网页技术开发移动应用变得简单。由于基于网页技术,Ionic 可以在任何网页运行的地方运行——iOS、Android、浏览器、PWA 等等。
🌐 Ionic's earliest goal was to make it easy to develop mobile apps using web technologies like HTML, CSS, and JavaScript. Because of this foundation in web technologies, Ionic can run anywhere the web runs — iOS, Android, browsers, PWAs, and more.
移动平台
🌐 Mobile Platforms
在追求自适应样式的过程中,Ionic 完全支持并已在以下列出的移动平台上经过充分测试:
🌐 In pursuit of adaptive styling, Ionic fully supports and is well tested on the mobile platforms listed below:
| 框架 | 安卓 | iOS |
|---|---|---|
| Ionic v8 | 5.1+ 搭配 Chromium 89+ | 15.0+ |
| Ionic v7 | 5.1+ 搭配 Chromium 79+ | 14.0+ |
| Ionic v6 | 5.0+ 搭配 Chromium 60+ | 13.0+ |
| Ionic v5 | 5.0+ | 11.0+ |
| Ionic v4 | 4.4+ | 10.0+ |
查看最新的 Android 数据和最 新的 iOS 数据以获取最新的平台信息。
关于 Android 支持的说明
🌐 A Note on Android Support
从 Android 5.0 开始,WebView 被移到了一个可以独立于 Android 更新的单独应用中。这意味着大多数 Android 5.0 及以上设备将运行现代版本的 Chromium。然而,仍然有一部分 Android 设备无法更新它们的 WebView。这些 WebView 通常会停留在设备最初出厂时可用的版本。
🌐 Starting with Android 5.0, the webview was moved to a separate application that can be updated independently of Android. This means that most Android 5.0+ devices are going to be running a modern version of Chromium. However, there are a still a subset of Android devices that are unable to have their webview updated. These webviews are typically stuck at the version that was available when the device initially shipped.
要确定设备正在运行的 webview 版本,请在使用 Chrome 开发者工具检查应用时,将 window.navigator.userAgent 记录到控制台。
🌐 To figure out what version of the webview a device is running, log window.navigator.userAgent to the console when inspecting the application using Chrome Dev Tools.
浏览器
🌐 Browsers
Ionic 支持以下浏览器:
🌐 Ionic supports the following browsers:
| 浏览器 | Ionic v8 | Ionic v7 | Ionic v6 | Ionic v5 | Ionic v4 |
|---|---|---|---|---|---|
| Chrome | 89+ | 79+ | 60+ | ✔ | ✔ |
| Safari | 15+ | 14+ | 13+ | ✔ | ✔ |
| Edge | 89+ | 79+ | 79+ | 79+ | ✔ |
| Firefox | 75+ | 70+ | 63+ | ✔ | ✔ |
| IE 11 | X | X | X | X | X |