Skip to content

Commit

Permalink
Merge pull request #20 from isuyashpatel/dev
Browse files Browse the repository at this point in the history
splash & auth
  • Loading branch information
isuyashpatel authored Jan 25, 2024
2 parents c2bce40 + d6e7c02 commit 101e121
Show file tree
Hide file tree
Showing 72 changed files with 518 additions and 16 deletions.
15 changes: 12 additions & 3 deletions App.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { StyleSheet, Text, View } from 'react-native'
import { LogBox, StyleSheet, Text, View } from 'react-native'
import React, { useEffect } from 'react'
import HomeScreen from './src/screens/HomeScreen'
import DetailsScreen from './src/screens/DetailsScreen'
Expand All @@ -7,10 +7,14 @@ import { createNativeStackNavigator } from '@react-navigation/native-stack';
import { NavigationContainer } from '@react-navigation/native'
import TabNavigator from './src/navigators/TabNavigator'
import SplashScreen from 'react-native-splash-screen'
import { useStore } from './src/store/store'
import AuthScreen from './src/screens/AuthScreen'

const Stack = createNativeStackNavigator();

const App = () => {
LogBox.ignoreAllLogs();
const auth= useStore((state:any)=>state.auth)
useEffect(() => {

SplashScreen.hide();
Expand All @@ -19,7 +23,9 @@ const App = () => {
return (
<NavigationContainer>
<Stack.Navigator screenOptions={{ headerShown: false }}>
<Stack.Screen
{auth?
<>
<Stack.Screen
name="Tab"
component={TabNavigator}
options={{ animation: 'slide_from_bottom' }} />
Expand All @@ -31,7 +37,10 @@ const App = () => {
name="Payment"
component={PaymentScreen}
options={{ animation: 'slide_from_bottom' }} />

</>
:
<Stack.Screen name="Authentication" component={AuthScreen}/>
}
</Stack.Navigator>
</NavigationContainer>
)
Expand Down
88 changes: 76 additions & 12 deletions android/app/src/main/assets/index.android.bundle

Large diffs are not rendered by default.

Binary file modified android/app/src/main/res/drawable-hdpi/launch_screen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/drawable-mdpi/launch_screen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/drawable-xhdpi/launch_screen.png
Binary file modified android/app/src/main/res/drawable-xxhdpi/launch_screen.png
Binary file modified android/app/src/main/res/drawable-xxxhdpi/launch_screen.png
87 changes: 87 additions & 0 deletions package-lock.json

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

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
"@react-navigation/bottom-tabs": "^6.5.11",
"@react-navigation/native": "^6.1.9",
"@react-navigation/native-stack": "^6.9.17",
"@twotalltotems/react-native-otp-input": "^1.3.7",
"axios": "^1.6.5",
"immer": "^10.0.3",
"lottie-react-native": "^6.4.1",
"react": "18.2.0",
Expand All @@ -24,6 +26,7 @@
"react-native-screens": "^3.29.0",
"react-native-splash-screen": "^3.3.0",
"react-native-vector-icons": "^10.0.3",
"zod": "^3.22.4",
"zustand": "^4.4.7"
},
"devDependencies": {
Expand Down
Binary file added src/assets/auth-coffee-logo.png
Binary file added src/assets/google-logo.png
Binary file modified src/assets/launch_screen.png
Loading

0 comments on commit 101e121

Please sign in to comment.