Skip to content

Conversation

@sergeysozinov
Copy link
Contributor

@sergeysozinov sergeysozinov requested a review from Copilot August 25, 2025 11:43
Copy link

Copilot AI left a comment

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 implements an automatic initialization system for the Mindbox SDK in React Native Android applications. The implementation uses a ContentProvider to automatically register lifecycle listeners when the app starts, eliminating the need for manual SDK initialization.

  • Automatic SDK initialization through a ContentProvider that registers on app startup
  • Lifecycle monitoring system that tracks React Native context availability and activity events
  • Event-driven architecture for handling push notifications and activity lifecycle changes

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 10 comments.

Show a summary per file
File Description
MindboxSdkLifecycleListener.kt Main lifecycle listener that monitors React Native context and activity events
MindboxSdkLifecycleEvent.kt Event classes for different lifecycle events
MindboxSdkInitProvider.kt ContentProvider for automatic SDK initialization
MindboxEventSubscriber.kt Interface for event subscription
MindboxEventEmitter.kt Implementation that handles events and communicates with native SDK
AndroidManifest.xml Registers the ContentProvider for automatic initialization

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@sergeysozinov sergeysozinov requested a review from enotniy August 26, 2025 10:23
@sergeysozinov sergeysozinov merged commit 66fe3a1 into develop Aug 26, 2025
7 checks passed
@sergeysozinov sergeysozinov deleted the feature/WMSDK-445 branch August 26, 2025 13:02
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