Skip to content

[Bug]: Does not redirect back to my app #1368

@VijiHithub

Description

@VijiHithub

SDK

React-Native

Provide environment information

We are developing a React Native application under the DEX module and are currently facing issues with the MetaMask SDK integration.

The connection between our mobile application and MetaMask works fine initially.

However, when performing a transaction, we encounter a session engagement issue during the token contract approval process. The MetaMask SDK remains in a loading state for over an hour without completing the transaction.

Additionally, when attempting multiple connection requests on Android, the SDK automatically returns a “user rejection” response, even though the user has not manually rejected the request.

Kindly look into these issues and suggest a possible solution or workaround.

MetaMask SDK Version

7.56.4

MetaMask Mobile app Version

34

What browser are you using? (if relevant)

No response

How are you deploying your application? (if relevant)

No response

Describe the Bug

We are developing a React Native application under the DEX module and are currently facing issues with the MetaMask SDK integration.

The connection between our mobile application and MetaMask works fine initially.

However, when performing a transaction, we encounter a session engagement issue during the token contract approval process. The MetaMask SDK remains in a loading state for over an hour without completing the transaction.

Additionally, when attempting multiple connection requests on Android, the SDK automatically returns a “user rejection” response, even though the user has not manually rejected the request.

Kindly look into these issues and suggest a possible solution or workaround.

Expected Behavior

After confirming the connection, it does not redirect back to my app. Is this the expected behavior,

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

No response

To Reproduce

When I click the Connect button, it correctly redirects to the MetaMask app and shows the connection confirmation popup. However, after confirming the connection, it does not redirect back to my app

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions