-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into ocf-18-qr-gen-edge
- Loading branch information
Showing
40 changed files
with
9,769 additions
and
9,313 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,10 @@ node_modules/ | |
dist/ | ||
web-build/ | ||
|
||
# Platforms | ||
ios/ | ||
android/ | ||
|
||
# Native | ||
*.orig.* | ||
*.jks | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,26 @@ | ||
import { StyleSheet, Text, View } from 'react-native'; | ||
import { StatusBar } from 'expo-status-bar'; | ||
import Logo from '@/components/Logo'; | ||
import React from 'react'; | ||
import { Text } from 'react-native'; | ||
import { useFonts } from 'expo-font'; | ||
import { DMSans_400Regular, DMSans_700Bold } from '@expo-google-fonts/dm-sans'; | ||
import { DefaultTheme } from '@react-navigation/native'; | ||
import AppNavigator from '@/navigation/AppNavigator'; | ||
import colors from '@/styles/colors'; | ||
|
||
DefaultTheme.colors.background = colors.white; | ||
|
||
export default function App() { | ||
return ( | ||
<View style={styles.container}> | ||
<Logo /> | ||
<Text>Open up App.tsx to start working on your app!</Text> | ||
<StatusBar style="auto" /> | ||
</View> | ||
); | ||
} | ||
const [fontsLoaded] = useFonts({ | ||
DMSans_400Regular, | ||
DMSans_700Bold, | ||
}); | ||
|
||
if (!fontsLoaded) { | ||
return null; | ||
} | ||
|
||
const styles = StyleSheet.create({ | ||
container: { | ||
flex: 1, | ||
backgroundColor: '#fff', | ||
alignItems: 'center', | ||
justifyContent: 'center', | ||
}, | ||
}); | ||
const defaultFontFamily = 'DMSans_400Regular'; | ||
(Text as any).defaultProps = (Text as any).defaultProps || {}; | ||
(Text as any).defaultProps.style = { fontFamily: defaultFontFamily }; | ||
|
||
return <AppNavigator />; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"cli": { | ||
"version": ">= 12.6.1", | ||
"appVersionSource": "remote" | ||
}, | ||
"build": { | ||
"development": { | ||
"developmentClient": true, | ||
"distribution": "internal" | ||
}, | ||
"preview": { | ||
"distribution": "internal" | ||
}, | ||
"production": { | ||
"autoIncrement": true | ||
} | ||
}, | ||
"submit": { | ||
"production": {} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { registerRootComponent } from 'expo'; | ||
import App from './App'; | ||
|
||
registerRootComponent(App); |
Oops, something went wrong.