diff --git a/example/.gitignore b/example/.gitignore index 772ef297e..7cdd9d463 100644 --- a/example/.gitignore +++ b/example/.gitignore @@ -15,3 +15,6 @@ web-build/ # Temporary files created by Metro to check the health of the file watcher .metro-health-check* + +# Environment settings +.env diff --git a/example/App.tsx b/example/App.tsx index fa7d87dd0..6bdcf25bf 100644 --- a/example/App.tsx +++ b/example/App.tsx @@ -9,68 +9,88 @@ import HomeScreen from './src/HomeScreen' import LaunchScreen from './src/LaunchScreen' import { Navigator } from './src/Navigation' import TestScreen from './src/TestScreen' +import { ThirdwebProvider, metamaskWallet, rainbowWallet } from '@thirdweb-dev/react-native' +import { Ethereum } from '@thirdweb-dev/chains' +import Config from 'react-native-config' const queryClient = new QueryClient() + export default function App() { + // Uncomment below to ensure correct id loaded from .env + // console.log("Thirdweb client id: " + Config.THIRD_WEB_CLIENT_ID) return ( - - - - - - - ({ - title: 'My Conversations', - headerStyle: { - backgroundColor: 'rgb(49 0 110)', - }, - headerTintColor: '#fff', - headerTitleStyle: { - fontWeight: 'bold', - }, - headerRight: () => ( -