Skip to content

fix: RN 0.84 compatibility - modernize Android build, add proper stubs#1

Open
macrozone wants to merge 3 commits intomasterfrom
fix/rn-084-compat
Open

fix: RN 0.84 compatibility - modernize Android build, add proper stubs#1
macrozone wants to merge 3 commits intomasterfrom
fix/rn-084-compat

Conversation

@macrozone
Copy link
Copy Markdown
Member

  • 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.
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.

1 participant