Skip to content

WMSDK-556: support RN 0.82 for simple integration - #132

Merged
sergeysozinov merged 1 commit into
developfrom
feature/WMSDK-556
Nov 20, 2025
Merged

sergeysozinov merged 1 commit into
developfrom
feature/WMSDK-556

Conversation

@sergeysozinov

Copy link
Copy Markdown
Collaborator

@sergeysozinov sergeysozinov changed the title WMSDK-553: support RN 0.82 for simple integration WMSDK-556: support RN 0.82 for simple integration Nov 19, 2025

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for React Native 0.82 by implementing a fallback mechanism for the ReactInstanceManager retrieval in the Mindbox SDK's lifecycle listener. The change wraps the existing ReactInstanceManager access in a runCatching block to gracefully handle failures that may occur in newer React Native versions (bridgeless mode).

  • Added error handling with runCatching for ReactInstanceManager retrieval
  • Implemented logging when ReactInstanceManager is unsupported
  • Returns null on failure to support bridgeless architecture

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread android/src/main/java/com/mindboxsdk/MindboxSdkLifecycleListener.kt
@sergeysozinov
sergeysozinov merged commit a947502 into develop Nov 20, 2025
10 checks passed
@sergeysozinov
sergeysozinov deleted the feature/WMSDK-556 branch November 20, 2025 08:41
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