diff --git a/.easignore b/.easignore new file mode 100644 index 0000000..5e47857 --- /dev/null +++ b/.easignore @@ -0,0 +1,23 @@ +# Ignore node_modules (handled by EAS) +node_modules/ + +# Ignore build output +build/ +dist/ + +# Ignore local environment files +.env +.env.local + +# Ignore logs +*.log + +# Ignore macOS specific files +.DS_Store + +# Ignore Amplify generated files (if you want to manage them manually) + + +# Ignore other temporary files +tmp/ +temp/ diff --git a/App.tsx b/App.tsx index a9a4ef5..ef7129a 100644 --- a/App.tsx +++ b/App.tsx @@ -1,12 +1,31 @@ import React, { useState } from 'react'; +import { NavigationContainer } from '@react-navigation/native'; import { createBottomTabNavigator } from '@react-navigation/bottom-tabs'; -import { QRCode, QRCodeContext } from './types'; -import AppNavigator from './navigation/AppNavigator'; +import QRScannerScreen from './screens/QRScannerScreen'; +import HistoryScreen from './screens/HistoryScreen'; +import SettingsScreen from './screens/SettingsScreen'; +import { QRCodeContext } from './types'; +import CustomTabBar from './components/CustomTabBar'; + +import { Button } from 'react-native'; +import { Authenticator, useAuthenticator, withAuthenticator } from '@aws-amplify/ui-react-native'; +import { Amplify } from 'aws-amplify'; +import config from './src/aws-exports'; +import { enableScreens } from 'react-native-screens'; + +enableScreens(); + +Amplify.configure(config); + +function SignOutButton() { + const { signOut } = useAuthenticator(); + return