Skip to content

Commit 16bad5e

Browse files
committed
Created a new Expo app
0 parents  commit 16bad5e

12 files changed

+6865
-0
lines changed

.expo-shared/assets.json

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"12bb71342c6255bbf50437ec8f4441c083f47cdb74bd89160c15e4f43e52a1cb": true,
3+
"40b842e832070c58deac6aa9e08fa459302ee3f9da492c7e77d93d2fbf4a56fd": true
4+
}

.gitignore

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
node_modules/
2+
.expo/
3+
dist/
4+
npm-debug.*
5+
*.jks
6+
*.p8
7+
*.p12
8+
*.key
9+
*.mobileprovision
10+
*.orig.*
11+
web-build/
12+
13+
# macOS
14+
.DS_Store

App.tsx

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import { StatusBar } from 'expo-status-bar';
2+
import { StyleSheet, Text, View } from 'react-native';
3+
4+
export default function App() {
5+
return (
6+
<View style={styles.container}>
7+
<Text>Open up App.tsx to start working on your app!</Text>
8+
<StatusBar style="auto" />
9+
</View>
10+
);
11+
}
12+
13+
const styles = StyleSheet.create({
14+
container: {
15+
flex: 1,
16+
backgroundColor: '#fff',
17+
alignItems: 'center',
18+
justifyContent: 'center',
19+
},
20+
});

app.json

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

assets/adaptive-icon.png

17.1 KB
Loading

assets/favicon.png

1.43 KB
Loading

assets/icon.png

21.9 KB
Loading

assets/splash.png

46.2 KB
Loading

babel.config.js

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = function(api) {
2+
api.cache(true);
3+
return {
4+
presets: ['babel-preset-expo'],
5+
};
6+
};

package.json

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"name": "phantom-deeplinks-tutorial",
3+
"version": "1.0.0",
4+
"main": "node_modules/expo/AppEntry.js",
5+
"scripts": {
6+
"start": "expo start",
7+
"android": "expo start --android",
8+
"ios": "expo start --ios",
9+
"web": "expo start --web",
10+
"eject": "expo eject"
11+
},
12+
"dependencies": {
13+
"expo": "~45.0.0",
14+
"expo-status-bar": "~1.3.0",
15+
"react": "17.0.2",
16+
"react-dom": "17.0.2",
17+
"react-native": "0.68.2",
18+
"react-native-web": "0.17.7"
19+
},
20+
"devDependencies": {
21+
"@babel/core": "^7.12.9",
22+
"@types/react": "~17.0.21",
23+
"@types/react-native": "~0.66.13",
24+
"typescript": "~4.3.5"
25+
},
26+
"private": true
27+
}

tsconfig.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": "expo/tsconfig.base",
3+
"compilerOptions": {
4+
"strict": true
5+
}
6+
}

0 commit comments

Comments
 (0)