Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fbd7d83

Browse files
committed
feat: Expo mobile scaffold — Phase 2 complete (118-file structure)
Expo SDK 51 TypeScript scaffold with all architecture files. Verified: tsc 0 errors, jest passes.
1 parent 08a6d5a commit fbd7d83

123 files changed

Lines changed: 16699 additions & 0 deletions

File tree

Some content is hidden

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

mobile/.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
EXPO_PUBLIC_DEFAULT_SERVER_URL=http://192.168.1.100:8080

mobile/.eslintrc.js

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
module.exports = {
2+
root: true,
3+
parser: '@typescript-eslint/parser',
4+
parserOptions: {
5+
ecmaVersion: 'latest',
6+
sourceType: 'module',
7+
ecmaFeatures: {
8+
jsx: true,
9+
},
10+
},
11+
plugins: ['@typescript-eslint', 'react', 'react-hooks'],
12+
extends: [
13+
'eslint:recommended',
14+
'plugin:react/recommended',
15+
'plugin:react-hooks/recommended',
16+
'plugin:@typescript-eslint/recommended',
17+
],
18+
settings: {
19+
react: {
20+
version: 'detect',
21+
},
22+
},
23+
rules: {
24+
'react/react-in-jsx-scope': 'off',
25+
},
26+
};

mobile/.gitignore

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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+
expo-env.d.ts
11+
12+
# Native
13+
.kotlin/
14+
*.orig.*
15+
*.jks
16+
*.p8
17+
*.p12
18+
*.key
19+
*.mobileprovision
20+
21+
# Metro
22+
.metro-health-check*
23+
24+
# debug
25+
npm-debug.*
26+
yarn-debug.*
27+
yarn-error.*
28+
29+
# macOS
30+
.DS_Store
31+
*.pem
32+
33+
# local env files
34+
.env*.local
35+
36+
# typescript
37+
*.tsbuildinfo
38+
39+
# generated native folders
40+
/ios
41+
/android

mobile/.prettierrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"singleQuote": true,
3+
"trailingComma": "all"
4+
}

mobile/App.tsx

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
import React from 'react';
2+
import { StyleSheet, Text, View } from 'react-native';
3+
import { StatusBar } from 'expo-status-bar';
4+
5+
export default function App() {
6+
return (
7+
<View style={styles.container}>
8+
<Text style={styles.title}>WiFi-DensePose</Text>
9+
<StatusBar style="dark" />
10+
</View>
11+
);
12+
}
13+
14+
const styles = StyleSheet.create({
15+
container: {
16+
flex: 1,
17+
alignItems: 'center',
18+
justifyContent: 'center',
19+
backgroundColor: '#fff',
20+
},
21+
title: {
22+
fontSize: 24,
23+
fontWeight: '600',
24+
},
25+
});

mobile/app.config.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
export default {
2+
name: 'WiFi-DensePose',
3+
slug: 'wifi-densepose',
4+
version: '1.0.0',
5+
ios: {
6+
bundleIdentifier: 'com.ruvnet.wifidensepose',
7+
},
8+
android: {
9+
package: 'com.ruvnet.wifidensepose',
10+
},
11+
// Use expo-env and app-level defaults from the project configuration when available.
12+
};

mobile/app.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"expo": {
3+
"name": "mobile",
4+
"slug": "mobile",
5+
"version": "1.0.0",
6+
"orientation": "portrait",
7+
"icon": "./assets/icon.png",
8+
"userInterfaceStyle": "light",
9+
"splash": {
10+
"image": "./assets/splash-icon.png",
11+
"resizeMode": "contain",
12+
"backgroundColor": "#ffffff"
13+
},
14+
"ios": {
15+
"supportsTablet": true
16+
},
17+
"android": {
18+
"adaptiveIcon": {
19+
"backgroundColor": "#E6F4FE",
20+
"foregroundImage": "./assets/android-icon-foreground.png",
21+
"backgroundImage": "./assets/android-icon-background.png",
22+
"monochromeImage": "./assets/android-icon-monochrome.png"
23+
},
24+
"predictiveBackGestureEnabled": false
25+
},
26+
"web": {
27+
"favicon": "./assets/favicon.png"
28+
}
29+
}
30+
}
17.1 KB
Loading
76.9 KB
Loading
4.04 KB
Loading

0 commit comments

Comments
 (0)