Skip to content

Commit 3d8856e

Browse files
committed
Free Version
1 parent 55f7d49 commit 3d8856e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+16102
-0
lines changed

.gitignore

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Learn more https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files
2+
3+
# dependencies
4+
node_modules/
5+
6+
# Expo
7+
.expo/
8+
dist/
9+
web-build/
10+
11+
# Native
12+
*.orig.*
13+
*.jks
14+
*.p8
15+
*.p12
16+
*.key
17+
*.mobileprovision
18+
19+
# Metro
20+
.metro-health-check*
21+
22+
# debug
23+
npm-debug.*
24+
yarn-debug.*
25+
yarn-error.*
26+
27+
# macOS
28+
.DS_Store
29+
*.pem
30+
31+
# local env files
32+
.env*.local
33+
34+
# typescript
35+
*.tsbuildinfo

App.js

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
// App.js
2+
import React, { useEffect } from 'react';
3+
import { AuthProvider } from './src/AuthContext';
4+
import AppNavigator from './src/navigation/AppNavigator';
5+
import * as SplashScreen from 'expo-splash-screen';
6+
import { useFonts, Inter_300Light, Inter_400Regular, Inter_500Medium, Inter_600SemiBold, Inter_700Bold } from '@expo-google-fonts/inter';
7+
import { StyleSheet } from 'react-native';
8+
import { GestureHandlerRootView } from 'react-native-gesture-handler';
9+
import 'react-native-gesture-handler';
10+
11+
SplashScreen.preventAutoHideAsync();
12+
13+
export default function App() {
14+
let [fontsLoaded] = useFonts({
15+
Inter_300Light,
16+
Inter_400Regular,
17+
Inter_500Medium,
18+
Inter_600SemiBold,
19+
Inter_700Bold,
20+
});
21+
22+
useEffect(() => {
23+
if (fontsLoaded) {
24+
SplashScreen.hideAsync();
25+
}
26+
}, [fontsLoaded]);
27+
28+
if (!fontsLoaded) {
29+
return null; // Da SplashScreen.preventAutoHideAsync() aufgerufen wurde, wird der SplashScreen angezeigt, bis hideAsync() aufgerufen wird.
30+
}
31+
32+
return (
33+
<GestureHandlerRootView style={styles.container}>
34+
<AuthProvider>
35+
<AppNavigator />
36+
</AuthProvider>
37+
</GestureHandlerRootView>
38+
39+
);
40+
}
41+
42+
const styles = StyleSheet.create({
43+
container: {
44+
flex: 1,
45+
},
46+
});

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# dynamiclayer-react-native
2+
Read me

app.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"expo": {
3+
"name": "josh-react-native",
4+
"slug": "josh-react-native",
5+
"version": "1.0.0",
6+
"orientation": "portrait",
7+
"icon": "./assets/icon.png",
8+
"userInterfaceStyle": "light",
9+
"newArchEnabled": true,
10+
"splash": {
11+
"image": "./assets/splash.png",
12+
"resizeMode": "contain",
13+
"backgroundColor": "#ffffff"
14+
},
15+
"ios": {
16+
"supportsTablet": true
17+
},
18+
"android": {
19+
"adaptiveIcon": {
20+
"foregroundImage": "./assets/adaptive-icon.png",
21+
"backgroundColor": "#ffffff"
22+
}
23+
},
24+
"web": {
25+
"favicon": "./assets/favicon.png"
26+
},
27+
"plugins": [
28+
[
29+
"expo-font"
30+
]
31+
],
32+
"assetBundlePatterns": [
33+
"**/*"
34+
]
35+
}
36+
}

assets/PlaceholderImage.png

29.7 KB
Loading

assets/adaptive-icon.png

17.1 KB
Loading

assets/favicon.png

1.43 KB
Loading

assets/icon.png

21.9 KB
Loading

