-
Notifications
You must be signed in to change notification settings - Fork 50
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
feature(wallet-mobile): Redirect universal & deeplinks #3155
Conversation
|
||
import {AppRegistry} from 'react-native' | ||
|
||
import {name} from './app.json' | ||
import {YoroiApp} from './src/YoroiApp' | ||
|
||
enableMapSet() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it makes immer works with sets and maps
|
||
const {setInitialUrl, initialUrl} = useInitialLink() | ||
// exchange | ||
const exchangeManager = React.useMemo(() => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the modal was consuming from a context that doesn't exist
// exchange | ||
const exchangeManager = React.useMemo(() => { | ||
const api = exchangeApiMaker({ | ||
isProduction: action?.info?.params?.isSandbox !== true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
partners should pass isSandbox to avoid misleading actions
@@ -0,0 +1,6 @@ | |||
import {freeze} from 'immer' | |||
|
|||
export const knownApps: Readonly<Map<string, {name: string; vkey: string}>> = freeze( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
explanation in confluence, for trusted communication between client and app.
) | ||
|
||
const value = React.useMemo( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
theme is everywhere and it rarely changes, memoized
fe33067
to
e300892
Compare
No description provided.