will compile this way
This commit is contained in:
parent
28543c285c
commit
088c04abdc
5
.gitignore
vendored
5
.gitignore
vendored
@ -11,7 +11,10 @@ npm-debug.*
|
|||||||
web-build/
|
web-build/
|
||||||
.env
|
.env
|
||||||
.env*
|
.env*
|
||||||
|
*.env
|
||||||
|
.env*
|
||||||
|
eas.json
|
||||||
|
*.ipa
|
||||||
# macOS
|
# macOS
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
||||||
|
6
app.json
6
app.json
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"expo": {
|
"expo": {
|
||||||
"name": "Wavelength_App",
|
"name": "Wavelength",
|
||||||
|
"displayName": "Wavelength",
|
||||||
"slug": "Wavelength_App",
|
"slug": "Wavelength_App",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"orientation": "portrait",
|
"orientation": "portrait",
|
||||||
@ -21,7 +22,8 @@
|
|||||||
"infoPList": {
|
"infoPList": {
|
||||||
"NSLocationWhenInUseUsageDescription": "This app uses your location in order to allow you to share your location in chat.",
|
"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."
|
"NSCameraUsageDescription": "This app uses your camera to take photos & send them in the chat."
|
||||||
}
|
},
|
||||||
|
"bundleIdentifier": "com.gbrown.Wavelength"
|
||||||
},
|
},
|
||||||
"android": {
|
"android": {
|
||||||
"adaptiveIcon": {
|
"adaptiveIcon": {
|
||||||
|
@ -58,10 +58,11 @@ const SignInScreen = ({onSignIn}: {onSignIn: () => void}) => {
|
|||||||
pushToken.data
|
pushToken.data
|
||||||
) as User;
|
) as User;
|
||||||
await saveUser(user);
|
await saveUser(user);
|
||||||
|
//Alert.alert(`${user.appleId} - ${user.email} - ${user.fullName} - ${user.pushToken}`);
|
||||||
} else if (initialDataResponse.ok) {
|
} else if (initialDataResponse.ok) {
|
||||||
const initialData: InitialData = await initialDataResponse.json() as InitialData;
|
const initialData: InitialData = await initialDataResponse.json() as InitialData;
|
||||||
console.log('Existing user found! Saving data...');
|
console.log('Existing user found! Saving data...');
|
||||||
|
//Alert.alert('Existing user found! Saving data...');
|
||||||
if (initialData.user.pushToken !== pushToken.data) {
|
if (initialData.user.pushToken !== pushToken.data) {
|
||||||
const updatePushTokenResponse = await updatePushToken(
|
const updatePushTokenResponse = await updatePushToken(
|
||||||
initialData.user.id,
|
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",
|
"main": "expo-router/entry",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
Loading…
Reference in New Issue
Block a user