superhero-com / superhero-wallet

Superhero is a multi-blockchain wallet to manage crypto assets and navigate the web3 and DeFi space. Currently supporting Bitcoin, Ethereum and æternity blockchains.
https://wallet.superhero.com
ISC License
40 stars 38 forks source link

Example aepp can't iteract with SW on iOS #2993

Closed davidyuk closed 6 months ago

davidyuk commented 6 months ago

Describe the bug When Example aepp requests wallet to sign something, wallet receives the request. Then it shows me confirmation modal. If I approve the modal closes, but aepp gets a RpcNotAuthorizeError (actually, before showing confirmation modal).

To Reproduce Steps to reproduce the behavior:

  1. Create a new account
  2. Click on Globe icon
  3. Navigate to https://docs.aeternity.com/aepp-sdk-js/v13.3.2/examples/browser/aepp/
  4. Press "Connect"
  5. Confirm connection an aepp, and wallet sides
  6. Open "Basic functionality"
  7. Enter a message to sign
  8. Confirm message signing
  9. See "RpcNotAuthorizeError: You are not connected to the wallet"

Expected behavior The same as on Android and web, it should show signature, like

Message sign result
{
  "type": "Buffer",
  "data": [
    167,
    245,

Screenshots

Smartphone

Liubov-crypto commented 6 months ago

Also reproducible on v.2.2.5