Skip to content

MOBILE-283: remove default domain#210

Merged
enotniy merged 1 commit into
developfrom
feature/MOBILE-283
Jul 16, 2026
Merged

MOBILE-283: remove default domain#210
enotniy merged 1 commit into
developfrom
feature/MOBILE-283

Conversation

@enotniy

@enotniy enotniy commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

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

Removes the implicit Android default API domain from the React Native Mindbox SDK initialization path, making the domain explicitly required to align with the public JS types and initialization contract.

Changes:

  • Updated Android native initialization to require domain and endpointId from the initialization payload (no fallback defaults).
  • Updated the JS documentation example to use a placeholder domain rather than api.mindbox.ru.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/index.tsx Updates the initialization JSDoc example domain to a non-default placeholder.
android/src/main/java/com/mindboxsdk/MindboxSdkModule.kt Removes the default domain/endpointId values, requiring both keys in the payload.

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

@justSmK justSmK left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Не забудь пожалуйста про ветку new-arch

@enotniy
enotniy merged commit 24612e9 into develop Jul 16, 2026
7 checks passed
@enotniy
enotniy deleted the feature/MOBILE-283 branch July 16, 2026 09:27
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