MetaMask / metamask-sdk

The simplest yet most secure way to connect your blockchain-based applications to millions of MetaMask Wallet users.
https://metamask.io/sdk/
Other
188 stars 115 forks source link

Testing Integration Issue with Aarna Builder #1018

Open EdouardBougon opened 2 months ago

EdouardBougon commented 2 months ago

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