Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
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
4 changes: 4 additions & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ EXPO_PUBLIC_FIREBASE_DATABASE_URL=
EXPO_PUBLIC_FIREBASE_PROJECT_ID=
EXPO_PUBLIC_FIREBASE_STORAGE_BUCKET=
EXPO_PUBLIC_FIREBASE_APP_ID=
EXPO_PUBLIC_GRAPHQL_ENDPOINT=
EXPO_PUBLIC_GRAPHQL_CODEGEN_ENDPOINT=
EXPO_PUBLIC_MANAGER_DASHBOARD_URL=
EXPO_PUBLIC_REFERRER_ENDPOINT=
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
branches:
- dev
- main

env:
EXPO_PUBLIC_GRAPHQL_CODEGEN_ENDPOINT: './backend/schema.graphql'

jobs:
lint_typecheck:
name: 🚴 Lint + Typecheck 🚴
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ env:
EXPO_PUBLIC_FIREBASE_PROJECT_ID: ${{ vars.EXPO_PUBLIC_FIREBASE_PROJECT_ID }}
EXPO_PUBLIC_FIREBASE_STORAGE_BUCKET: ${{ vars.EXPO_PUBLIC_FIREBASE_STORAGE_BUCKET }}
EXPO_PUBLIC_FIREBASE_APP_ID: ${{ vars.EXPO_PUBLIC_FIREBASE_APP_ID }}
EXPO_PUBLIC_GRAPHQL_ENDPOINT: ${{ vars.EXPO_PUBLIC_GRAPHQL_ENDPOINT }}
EXPO_PUBLIC_GRAPHQL_CODEGEN_ENDPOINT: ${{ vars.EXPO_PUBLIC_GRAPHQL_CODEGEN_ENDPOINT }}

jobs:
build-and-release:
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "firebase"]
path = firebase
url = git@github.com:mapswipe/mapswipe-firebase.git
[submodule "backend"]
path = backend
url = git@github.com:mapswipe/mapswipe-backend.git
9 changes: 7 additions & 2 deletions app/(auth)/(home)/_layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import {
StyleSheet,
TouchableOpacity,
} from 'react-native';
import { useSafeAreaInsets } from 'react-native-safe-area-context';
import {
Tabs,
usePathname,
Expand Down Expand Up @@ -55,6 +56,7 @@ function TabBarButton({ children, onPress, href }: BottomTabBarButtonProps) {

function HomeLayout() {
const theme = useTheme();
const insets = useSafeAreaInsets();

return (
<Tabs
Expand All @@ -63,7 +65,7 @@ function HomeLayout() {
tabBarStyle: {
backgroundColor: theme.primaryBlue,
borderTopColor: 'transparent',
height: 60,
height: 60 + insets.bottom, // add safe area inset
},

tabBarActiveTintColor: '#ffffff',
Expand All @@ -75,7 +77,10 @@ function HomeLayout() {
>
<Tabs.Screen
name="index"
options={{ href: null }}
options={{
headerShown: false,
href: null,
}}
/>
<Tabs.Screen
name="projects"
Expand Down
12 changes: 0 additions & 12 deletions app/(auth)/(home)/index.tsx

This file was deleted.

Loading
Loading