add support for special links #369

Merged
akinwale merged 2 commits from special-uris into master 2018-12-01 23:56:34 +01:00
akinwale commented 2018-11-30 12:33:51 +01:00 (Migrated from github.com)
No description provided.
skhameneh (Migrated from github.com) reviewed 2018-11-30 12:33:51 +01:00
tzarebczan commented 2018-11-30 15:51:07 +01:00 (Migrated from github.com)

Can you add one for ?discover also - a popular one we use on the app just so we can get people to link a link/open the app automatically.

Can you add one for ?discover also - a popular one we use on the app just so we can get people to link a link/open the app automatically.
akinwale commented 2018-11-30 15:59:40 +01:00 (Migrated from github.com)

It defaults to discover if it doesn't match any of the following:

  • verify
  • rewards
  • settings
  • trending
  • wallet
It defaults to discover if it doesn't match any of the following: * verify * rewards * settings * trending * wallet
tzarebczan commented 2018-11-30 16:15:37 +01:00 (Migrated from github.com)

Perfect!

Perfect!
neb-b (Migrated from github.com) reviewed 2018-11-30 17:17:55 +01:00
@ -2,0 +10,4 @@
case Constants.PAGE_SETTINGS: targetRoute = 'Settings'; break;
case Constants.PAGE_TRENDING: targetRoute = 'TrendingStack'; break;
case Constants.PAGE_WALLET: targetRoute = 'WalletStack'; break;
default: targetRoute = 'DiscoverStack'; break;
neb-b (Migrated from github.com) commented 2018-11-30 17:17:55 +01:00

These should probably be constants.

These should probably be constants.
neb-b (Migrated from github.com) approved these changes 2018-11-30 17:17:59 +01:00
akinwale (Migrated from github.com) reviewed 2018-12-01 23:10:29 +01:00
@ -2,0 +10,4 @@
case Constants.PAGE_SETTINGS: targetRoute = 'Settings'; break;
case Constants.PAGE_TRENDING: targetRoute = 'TrendingStack'; break;
case Constants.PAGE_WALLET: targetRoute = 'WalletStack'; break;
default: targetRoute = 'DiscoverStack'; break;
akinwale (Migrated from github.com) commented 2018-12-01 23:10:29 +01:00

Agreed!

Agreed!
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-android#369
No description provided.