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

Deep Linking to Mobile App #36

Open
SupperChao opened this issue Jul 31, 2024 · 6 comments
Open

Deep Linking to Mobile App #36

SupperChao opened this issue Jul 31, 2024 · 6 comments

Comments

@SupperChao
Copy link

image
!!!
Write according to the document prompts, change the example link address, open the URL in the dapp, can not enter

@bv-aptos
Copy link

bv-aptos commented Aug 2, 2024

Can you provide more info. We need specific repro steps to understand a little better. Specifically, we are confused with 'can not enter'.

@findmytrueself
Copy link

findmytrueself commented Aug 27, 2024

It's the same issue for me.

I'm going to go to the app using the deep linking method shown in the document on the web page, and I'm going to make a user connection with the link address entered in the browser of the Petra app.

I don't know if it's a bug, but it doesn't go to the link address, only the main page appears. And when I manually enter the page address into Petra Wallet browser, I checked that the page comes out normally and even the connection part.

@Sheharyarkhan1098
Copy link

I have this link to be opened in petra mobile app
https://petra.app/explore?link=https://abc.xyz/abc

but it always opens https://petra.app/explore?link=https://abc.xyz only
and ignore /abc part

@findmytrueself
Copy link

findmytrueself commented Sep 5, 2024

Which browser did you use that deep link?

When I test it on Safari or Chrome browser, the DeepLink doesn't work immediately, all I do is open the Petra app in that app store or play store.

However, I checked available deeplinking through the message received from Slack.

@Sheharyarkhan1098

@Sheharyarkhan1098
Copy link

I have used it from chrome in android.

@Cryptain-Harlock
Copy link

How to connect with Petra mobile app via telegram?

bot.command("connect_wallet", (ctx) => {
  const connectData = base64Encode({
    request: "connect",
    dAppName: "MyDapp",
    description: "Connect to MyDapp to interact with Aptos assets.",
  });

  const walletDeepLink = `petra://api/v1/connect?data=${connectData}`;

  ctx.reply("Click below to connect your Petra Wallet:", {
    reply_markup: {
      inline_keyboard: [
        [{ text: "Connect Petra Wallet", url: walletDeepLink }],
      ],
    },
  });
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants