Skip to content

Commit

Permalink
chore: removed unused deeplink
Browse files Browse the repository at this point in the history
  • Loading branch information
originalix committed Oct 10, 2023
1 parent 2902aef commit eeb3f61
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,7 @@ const WebContent: FC<WebTab & WebViewProps> = ({
)
) {
handleDeepLinkUrl({ url: navUrl });
return false;
}
// canOpenURL may need additional config on android 11+
// https://github.com/facebook/react-native/issues/32311#issuecomment-933568611
// so just try open directly
LinkingOpenUrl(navUrl).catch();
return false;
}
return true;
Expand Down
15 changes: 0 additions & 15 deletions packages/shared/src/consts/urlProtocolConsts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ export const WALLET_CONNECT_DEEP_LINK = `${WALLET_CONNECT_DEEP_LINK_NAME}://`;
export const PROTOCOLS_SUPPORTED_TO_OPEN = [
'http:' as const,
'https:' as const,
'ipfs:' as const,
'localfs:' as const,
// 'file:' as const,

// OneKey legacy
Expand All @@ -19,17 +17,4 @@ export const PROTOCOLS_SUPPORTED_TO_OPEN = [

// lightning network
'lightning:' as const,

// Supported thrid party wallets which was registered in info.plist
'fireblocks-wc:' as const,
'zerion:' as const,
'rainbow:' as const,
'trust:' as const,
'metamask:' as const,
'tpoutside:' as const,
'imtokenv2:' as const,
'bitkeep:' as const,
'oneinch:' as const,
'itms-appss:' as const,
'itms-apps:' as const,
];

0 comments on commit eeb3f61

Please sign in to comment.