Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [SIW-1093] Better handling of platform specific functions #12

Merged
merged 5 commits into from
May 28, 2024

Conversation

LazyAfternoons
Copy link
Contributor

@LazyAfternoons LazyAfternoons commented May 16, 2024

Short description

This PR adds a better handling for platform specific functions.

List of Changes

Use Platform.select functionality to reject the native method promise with a standard error message, called IntegrityErrorUnsupportedError on unsupported platforms. Return the native method promise instead.

Tests have been updated accordingly.

How Has This Been Tested?

Static tests.
Instrumented tests of both iOS and Android physical device.

@LazyAfternoons LazyAfternoons marked this pull request as ready for review May 17, 2024 13:55
Copy link
Contributor

@hevelius hevelius left a comment

Choose a reason for hiding this comment

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

LGTM

@LazyAfternoons LazyAfternoons merged commit 8be92e9 into main May 28, 2024
9 checks passed
@LazyAfternoons LazyAfternoons deleted the SIW-1093-better-platform-specific-code-handling branch May 28, 2024 06:56
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.

2 participants