Skip to content

RMET-3602 ::: Support 16KB page size devices#1

Merged
OS-pedrogustavobilro merged 25 commits intomasterfrom
fix/RMET-3602/support-16KB-page-size
Dec 10, 2024
Merged

RMET-3602 ::: Support 16KB page size devices#1
OS-pedrogustavobilro merged 25 commits intomasterfrom
fix/RMET-3602/support-16KB-page-size

Conversation

@OS-pedrogustavobilro
Copy link
Copy Markdown

@OS-pedrogustavobilro OS-pedrogustavobilro commented Dec 9, 2024

Description

Update the Android build scripts, configuration, and source code for the Card IO Android SDK, to be built with support for 16KB page size devices, introduced in Android 15.

This involved mainly

Other changes basically involved code cleanups and some dependency updates.

Context

Type of changes

  • Fix (non-breaking change which fixes an issue)
  • Feature (non-breaking change which adds functionality)
  • Refactor (cosmetic changes)
  • Breaking change (change that would cause existing functionality to not work as expected) -> The code in card.io Android SDK needs to be updated for the project to build.

Platforms affected

  • Android
  • iOS
  • JavaScript
  • C++

Checklist

  • Pull request title follows the format RNMT-XXXX <title>
  • Code follows code style of this project
  • CHANGELOG.md file is correctly updated
  • Changes require an update to the documentation
    • Documentation has been updated accordingly

Up to Android 14. Failing to compile with compileSdk=35 and edge-to-edge (targerSdkVersion=35) was fixed in cordova plugin, not here.

References:

- https://outsystemsrd.atlassian.net/browse/RMET-3602
- https://outsystemsrd.atlassian.net/wiki/spaces/RDME/pages/4426137659/iOS+18+Android+15+Assessment
#Thu Nov 14 17:42:41 WET 2024
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we point to a newer version than 7.0.2? Also, shouldn't we point to an all distribution instead of a bin?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure why I didn't update at least the minor version of Gradle and AGP. If I recall there was some issue when I tried to update the version, but I tried just now and it was fine.

Actually ended up updating gradle to the latest version, fixed the breaking changes, weren't that many.

As for using all instead of bin, yeah I see no issue with that, I don't think it makes that much of a difference for us, it just comes with the documentation instead of just binaries - but yeah I changed it

Done in fc7a46b

Also involved some fixes given there were breaking changes with the update of gradle / agp (7.X to 8.X)

- Update JDK from 11 to 17
- Update build tools version to latest
- Add namespace to gradle modules
- Explicitly enable buildConfig in card.io module
- Update way of setting classifier for gradle tasks

References:

- https://outsystemsrd.atlassian.net/browse/RMET-3602
- https://outsystemsrd.atlassian.net/wiki/spaces/RDME/pages/4426137659/iOS+18+Android+15+Assessment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants