Skip to content

Commit

Permalink
fix(connect-examples): local url in mobile example
Browse files Browse the repository at this point in the history
  • Loading branch information
martykan committed Nov 7, 2024
1 parent b249394 commit e436527
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/connect-examples/mobile-expo/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,16 @@ const styles = StyleSheet.create({
export const App = () => {
const [errorData, setErrorData] = useState<any>(null);
const [successData, setSuccessData] = useState<any>(null);
const isEmulator = true;

const initialize = () => {
TrezorConnect.init({
manifest: {
email: '[email protected]',
appUrl: 'http://your.application.com',
},
connectSrc: 'https://dev.suite.sldev.cz/connect/develop/',
// for local development purposes. for production, leave it undefined to use the default value.
connectSrc: isEmulator ? 'trezorsuitelite://connect' : undefined,
deeplinkOpen: url => {
// eslint-disable-next-line no-console
console.log('deeplinkOpen', url);
Expand Down

0 comments on commit e436527

Please sign in to comment.