2

i have setup deeplinking in my androidmanifest.xml like this

    <intent-filter android:autoVerify="true">
        <action android:name="android.intent.action.VIEW" />
        <category android:name="android.intent.category.DEFAULT" />
        <category android:name="android.intent.category.BROWSABLE" />
        <data
            android:scheme="https"
            android:host="joinclamp.com"
        />
    </intent-filter>
        <intent-filter android:label="filter_react_native">
        <action android:name="android.intent.action.VIEW" />
        <category android:name="android.intent.category.DEFAULT" />
        <category android:name="android.intent.category.BROWSABLE" />
        <data android:scheme="clampapp" />
    </intent-filter>

now when cliking an https link it opens correctly in my app

but the issue is that my app requires the user to sign in with their wallet app (rainbow wallet or metamask)

const metadata = {
  name: 'Clamp',
  description: 'Clamp mobile app',
  url: 'https://joinclamp.com',
  icons: ['https://joinclam...'],
  redirect: {
    native: 'clampapp://',
  },
};

this is how i have setup the config for the library that mediates between my app and this wallet app

before setting up deeplinking, whenever my app requested user to perform some action in their wallet, they were redirected to the wallet, once the action was complete, they would be redirected to my app

but now the app either takes me to homescreen or takes me to the app from where i had clicked the https link

what to do?

1
  • Which library are you using? Did you try removing the 'redirect' and just wait for the signing to complete?
    – Ismael
    Commented May 16 at 14:52

1 Answer 1

1

This was an emulator related issue, trying this on different physical devices did not result in the same issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.