Skip to content

Upgrade native 2025 - #1213

Closed
shankari wants to merge 2 commits into
masterfrom
upgrade_native_2025
Closed

Upgrade native 2025#1213
shankari wants to merge 2 commits into
masterfrom
upgrade_native_2025

Conversation

@shankari

Copy link
Copy Markdown
Contributor

No description provided.

These updates are consistent with the investigation in
e-mission/e-mission-docs#1137 (comment)

The upgrades are:
- in `package.json` and `package-lock.json`:
    - upgrade the android platform
    - upgrade the push, device and file plugins
- in `android_sdk_packages`
    - upgrade build tools
    - install the api-35 images
- in `export_shared_dep_versions`
    - upgrade `nvm` and `node`
    - upgrade `ruby` and `cocoapods`
    - fix the location of the ruby path
- in `config.cordovabuild.xml`, removed the pinned kotlin version to use the default instead
e-mission/e-mission-docs#1137 (comment)
e-mission/e-mission-docs#1137 (comment)
e-mission/e-mission-docs#1137 (comment)

Testing done:
- Cleared out everything
```
$ rm -rf ~/Library/Android/sdk
$ rm -rf platforms
$ rm -rf plugins
$ rm -rf node_modules
```

- Installed everything

```
$ bash setup/prereq_android_sdk_install.sh
$ bash setup/setup_native.sh
...
Found       26 plugins, expected 26
All plugins installed successfully!
```

- Activated and built

```
$ source setup/activate_native.sh
$ npm run build-dev
** BUILD SUCCEEDED **
```
Older images can be installed manually if needed.
This should allow the automated test, which is currently failing due to lack of resources,
to succeed again. It currently fails with

```
[================================       ] 81% Unzipping... x86/system.img
Warning: An error occurred while preparing SDK package Google Play Intel x86 Atom System Image: No space left on device.

[================================       ] 81% Unzipping... x86/system.img
END: Done with android SDK download, exiting script
```
@shankari

Copy link
Copy Markdown
Contributor Author

This PR was created because some of the checks were being skipped in #1212 (note that this only has 4 checks). Based on a session with copilot, apparently sometimes checks only work properly if run from a branch on the same repo. I was 99% sure that was not the problem, but I tried it just in case.

It wasn't the problem.
The problem was that several of the actions had been disabled because there were not many changes to this repo recently, but there was no warning of that until I went to the Actions tab.
Filed an enhancement actions/toolkit#2117 for Github to fix this

@JGreenlee JGreenlee closed this Aug 14, 2025
@github-project-automation github-project-automation Bot moved this to Tasks completed in OpenPATH Tasks Overview Aug 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Tasks completed

Development

Successfully merging this pull request may close these issues.

2 participants