Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #290

Merged
merged 5 commits into from
Jan 20, 2024
Merged

Dev #290

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 0 additions & 23 deletions apps/app/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ const config: ExpoConfig = {
resizeMode: "contain",
backgroundColor: "#f43f5e",
},
developmentClient: {
silentLaunch: true,
},
updates: {
enabled: true,
url: `https://u.expo.dev/${projectId}`,
Expand All @@ -50,24 +47,10 @@ const config: ExpoConfig = {
],
appStoreUrl: "https://apps.apple.com/us/app/share-my-stack/id6450111644",
infoPlist: {
NSLocationWhenInUseUsageDescription:
"Share My Stack uses your location to help you connect with other users nearby and to show you relevant local content.", // Note: The app doesn't use location information, but this has to be included because the OneSignal plugin includes location access logic
NSCameraUsageDescription:
"Share My Stack app requires access to your photo library to save generated graphics, enabling you to view and share them at your convenience.",
LSApplicationQueriesSchemes: [
"itms",
"itms-apps",
"whatsapp",
"instagram",
"instagram-stories",
"fb",
"facebook-stories",
],
},
},
experiments: {
tsconfigPaths: true,
},
android: {
adaptiveIcon: {
foregroundImage: "./assets/adaptive-icon.png",
Expand All @@ -85,12 +68,6 @@ const config: ExpoConfig = {
},
},
plugins: [
[
"expo-router",
{
origin: "https://sharemystack.com",
},
],
"expo-apple-authentication",
[
"expo-build-properties",
Expand Down
2 changes: 1 addition & 1 deletion apps/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"android": "expo run:android",
"ios": "expo run:ios",
"web": "expo start --web --clear",
"doc": "expo install --check",
"doc": "bun x expo-doctor@latest",
"prebuild": "expo prebuild --platform android --clean",
"build:simulator": "eas build --profile simulator --platform ios --local",
"build:simulator:android": "eas build --profile simulator --platform android --local",
Expand Down
4 changes: 2 additions & 2 deletions apps/app/src/app/(tabs)/_layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
Home,
Layers,
Settings,
UserCircle,
UserRound,
Wrench,
} from "@tamagui/lucide-icons";
import { Tabs } from "expo-router";
Expand All @@ -23,7 +23,7 @@ export default function Layout() {
options={{
title: "Profile",
headerShown: false,
tabBarIcon: ({ color }) => <UserCircle color={color} />,
tabBarIcon: ({ color }) => <UserRound color={color} />,
}}
/>
<Tabs.Screen
Expand Down
1 change: 1 addition & 0 deletions apps/app/src/lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ export const config = {
vexoApiKey: process.env.EXPO_PUBLIC_VEXO_API_KEY as string,
supabaseUrl: process.env.EXPO_PUBLIC_SUPABASE_URL as string,
supabaseAnonKey: process.env.EXPO_PUBLIC_SUPABASE_ANON_KEY as string,
sanityProjectId: process.env.EXPO_PUBLIC_SANITY_PROJECT_ID as string,
};
4 changes: 3 additions & 1 deletion apps/app/src/lib/sanity.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import { createClient } from "@sanity/client";

import { config } from "./config";

export const client = createClient({
projectId: process.env.EXPO_PUBLIC_SANITY_PROJECT_ID as string,
projectId: config.sanityProjectId,
dataset: "production",
useCdn: true,
apiVersion: "2023-09-21",
Expand Down
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion packages/seed-data-action/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@actions/core": "1.10.1",
"@supabase/supabase-js": "2.39.3",
"blurhash": "2.0.5",
"dotenv": "16.3.1",
"dotenv": "16.3.2",
"sharp": "0.33.2",
"svgo": "3.2.0"
},
Expand Down