Using:
I end up with a build of API Level 30, we need API Level 33 to upload to google play:
Basically needs to build for android v13 or else it is useless.
FYI: on windows, the build only works if every time you run the build command, you first rename a file:
Or else it fails to run ‘version’ (a javascript file) , witch for some reason gets created each time without the extention .js
I feel like Meteor cordova is… falling so far behind.
Here is a post on getting to API Level 31 / android v12 (which is no longer good enough)… with some work arounds
New level API 31
More on cordova-android supporting API Level 33
" You may still be able to target SDK 33 with cordova-android@11 using android-targetSdkVersion
preference, but cordova-android@11 is untested with SDK 33."
opened 11:34AM - 03 Apr 23 UTC
closed 07:03PM - 03 Apr 23 UTC
Could you please share release plan for Android 13 (API level 33) and Android 14… support for Cordova since as per documentation only below is available :
cordova-android Version | Supported Android API-Levels | Equivalent Android Version
-- | -- | --
11.X.X | 22 - 32 | 5.1 - 12.0.0 (L)
I have tried with:
java version “1.8.0_391”
Java™ SE Runtime Environment (build 1.8.0_391-b13)
Java HotSpot™ 64-Bit Server VM (build 25.391-b13, mixed mode)
and also Java v21
Gradle v.8.4
Does anyone know if this is possible?
further links to the issue when it was still only API Level 31 required:
opened 12:57PM - 11 Aug 22 UTC
closed 03:06PM - 19 Oct 22 UTC
Project:Mobile
<!--
Before reporting a bug, please check for existing or closed issues
first … and read the instructions for filing a bug report:
https://github.com/meteor/meteor/blob/devel/CONTRIBUTING.md#reporting-a-bug-in-meteor
### This bug report should include:
- [ ] A short, but descriptive title. The title doesn't need "Meteor" in it.
- [ ] The version of Meteor showing the problem.
- [ ] The last version of Meteor where the problem did _not_ occur, if applicable.
- [ ] The operating system you're running Meteor on.
- [ ] The expected behavior.
- [ ] The actual behavior.
- [ ] A **simple** reproduction! (Must include the Github repository and steps to reproduce the issue on it.)
If you don't include a reproduction the issue is probably going to be closed.
### Independent packages
Please ensure your issue is opened in the appropriate repository:
* Feature Requests: https://github.com/meteor/meteor/discussions
* Blaze: https://github.com/meteor/blaze/
* Galaxy Guide: https://github.com/meteor/galaxy-docs/
-->
The new play store requirements (https://developer.android.com/google/play/requirements/target-sdk) states that new apps (for now) should target API 31 of Android. Starting from november, all apps (new apps or updates) will need to target API 31.
For that to work, we need to add the `android:exported` flag to the main activity that cordova generates.
This is already done in the `cordova-android` repository, and has been out since `10.1.2`. Meteor is using the `10.1.1` version, so we need to update this one at least one version.
This is quite critical, since will block new apps from being created/updated.
Will create the PR for the update here, should be quite simple.
EDIT:
The following workaround works inside the `App.AppendToConfig`:
```
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application/activity" xmlns:android="http://schemas.android.com/apk/res/android">
<activity android:exported="true"></activity>
</edit-config>
```
But besides that, you also need to compile/build the app using Java 11 and also with the latest cmdline-tools from the SDK.
For more info, check https://github.com/meteor/meteor/issues/12126#issuecomment-1212373864
xet7
November 14, 2023, 10:39pm
2
@theslantedroom
Use pwabuilder to build new package to submit to Play Store. Works with newest API level.
WeKan is Open Source kanban
https://wekan.github.io
Using favicons etc at wekan/public directory of this repo:
The Open Source kanban (built with Meteor). Keep variable/table/field names camelCase. For translations, only add Pull Request changes to wekan/i18n/en.i18n.json , other translations are done at ht...
Apps at Play Store, Windows Desktop MS Store, and Ubuntu Touch OpenStore
The Open Source kanban (built with Meteor). Keep variable/table/field names camelCase. For translations, only add Pull Request changes to wekan/i18n/en.i18n.json , other translations are done at ht...
Or alternatively, manually make PWA icon to mobile etc
The Open Source kanban (built with Meteor). Keep variable/table/field names camelCase. For translations, only add Pull Request changes to wekan/i18n/en.i18n.json , other translations are done at ht...
Or use at big touchscreen
The Open Source kanban (built with Meteor). Keep variable/table/field names camelCase. For translations, only add Pull Request changes to wekan/i18n/en.i18n.json , other translations are done at ht...
@theslantedroom Did you figure this out? I’ve run into the same problem.
No I did not. I see there was recently some suggestions on how to do it… but I have not tried. Using capacitor and ditched meteor for that project.