will compile this way
This commit is contained in:
parent
28543c285c
commit
088c04abdc
7
.gitignore
vendored
7
.gitignore
vendored
@ -11,7 +11,10 @@ npm-debug.*
|
||||
web-build/
|
||||
.env
|
||||
.env*
|
||||
|
||||
*.env
|
||||
.env*
|
||||
eas.json
|
||||
*.ipa
|
||||
# macOS
|
||||
.DS_Store
|
||||
|
||||
@ -19,4 +22,4 @@ web-build/
|
||||
# The following patterns were generated by expo-cli
|
||||
|
||||
expo-env.d.ts
|
||||
# @end expo-cli
|
||||
# @end expo-cli
|
||||
|
6
app.json
6
app.json
@ -1,6 +1,7 @@
|
||||
{
|
||||
"expo": {
|
||||
"name": "Wavelength_App",
|
||||
"name": "Wavelength",
|
||||
"displayName": "Wavelength",
|
||||
"slug": "Wavelength_App",
|
||||
"version": "1.0.0",
|
||||
"orientation": "portrait",
|
||||
@ -21,7 +22,8 @@
|
||||
"infoPList": {
|
||||
"NSLocationWhenInUseUsageDescription": "This app uses your location in order to allow you to share your location in chat.",
|
||||
"NSCameraUsageDescription": "This app uses your camera to take photos & send them in the chat."
|
||||
}
|
||||
},
|
||||
"bundleIdentifier": "com.gbrown.Wavelength"
|
||||
},
|
||||
"android": {
|
||||
"adaptiveIcon": {
|
||||
|
@ -58,10 +58,11 @@ const SignInScreen = ({onSignIn}: {onSignIn: () => void}) => {
|
||||
pushToken.data
|
||||
) as User;
|
||||
await saveUser(user);
|
||||
//Alert.alert(`${user.appleId} - ${user.email} - ${user.fullName} - ${user.pushToken}`);
|
||||
} else if (initialDataResponse.ok) {
|
||||
const initialData: InitialData = await initialDataResponse.json() as InitialData;
|
||||
console.log('Existing user found! Saving data...');
|
||||
|
||||
//Alert.alert('Existing user found! Saving data...');
|
||||
if (initialData.user.pushToken !== pushToken.data) {
|
||||
const updatePushTokenResponse = await updatePushToken(
|
||||
initialData.user.id,
|
||||
|
26
eas.json
Normal file
26
eas.json
Normal file
@ -0,0 +1,26 @@
|
||||
{
|
||||
"cli": {
|
||||
"version": ">= 12.6.2",
|
||||
"appVersionSource": "remote"
|
||||
},
|
||||
"build": {
|
||||
"development": {
|
||||
"developmentClient": true,
|
||||
"distribution": "internal"
|
||||
},
|
||||
"preview": {
|
||||
"distribution": "internal"
|
||||
},
|
||||
"production": {
|
||||
"env": {
|
||||
"EXPO_PUBLIC_API_URL": "https://madelinemcguigan.com",
|
||||
"EXPO_PUBLIC_API_KEY": "Carport-Exporter-Starlight9",
|
||||
"EXPO_PUBLIC_WEBSOCKET_URL": "https://push.madelinemcguigan.com"
|
||||
},
|
||||
"autoIncrement": true
|
||||
}
|
||||
},
|
||||
"submit": {
|
||||
"production": {}
|
||||
}
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "wavelength_app",
|
||||
"name": "wavelength",
|
||||
"main": "expo-router/entry",
|
||||
"version": "1.0.0",
|
||||
"scripts": {
|
||||
|
Loading…
Reference in New Issue
Block a user