framesjs/frames.js

Debugger android deep link issue

julien51 opened this issue · 6 comments

when using the debugger, I am scaning the QR code from my phone but on my android phone, this opens a Google saerch... (deep link issue?)
Similarly, when clicking on the openurl button on my Mac, it does not seem to go anywhere

Screenshot 2024-03-06 at 3 16 13 PM

Same issue here.
the qr code gives me deeplink url like farcaster://... I think it's wrong, at least for the android, and I was able to replace it with https://client.warpcast.com/deeplinks/signed-key-request?token=FOO, which takes me to @mod approval in warpcast client, but then it fails with InvalidMetadata

Ok just managed to try it on ios and got the same error InvalidMetadata 🤔

@Yuripetusko assuming this is on the hosted debugger at https://debugger.framesjs.org, would you mind trying to clear your localstorage using localStorage.clear() in the browser console when on there and trying again? InvalidMetadata sounds like an expired signature

Ok after many failed attempts I finally managed to make it work.

  1. I had incorrect evn var set. FARCASTER_DEVELOPER_ID instead of FARCASTER_DEVELOPER_FID
  2. Once I verified that all envs are passed to frames debugger correctly, I copied the generated sign in link token
  3. Then posted a link in a chat/messanger to myself so I could click it on android https://client.warpcast.com/deeplinks/signed-key-request?token=${token}
  4. Clicked the link on android, this deeplinks to Warpcast. If this worked correctly it shows 2 of your avatars (big one, and then a signed smaller avatar circle), instead of @mod avatar and your avatar
  5. Signed, and success

Thank you for reporting this, will look into adjusting the returned deeplink url to improve the UX for android users

This issue should be resolved in the next release