fix: RN 0.84 compatibility - modernize Android build, add proper stubs#1
Open
fix: RN 0.84 compatibility - modernize Android build, add proper stubs#1
Conversation
Member
macrozone
commented
Mar 24, 2026
- Remove buildscript block (AGP/Kotlin provided by root project in RN 0.84)
- Remove complex repository resolution block (not needed with modern RN)
- Replace deprecated kotlin-android with org.jetbrains.kotlin.android
- Replace deprecated lintOptions with lint block
- Update Java compatibility to VERSION_17
- Replace useless multiply() stub with proper no-op implementations for startActivity, listAllActivities, endActivity, updateActivity
- Update gradle.properties defaults for modern SDK versions
- Update podspec: minimum iOS 16.1, point source to panter fork
- Bump version to 0.3.0
- Remove buildscript block (AGP/Kotlin provided by root project in RN 0.84) - Remove complex repository resolution block (not needed with modern RN) - Replace deprecated kotlin-android with org.jetbrains.kotlin.android - Replace deprecated lintOptions with lint block - Update Java compatibility to VERSION_17 - Replace useless multiply() stub with proper no-op implementations for startActivity, listAllActivities, endActivity, updateActivity - Update gradle.properties defaults for modern SDK versions - Update podspec: minimum iOS 16.1, point source to panter fork - Bump version to 0.3.0
The Swift code already has @available(iOS 16.1, *) runtime guards, so the podspec doesn't need to enforce the minimum at install time. This allows the pod to install in apps with a lower deployment target.
RCT-Folly and other new arch deps were removed in RN 0.84. This library uses the old bridge pattern (RCT_EXTERN_MODULE) which works via RN's interop layer without these dependencies.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.