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

Add setLocalMobileUxConfiguration. #778

Merged
merged 7 commits into from
Aug 10, 2024
Merged

Conversation

ianlin-bbpos
Copy link
Collaborator

Summary

Add new feature of LocalMobileUxConfiguration.

Motivation

To support setting LocalMobileUxConfiguration

Testing

  • I tested this manually
  • I added automated tests

Documentation

Select one:

  • I have added relevant documentation for my changes.
  • This PR does not result in any developer-facing changes.

@ianlin-bbpos ianlin-bbpos requested a review from chr-stripe August 8, 2024 11:43
Comment on lines 545 to 549
export type Colors = {
primary: string;
success: string;
error: string;
};
Copy link
Contributor

Choose a reason for hiding this comment

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

Do the colors have to be specified as a string? I think it would be nice to have them also be provided as an int natively in case that's how someone is storing it.

If specifying this as an int isn't common in React Native in general, I'm peaceful with leaving this as it is 👍

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I've tried use Int, but got a diff value on native side after transfer, seems like a overflow.

src/types/index.ts Show resolved Hide resolved
@nazli-stripe nazli-stripe merged commit 6befaa4 into main Aug 10, 2024
3 checks passed
@nazli-stripe nazli-stripe deleted the bbpos/add-ux-configuration branch September 7, 2024 17:15
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