Skip to content

Commit de5dff4

Browse files
committed
adding all files from mobile
1 parent e874bc9 commit de5dff4

23 files changed

+13198
-1
lines changed

mobile/.expo-shared/assets.json

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

mobile/.gitignore

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

mobile/App.tsx

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
import React from "react";
2+
import { AppLoading } from "expo";
3+
import { StatusBar } from "react-native";
4+
import { Roboto_400Regular, Roboto_500Medium } from "@expo-google-fonts/roboto";
5+
import { Ubuntu_700Bold, useFonts } from "@expo-google-fonts/ubuntu";
6+
7+
import Routes from "./src/routes";
8+
9+
export default function App() {
10+
const [fontsLoaded] = useFonts({
11+
Roboto_400Regular,
12+
Roboto_500Medium,
13+
Ubuntu_700Bold,
14+
});
15+
16+
if (!fontsLoaded) {
17+
return <AppLoading />;
18+
}
19+
20+
return (
21+
<>
22+
<StatusBar
23+
barStyle="dark-content"
24+
backgroundColor="transparent"
25+
translucent
26+
/>
27+
<Routes />
28+
</>
29+
);
30+
}

mobile/app.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"expo": {
3+
"name": "mobile",
4+
"slug": "mobile",
5+
"platforms": [
6+
"ios",
7+
"android",
8+
"web"
9+
],
10+
"version": "1.0.0",
11+
"orientation": "portrait",
12+
"icon": "./assets/icon.png",
13+
"splash": {
14+
"image": "./assets/splash.png",
15+
"resizeMode": "contain",
16+
"backgroundColor": "#ffffff"
17+
},
18+
"updates": {
19+
"fallbackToCacheTimeout": 0
20+
},
21+
"assetBundlePatterns": [
22+
"**/*"
23+
],
24+
"ios": {
25+
"supportsTablet": true
26+
}
27+
}
28+
}

mobile/assets/icon.png

642 Bytes
Loading

mobile/assets/splash.png

9.09 KB
Loading

mobile/babel.config.js

Lines changed: 6 additions & 0 deletions
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+
};

0 commit comments

Comments
 (0)