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

[Bug]: Unable to login with @aws-amplify/ui-react-native #753

Open
awbernardin0 opened this issue Mar 9, 2024 · 1 comment
Open

[Bug]: Unable to login with @aws-amplify/ui-react-native #753

awbernardin0 opened this issue Mar 9, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@awbernardin0
Copy link

awbernardin0 commented Mar 9, 2024

SDK

React-Native

Provide environment information

Unable to login with @aws-amplify/ui-react-native when used together metamask-sdk for React Native.

MetaMask SDK Version

@metamask/sdk-react": "^0.14.2"

MetaMask Mobile app Version

MetaMask v7.14.0(1242)

What browser are you using? (if relevant)

No response

How are you deploying your application? (if relevant)

No response

Describe the Bug

Unable to login with @aws-amplify/ui-react-native when used together metamask-sdk for React Native.

I used the reactNativeDemo repository from https://github.com/MetaMask/metamask-sdk/tree/main/packages/examples/reactNativeDemo
After I integrate aws-amplify I am unable to login

Screenshot 2024-03-09 at 3 09 32 PM

Simulator Screenshot - iPhone 15 Pro - 2024-03-09 at 15 03 35

I have to comment out the SDKConfigProvider and WithSDKConfig for it to work and I was be able to login.

Screenshot 2024-03-09 at 3 09 24 PM

Simulator Screenshot - iPhone 15 Pro - 2024-03-09 at 14 35 35
Simulator Screenshot - iPhone 15 Pro - 2024-03-09 at 15 04 22

Expected Behavior

Should be able to login login with @aws-amplify/ui-react-native when used together metamask-sdk for React Native.

Link to reproduction - Issues with a link to complete (but minimal) reproduction code will be addressed faster

https://github.com/awbernardin0/metamask-sdk/tree/bug/aws-amplify/packages/examples/reactNativeDemo

To Reproduce

Integrate @aws-amplify/ui-react-native in the reactNativeDemo
https://github.com/MetaMask/metamask-sdk/tree/main/packages/examples/reactNativeDemo

Login does not work

@A-Feder A-Feder added the Bug Triage Issues to be triaged in the next session label Mar 12, 2024
@andreahaku
Copy link
Contributor

@A-Feder we don't have official support for it but we'll try to replicate the setup and try to understand what's needed to support it. Thanks for reporting.

@andreahaku andreahaku added enhancement New feature or request and removed Bug Triage Issues to be triaged in the next session labels Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants