Compare commits

...

3 Commits
main ... app

Author SHA1 Message Date
a80ea602ee Removing autocropper branch stuff
Removing autocropper ongoing files from app branch.

Signed-off-by: Ethan Wellenreiter <ewellenreiter@gmail.com>
2023-09-19 13:03:21 -04:00
5be2491069 Merge remote-tracking branch 'origin/main' into app 2023-09-15 21:56:16 -04:00
496386d7ff Initial setup for expo demo/tutorial project
Following https://www.youtube.com/watch?v=0-S5a0eXPoc (kind of).
Setting it up was different. I had to use "npx create-expo-app --template"
to make the project initially. Maybe follow this too for help:
https://docs.expo.dev/get-started/create-a-project/.

Signed-off-by: Ethan Wellenreiter <ewellenreiter@gmail.com>
2023-09-14 21:06:03 -04:00
11 changed files with 13776 additions and 0 deletions

3
code/app/.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,3 @@
{
"cmake.sourceDirectory": "/mnt/code/autocropper"
}

35
code/app/demoTutorialProject/.gitignore vendored Normal file
View File

@ -0,0 +1,35 @@
# Learn more https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files
# dependencies
node_modules/
# Expo
.expo/
dist/
web-build/
# Native
*.orig.*
*.jks
*.p8
*.p12
*.key
*.mobileprovision
# Metro
.metro-health-check*
# debug
npm-debug.*
yarn-debug.*
yarn-error.*
# macOS
.DS_Store
*.pem
# local env files
.env*.local
# typescript
*.tsbuildinfo

View File

@ -0,0 +1,20 @@
import { StatusBar } from 'expo-status-bar';
import { StyleSheet, Text, View } from 'react-native';
export default function App() {
return (
<View style={styles.container}>
<Text>Open up App.js to start working on your app!</Text>
<StatusBar style="auto" />
</View>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#fff',
alignItems: 'center',
justifyContent: 'center',
},
});

View File

@ -0,0 +1,30 @@
{
"expo": {
"name": "demoTutorialProject",
"slug": "demoTutorialProject",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"userInterfaceStyle": "light",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"assetBundlePatterns": [
"**/*"
],
"ios": {
"supportsTablet": true
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./assets/adaptive-icon.png",
"backgroundColor": "#ffffff"
}
},
"web": {
"favicon": "./assets/favicon.png"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

View File

@ -0,0 +1,6 @@
module.exports = function(api) {
api.cache(true);
return {
presets: ['babel-preset-expo'],
};
};

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,21 @@
{
"name": "demotutorialproject",
"version": "1.0.0",
"main": "node_modules/expo/AppEntry.js",
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"web": "expo start --web"
},
"dependencies": {
"expo": "^49.0.10",
"expo-status-bar": "~1.6.0",
"react": "18.2.0",
"react-native": "0.72.4"
},
"devDependencies": {
"@babel/core": "^7.20.0"
},
"private": true
}