Skip to content

Commit

Permalink
Finish QR code scanner, still needs some styling changes
Browse files Browse the repository at this point in the history
  • Loading branch information
adityapawar1 committed Oct 5, 2024
1 parent 97b0490 commit 48baa8c
Show file tree
Hide file tree
Showing 6 changed files with 184 additions and 77 deletions.
9 changes: 4 additions & 5 deletions App.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import { StyleSheet, Text, View } from 'react-native';
import { StyleSheet, View } from 'react-native';
import { StatusBar } from 'expo-status-bar';
import Logo from '@/components/Logo';
import QRCodeScanner from '@/components/QRCodeScanner/QRCodeScanner';

export default function App() {
export default function StartPage() {
return (
<View style={styles.container}>
<Logo />
<Text>Open up App.tsx to start working on your app!</Text>
<QRCodeScanner />
<StatusBar style="auto" />
</View>
);
Expand Down
14 changes: 11 additions & 3 deletions app.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
{
"expo": {
"name": "mobile-app-template",
"slug": "mobile-app-template",
"owner": "mobileapptemplate",
"name": "Our City Forest",
"slug": "Our City Forest",
"owner": "ourcityforest",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/bp-icon.png",
"userInterfaceStyle": "light",
"plugins": [
[
"expo-camera",
{
"cameraPermission": "Allow Our City Forest to access your camera to scan QR codes."
}
]
],
"splash": {
"image": "./assets/bp-splash.png",
"resizeMode": "contain",
Expand Down
120 changes: 54 additions & 66 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,11 @@
"@react-navigation/native": "^6.1.18",
"@react-navigation/native-stack": "^6.11.0",
"@supabase/supabase-js": "^2.45.4",
"expo": "~51.0.21",
"expo": "~51.0.36",
"expo-auth-session": "~5.5.2",
"expo-barcode-scanner": "~13.0.1",
"expo-camera": "~15.0.16",
"expo-constants": "~16.0.2",
"expo-device": "~6.0.2",
"expo-linking": "~6.3.1",
"expo-status-bar": "~1.12.1",
"react": "18.2.0",
"react-native": "^0.74.5",
Expand Down
Loading

0 comments on commit 48baa8c

Please sign in to comment.