Skip to content

Conversation

Aiuspaktyn
Copy link

Added support to Android API 36 & 16 KB pagination

robinshi-mega and others added 14 commits January 6, 2025 14:50
…ter'

AND-20185 Upgrade with latest Pdfium

Closes AND-20185

See merge request mobile/android/feature-libraries/pdfiumandroid!1
* submit the pre-built binaries for libpng and libfreetype2
* Add build-3rdparty.sh script to build the 2 libraries from source code
…ter'

AND-20185 rebuild libpng and libfreetype2

Closes AND-20185

See merge request mobile/android/feature-libraries/pdfiumandroid!2
* build everything(libpng, freetype2, PdfiumAndroid) and deploy the .so files to MEGA code.
  * `bash build.sh  --build-png --build-freetype --deploy-to-mega PATH/TO/MEGA/ANDROID/CODE`
* only build PdfiumAndroid and deploy the .so files to MEGA code.
  * `bash build.sh  --deploy-to-mega PATH/TO/MEGA/ANDROID/CODE`
- Updated to Android SDK 35 and NDK 28
- Fixed BuildConfig generation for AGP 8.9.2+
- Added Java 17 support via gradle.properties
- Fixed native library packaging in AAR
- Updated build.sh to copy libjniPdfium.so correctly
- Added 16KB page size support for Android 15
- Updated README with comprehensive build instructions
- Fixed jniLibs.srcDir path for proper .so inclusion
- Added VERSION_NAME to BuildConfig for library modules
- Removed deprecated package attribute from AndroidManifest.xml
- Bump version from 1.9.0 to 2.0.0 due to significant build layer changes
- Configure AAR filename to include version: PdfiumAndroid-2.0.0-release.aar
- Update README with version 2.0.0 references and rationale
- Add libraryVariants configuration for versioned output filename
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