capacitor-plugins icon indicating copy to clipboard operation
capacitor-plugins copied to clipboard

bug(cloudinary): 16 KB page size

Open Sandervg03 opened this issue 4 months ago • 6 comments

Plugin(s)

  • [ ] Accelerometer
  • [ ] Android Battery Optimization
  • [ ] Android Dark Mode Support
  • [ ] Android Edge-to-Edge Support
  • [ ] Android Foreground Service
  • [ ] App Review
  • [ ] App Shortcuts
  • [ ] App Update
  • [ ] Asset Manager
  • [ ] Audio Recorder
  • [ ] Background Task
  • [ ] Badge
  • [ ] Barometer
  • [ ] Bluetooth Low Energy
  • [x] Cloudinary
  • [ ] Contacts
  • [ ] Datetime Picker
  • [ ] File Compressor
  • [ ] File Opener
  • [ ] File Picker
  • [ ] Live Update
  • [ ] Managed Configurations
  • [ ] NFC
  • [ ] Pedometer
  • [ ] Photo Editor
  • [ ] Posthog
  • [ ] Printer
  • [ ] Screen Orientation
  • [ ] Screenshot
  • [ ] Speech Recognition
  • [ ] Speech Synthesis
  • [ ] SQLite
  • [ ] Torch
  • [ ] Zip

Version

7.0.1

Platform(s)

  • [x] Android
  • [ ] iOS
  • [ ] Web

Current behavior

After updating to v7.0.1, I checked the apk for my android build and got the warning that 3 sources did not support the 16 KB page size requirement. I found the sources to originate from the plugins or sources within the cloudinary plugin.

Expected behavior

The 16 KB page size requirement to be fulfilled

Reproduction

https://github.com/Sandervg03/-capawesome-capacitor-cloudinary-bug-report

Steps to reproduce

  1. In root, run yarn to install dependencies.
  2. Open Android folder in android studio to sync gradle files.
  3. Start app in emulator.
  4. In android studio, click build and analyze APK
Image
  1. You will find the following
Image
  1. Open root folder and remove @capawesome/capacitory-cloudinary from package.json, run yarn and npx cap sync.
  2. Open android folder in android studio, open terminal and run: ./gradlew clean as well as ./gradlew build.
  3. Start app in emulator.
  4. In android studio, click build and analyze APK
Image
  1. You will find the following
Image

Other information

No response

Capacitor doctor

➜ capacitor-app git:(main) yarn cap doctor yarn run v1.22.22 $ /Users/sander/work/capacitor-app/node_modules/.bin/cap doctor 💊 Capacitor Doctor 💊

Latest Dependencies:

@capacitor/cli: 7.4.3 @capacitor/core: 7.4.3 @capacitor/android: 7.4.3 @capacitor/ios: 7.4.3

Installed Dependencies:

@capacitor/ios: not installed @capacitor/cli: 7.4.3 @capacitor/core: 7.4.3 @capacitor/android: 7.4.3

[success] Android looking great! 👌 ✨ Done in 0.92s.

Before submitting

  • [x] I have read and followed the bug report guidelines.
  • [x] I have attached links to possibly related issues and discussions.
  • [x] I understand that incomplete issues (e.g. without reproduction) are closed.

Sandervg03 avatar Sep 10 '25 08:09 Sandervg03

Thank you. This can only be fixed by the Cloudinary SDK. I can see that there is an updated version 3.1.1. Please override the version in Variables and let me know if it helps.

robingenz avatar Sep 10 '25 10:09 robingenz

Thank you. This can only be fixed by the Cloudinary SDK. I can see that there is an updated version 3.1.1. Please override the version in Variables and let me know if it helps.

I just tried this, sadly it has not fixed the issue.

Sandervg03 avatar Sep 10 '25 11:09 Sandervg03

In this case you have to report that issue in https://github.com/cloudinary/cloudinary_android so that we can update the SDK.

robingenz avatar Sep 10 '25 12:09 robingenz

Quick update - 2 weeks ago, they updated to 3.1.2 which fixes the 16 kb page requirement issue.

Sandervg03 avatar Oct 06 '25 12:10 Sandervg03

Thanks for the update. We will publish a fix with the next major update since bumping the dependency version could be a breaking change. For now, you can just manually set the version liek described here.

robingenz avatar Oct 06 '25 12:10 robingenz

Yes that's what I've done for now, thankyou!

Sandervg03 avatar Oct 06 '25 13:10 Sandervg03

Closed by #709

robingenz avatar Dec 15 '25 13:12 robingenz