assets/icons/Apps/appleIcon.js

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import * as React from "react"
2+
import Svg, { Path } from "react-native-svg"
3+
4+
function AppleIcon(props) {
5+
return (
6+
<Svg
7+
width={25}
8+
height={24}
9+
viewBox="0 0 25 24"
10+
fill="none"
11+
xmlns="http://www.w3.org/2000/svg"
12+
{...props}
13+
>
14+
<Path
15+
d="M15.743 4.5h0a4.53 4.53 0 01-1.392 1.12c-.531.278-1.096.445-1.596.445-.11 0-.22-.014-.291-.027a2.027 2.027 0 01-.04-.389c0-1.138.586-2.262 1.215-2.974h0c.799-.922 2.122-1.619 3.236-1.664.027.125.04.28.04.431 0 1.124-.486 2.248-1.172 3.058zm.798 1.829c.628 0 2.882.057 4.369 2.169l-.046.03c-.372.243-2.342 1.528-2.342 4.164 0 1.636.722 2.744 1.454 3.446a5.051 5.051 0 001.511 1.01 4.498 4.498 0 01-.091.29 12.051 12.051 0 01-1.424 2.818c-.473.678-.956 1.355-1.509 1.861-.552.507-1.172.843-1.92.843-.723 0-1.186-.2-1.668-.41l-.054-.023c-.502-.218-1.034-.436-1.904-.436-.848 0-1.423.225-1.957.45l-.082.035c-.503.212-.98.413-1.63.413-.683 0-1.264-.312-1.813-.817-.549-.505-1.064-1.203-1.616-1.973-1.276-1.807-2.308-4.614-2.308-7.278 0-4.272 2.79-6.535 5.534-6.535.729 0 1.397.238 1.999.477l.206.082c.225.09.44.177.645.246.267.09.516.15.748.15.22 0 .47-.064.747-.159.188-.064.39-.144.603-.228l.307-.12c.657-.253 1.411-.505 2.24-.505z"
16+
fill="#000"
17+
stroke="#000"
18+
strokeWidth={0.0220022}
19+
/>
20+
</Svg>
21+
)
22+
}
23+
24+
export default AppleIcon

assets/icons/Apps/googleIcon.js

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
import * as React from "react"
2+
import Svg, { Path } from "react-native-svg"
3+
4+
function GoogleIcon(props) {
5+
return (
6+
<Svg
7+
width={25}
8+
height={24}
9+
viewBox="0 0 25 24"
10+
fill="none"
11+
xmlns="http://www.w3.org/2000/svg"
12+
{...props}
13+
>
14+
<Path
15+
d="M22.464 12.4c0-.693-.077-1.386-.154-2.08h-9.626v3.928h5.467c-.23 1.232-.924 2.387-2.002 3.08v2.542h3.311c1.926-1.771 3.004-4.39 3.004-7.47z"
16+
fill="#4285F4"
17+
/>
18+
<Path
19+
d="M12.684 22.333c2.772 0 5.082-.924 6.776-2.464l-3.311-2.54c-.924.615-2.08 1-3.465 1-2.618 0-4.929-1.771-5.699-4.235H3.597v2.618c1.771 3.465 5.237 5.621 9.087 5.621z"
20+
fill="#34A853"
21+
/>
22+
<Path
23+
d="M6.986 14.094c-.462-1.232-.462-2.618 0-3.927V7.548H3.597c-1.463 2.85-1.463 6.238 0 9.164l3.389-2.618z"
24+
fill="#FBBC02"
25+
/>
26+
<Path
27+
d="M12.684 6.008c1.463 0 2.85.54 3.927 1.54l2.926-2.926c-1.848-1.694-4.312-2.695-6.776-2.618-3.85 0-7.393 2.156-9.087 5.622l3.389 2.618c.693-2.464 3.003-4.236 5.62-4.236z"
28+
fill="#EA4335"
29+
/>
30+
</Svg>
31+
)
32+
}
33+
34+
export default GoogleIcon

0 commit comments

Comments
 (0)