From e29ed841ae8c3b563007bf6432da55051683621a Mon Sep 17 00:00:00 2001 From: Bart Sturm Date: Sun, 13 Sep 2020 10:10:21 -0300 Subject: [PATCH 1/4] Remove text on android 4- and crosswalk --- content/cordova.md | 9 --------- 1 file changed, 9 deletions(-) diff --git a/content/cordova.md b/content/cordova.md index c8f98d9d..135c71f0 100644 --- a/content/cordova.md +++ b/content/cordova.md @@ -56,17 +56,8 @@ Meteor uses WKWebView by default, on both iOS 8 and iOS 9. WKWebView is part of

Android

-The web view situation on Android is a little more complicated. On older Android versions, the included web view is known to be rather slow and buggy. That improved somewhat with Android 4.4, which includes a web view based on Chromium, the open source project behind the Chrome browser. - Android 5.0 also comes with a web view based on Chromium known as the [Android System Web View](https://play.google.com/store/apps/details?id=com.google.android.webview&hl=en), but a big improvement is that it can be automatically updated through the Play Store. This means updates to the web view happen more regularly and are independent of OS updates. -This threatens to leave many older Android devices behind however, because they would be stuck on the web view included with the OS and are often unable to update to newer OS versions. Fortunately, the [Crosswalk plugin](https://crosswalk-project.org/documentation/cordova.html) allows you to embed Chromium in your app and use it instead of the web view that comes with the OS on any of the Android versions supported by Cordova (currently Android 4.0 or higher). Embedding Chromium means the size of your APK will grow by about 20MB, but the benefit is that you can rely on a consistent web view with considerably better performance and enhanced standards support. - -You can add the Crosswalk plugin to your app with `meteor add crosswalk`. -> If you receive an error message trying to run the app on your device after adding or removing the Crosswalk plugin, you may have to remove the existing app from your device first. - -Important: The Crosswalk project is not maintained anymore. The last Crosswalk release was Crosswalk 23. Read more in this [announcement](https://crosswalk-project.org/blog/crosswalk-final-release.html) -

Adding Cordova platforms

Every Meteor project targets a set of platforms. Platforms can be added to a Meteor project with `meteor add-platform`. From 9401fb7879f65995b80f1c65614fcfcab8ad6cb9 Mon Sep 17 00:00:00 2001 From: Bart Sturm Date: Sun, 13 Sep 2020 10:13:26 -0300 Subject: [PATCH 2/4] Rewrite the remaining paragraph --- content/cordova.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/cordova.md b/content/cordova.md index 135c71f0..a9593f6e 100644 --- a/content/cordova.md +++ b/content/cordova.md @@ -56,7 +56,7 @@ Meteor uses WKWebView by default, on both iOS 8 and iOS 9. WKWebView is part of

Android

-Android 5.0 also comes with a web view based on Chromium known as the [Android System Web View](https://play.google.com/store/apps/details?id=com.google.android.webview&hl=en), but a big improvement is that it can be automatically updated through the Play Store. This means updates to the web view happen more regularly and are independent of OS updates. +Android 5.0 and above come with a web view based on Chromium known as the [Android System Web View](https://play.google.com/store/apps/details?id=com.google.android.webview&hl=en), which can be automatically updated through the Play Store. This means updates to the web view can happen regularly and are independent of OS updates.

Adding Cordova platforms

From 79d5dc507f2dabffdd92851fc8d5e6954af94294 Mon Sep 17 00:00:00 2001 From: Bart Sturm Date: Sun, 13 Sep 2020 10:16:59 -0300 Subject: [PATCH 3/4] Replace crosswalk link --- content/cordova.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/cordova.md b/content/cordova.md index a9593f6e..7d892a96 100644 --- a/content/cordova.md +++ b/content/cordova.md @@ -642,7 +642,7 @@ From this point on, the process for building the app archive and submitting it t In order to build your app for Android, you will need to [configure your app](#configuring-your-app) with at least a version number, and the required set of app icons and launch screens. After running `meteor build` the generated APK will be copied from the `/android/project/build/outputs/apk/release` directory to `/android/release-unsigned.apk`. -> If you have installed the [Crosswalk plugin](https://crosswalk-project.org/) you will need to manually copy the APK file `cp ~/build-output-directory/android/project/build/outputs/apk/android-armv7-release-unsigned.apk ~/build-output-directory/android/release-unsigned.apk` +> If you have installed [Crosswalk](https://atmospherejs.com/meteor/crosswalk), you will need to manually copy the APK file `cp ~/build-output-directory/android/project/build/outputs/apk/android-armv7-release-unsigned.apk ~/build-output-directory/android/release-unsigned.apk` Before submitting the APK(s) to the Play Store, you will need to sign the APK and run [`zipalign`](http://developer.android.com/tools/help/zipalign.html) on it to optimize the archive. From 1d3852a63a6690b49a0620bea5038764c1deac70 Mon Sep 17 00:00:00 2001 From: Bart Sturm Date: Sun, 13 Sep 2020 10:21:40 -0300 Subject: [PATCH 4/4] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c11c966a..abe59d90 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ title: Changelog order: 1001 description: A log of significant changes to the Meteor Guide. --- +- 2020/09/13: Removed the section about crosswalk from the Cordova guide - 2020/08/08: Added "Hot Code Push" guide - 2020/04/26: Added "React Native" section to build, and renamed "Mobile" to "Cordova" - 2020/02/03: Added "Preventing unnecessary data retrieval" section to Accounts