status-desktop icon indicating copy to clipboard operation
status-desktop copied to clipboard

External join.status.im deep links not launching app

Open glitchminer opened this issue 2 years ago • 1 comments

Bug Report

Description

Found during testing of https://github.com/status-im/status-desktop/pull/6450

Spec for links is at https://github.com/status-im/specs/blob/1597103cb9c246b542db13b7a30bf1110102afc5/docs/draft/17-url-scheme.md

The following links are opening status.im/get instead of

  1. The following URLs are resolving to https://status.im/get instead of loading the app:
  • /browser/[url] (currently implemented using only /browse/ but spec was updated)
  • /pm/[user_pk or ens_name]
  • /p/[chat_key]
  • /private-message/[user_pk or ens_name]
  • /public/[chat_key]
  • /group/[group_name]/u/[user_pk_1 or ens_name_1]/…/u/[user_pk_19 or ens_name_19]
  1. The following URLs are resolving to an error message of Error: Invalid group chat URL: Missing arguments!:
  • /g/[group_name]/u/[user_pk_1 or ens_name_1]/…/u/[user_pk_19 or ens_name_19]

Steps to reproduce

  1. Navigate to an external deep link (eg. https://join.status.im/public/status )
  2. User is redirected to https://status.im/get

Expected behavior

  1. Navigate to an external deep link (eg. https://join.status.im/public/status )
  2. User is redirected to a page where it is possible to follow link to open app image
  3. Status desktop launches

User is taken to a page with the option to open the location in the app:

Actual behavior

User is taken to https://status.im/get or shown an error.

Additional Information

  • Status desktop version: StatusIm-Desktop-220713-174002-0ddf0c-pr6450
  • Operating System: Tested on Windows but all OS applicable
  • Browser: Chrome

glitchminer avatar Jul 25 '22 12:07 glitchminer

I am going to close this ticket, because the set of links has changed. Also there will be a new web site which will handle them correctly.

endulab avatar Oct 14 '22 11:10 endulab