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

Testing Integration Issue with Aarna Builder #1018

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

EdouardBougon
Copy link
Contributor

@EdouardBougon EdouardBougon commented Sep 10, 2024

This PR demonstrate an issue with the iOS app crashing when using ethers version 5 or 6, in combination with the infuraApiKey option for Metamask.
On Android, this option causes Metamask Mobile to crash or become very unstable.

•	First Commit: Demonstrates a working example of signing a message using ethers.
•	Second Commit: Adds the `infuraApiKey` option to the same demo, which causes the `Metamask-ios-sdk` to crash at `Network.swift:46`.

See the screenshot below:
Screenshot 2024-09-10 at 10 19 54

@EdouardBougon EdouardBougon added the bug Something isn't working label Sep 10, 2024
@EdouardBougon EdouardBougon requested a review from a team as a code owner September 10, 2024 08:50
elefantel added a commit to MetaMask/metamask-mobile that referenced this pull request Sep 12, 2024
<!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until the template has been
completely filled out, and PR status checks have passed at least once.
-->

## **Description**

This PR updates the nativesdk library used by the Android SDK as the
server-side component. This version has improved concurrent event
handling.

## **Related issues**

Addresses issue reported in [Testing Integration Issue with Aarna
Builder](MetaMask/metamask-sdk#1018)

## **Manual testing steps**

1. Go to this page...
2.
3.

## **Screenshots/Recordings**

<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->

### **Before**

<!-- [screenshots/recordings] -->

### **After**

<!-- [screenshots/recordings] -->

## **Pre-merge author checklist**

- [x] I’ve followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Mobile
Coding
Standards](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/CODING_GUIDELINES.md).
- [x] I've completed the PR template to the best of my ability
- [ ] I’ve included tests if applicable
- [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [x] I’ve applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.

## **Pre-merge reviewer checklist**

- [x] I've manually tested the PR (e.g. pull and build branch, run the
app, test code being changed).
- [] I confirm that this PR addresses all acceptance criteria described
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant