Skip to content

Conversation

trevor-lambert
Copy link
Member

@trevor-lambert trevor-lambert commented Sep 15, 2025

  • Updated PortalViewState.initialContext to HashMap<String, Any?>? to match RN 0.77 toHashMap() change.
  • Normalized HashMaps to Any? internally for compatibility with older RN versions.
  • Expanded nullable let chains (e.g., rnArray.getMap(idx)) to satisfy stricter Kotlin null-safety.

- Updated PortalViewState to use HashMap<String, Any?> for initialContext.
- Normalized HashMaps to Any? to ensure compatibility with older and newer RN versions.
- Expanded nullable let chains (e.g., rnArray.getMap(idx)) to satisfy stricter Kotlin null-safety.
Copy link

vercel bot commented Sep 15, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
react-native-ionic-portals Ready Ready Preview Comment Sep 25, 2025 4:43pm

@trevor-lambert trevor-lambert marked this pull request as ready for review September 15, 2025 01:22
@trevor-lambert trevor-lambert requested review from Copilot and theproducer and removed request for Copilot September 15, 2025 14:59
@trevor-lambert trevor-lambert changed the title fix: handle null-safety and array processing fix: update null-safety and array processing Sep 15, 2025
@trevor-lambert trevor-lambert changed the title fix: update null-safety and array processing fix: update null-safety and array processing, version bump to 0.8.3 Sep 25, 2025
@trevor-lambert trevor-lambert changed the title fix: update null-safety and array processing, version bump to 0.8.3 fix: update null-safety and array processing, bump version to 0.8.3 Sep 25, 2025
@trevor-lambert trevor-lambert merged commit 81e99b6 into main Sep 25, 2025
6 checks passed
@trevor-lambert trevor-lambert deleted the fix/rn-kotlin-nullable branch September 25, 2025 19:46
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