You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR updates the odrcore dependency from version 5.0.2 to 5.0.4 in the Conan configuration file. The change also modifies the shared option from True to False, switching from dynamic to static linking.
The version bump follows semantic versioning (patch release)
Configuration file structure is maintained correctly
No syntax errors or formatting issues
Potential Bugs or Issues ⚠️
Static vs Dynamic Linking Change: The switch from shared=True to shared=False is a significant change that wasn't mentioned in the PR description. This changes the library from dynamic (.so) to static (.a) linking, which could have implications:
APK Size: Static linking will increase the APK size as the library code is embedded directly
Memory Usage: Each process will have its own copy of the library code
Compatibility: Need to ensure all dependent native code is compatible with static linking
Performance Considerations 📊
Static linking benefits: Slightly faster startup time, no runtime dynamic linking overhead
Static linking drawbacks: Larger APK size, higher memory usage if multiple processes use the library
For an Android app, the impact depends on how the native library is used
Security Concerns 🔒
Updating from 5.0.2 to 5.0.4 (patch releases) typically includes bug fixes and security patches
Recommendation: Check the odrcore release notes for any security fixes between 5.0.2 and 5.0.4
Static linking means security updates require rebuilding and redistributing the entire app
Test Coverage 🧪
No test changes included in this PR
Recommendation:
Run the existing test suite: ./gradlew connectedAndroidTest
Verify the app builds correctly: ./gradlew assembleProDebug
Test document loading functionality to ensure the core library works as expected
Compare APK sizes before and after the change
Additional Recommendations
PR Description: Please add a description explaining:
Why the version is being bumped
Why the linking type was changed from shared to static
Any breaking changes or migration steps needed
Changelog Review: It would be helpful to review the odrcore changelog for versions 5.0.3 and 5.0.4 to understand what changes are included
Build Verification: Ensure the native library builds correctly with the new configuration across all supported architectures (armv8, armv7, x86, x86_64)
Verdict
The version bump itself appears straightforward, but the undocumented change from dynamic to static linking raises questions. This change should be intentional and well-understood before merging.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.