Skip to content

Commit

Permalink
chore: disable newArch
Browse files Browse the repository at this point in the history
  • Loading branch information
hyochan committed Aug 6, 2024
1 parent 2448804 commit 6ee2813
Show file tree
Hide file tree
Showing 7 changed files with 750 additions and 181 deletions.
8 changes: 5 additions & 3 deletions app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ export default ({config}: ConfigContext): ExpoConfig => ({
[
'expo-build-properties',
{
ios: {newArchEnabled: true},
android: {newArchEnabled: true},
// https://github.com/software-mansion/react-native-screens/issues/2219
// ios: {newArchEnabled: true},
// android: {newArchEnabled: true},
},
],
// @ts-ignore
Expand Down Expand Up @@ -94,6 +95,7 @@ export default ({config}: ConfigContext): ExpoConfig => ({
entitlements: {
'com.apple.developer.applesignin': ['Default'],
},
googleServicesFile: process.env.GOOGLE_SERVICES_IOS,
infoPlist: {
LSApplicationQueriesSchemes: ['mailto'],
CFBundleAllowMixedLocalizations: true,
Expand All @@ -107,7 +109,7 @@ export default ({config}: ConfigContext): ExpoConfig => ({
},
},
android: {
googleServicesFile: process.env.GOOGLE_SERVICES_JSON,
googleServicesFile: process.env.GOOGLE_SERVICES_ANDROID,
userInterfaceStyle: 'automatic',
permissions: [
'RECEIVE_BOOT_COMPLETED',
Expand Down
6 changes: 3 additions & 3 deletions app/(app)/(tabs)/profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,15 @@ const TagContainer = styled.View`
`;

const Tag = styled.View`
background-color: ${({theme}) => theme.role.accent};
background-color: ${({theme}) => theme.role.link};
border-radius: 20px;
padding: 6px 12px;
margin-right: 8px;
margin-bottom: 4px;
`;

const TagText = styled.Text`
color: ${({theme}) => theme.text.basic};
color: ${({theme}) => theme.text.contrast};
font-size: 14px;
`;

Expand Down Expand Up @@ -123,7 +123,7 @@ export default function Profile(): JSX.Element {
gap: 4px;
`}
>
<Icon name="GithubLogo" size={16} color={theme.role.secondary} />
<Icon name="GithubLogo" size={16} color={theme.role.link} />
<InfoValue>{user?.github_id || ''}</InfoValue>
</View>
</InfoItem>
Expand Down
2 changes: 1 addition & 1 deletion app/(app)/settings/profile-update.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export default function ProfileUpdate(): JSX.Element {

if (user) {
setTags(tags);
setAuth((prev) => ({...prev, user}));
setAuth((prev) => ({...prev, user, tags}));
back();
}
} catch (error: any) {
Expand Down
3 changes: 1 addition & 2 deletions app/(auth)/sign-in.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {t} from '../../src/STRINGS';
import {supabase} from '../../src/supabase';
import SocialSignInButton from '../../src/components/uis/SocialSignInButton';
import {showAlert} from '../../src/utils/alert';
import { useSafeAreaInsets } from 'react-native-safe-area-context';
import {useSafeAreaInsets} from 'react-native-safe-area-context';

const Container = styled.View`
flex: 1;
Expand Down Expand Up @@ -58,7 +58,6 @@ export default function SignIn(): JSX.Element {
const googleSignIn = useCallback(async () => {
try {
await GoogleSignin.hasPlayServices();

const userInfo = await GoogleSignin.signIn();

InteractionManager.runAfterInteractions(async () => {
Expand Down
Binary file modified bun.lockb
Binary file not shown.
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,31 +44,31 @@
"@react-native-async-storage/async-storage": "1.23.1",
"@react-native-community/datetimepicker": "8.0.1",
"@react-native-google-signin/google-signin": "^12.2.1",
"@shopify/flash-list": "^1.7.0",
"@shopify/flash-list": "1.6.4",
"@supabase/supabase-js": "^2.44.2",
"base64-arraybuffer": "^1.0.2",
"date-fns": "^3.6.0",
"dooboo-ui": "^0.2.35",
"expo": "~51.0.17",
"expo-apple-authentication": "^6.4.1",
"expo": "~51.0.24",
"expo-apple-authentication": "~6.4.2",
"expo-constants": "~16.0.2",
"expo-device": "~6.0.2",
"expo-file-system": "^17.0.1",
"expo-font": "~12.0.7",
"expo-image": "~1.12.12",
"expo-image-picker": "~15.0.6",
"expo-font": "~12.0.9",
"expo-image": "~1.12.13",
"expo-image-picker": "~15.0.7",
"expo-linear-gradient": "^13.0.2",
"expo-linking": "~6.3.1",
"expo-localization": "~15.0.3",
"expo-notifications": "~0.28.9",
"expo-router": "~3.5.17",
"expo-notifications": "~0.28.15",
"expo-router": "~3.5.20",
"expo-screen-orientation": "~7.0.5",
"expo-sharing": "~12.0.1",
"expo-splash-screen": "~0.27.5",
"expo-status-bar": "~1.12.1",
"expo-system-ui": "~3.0.6",
"expo-system-ui": "~3.0.7",
"expo-tracking-transparency": "~4.0.2",
"expo-updates": "~0.25.18",
"expo-updates": "~0.25.21",
"expo-video-thumbnails": "^8.0.0",
"expo-web-browser": "~13.0.3",
"i18n-js": "^4.4.3",
Expand All @@ -77,7 +77,7 @@
"react": "18.2.0",
"react-dom": "18.2.0",
"react-hook-form": "^7.52.1",
"react-native": "0.74.2",
"react-native": "0.74.3",
"react-native-device-info": "^11.1.0",
"react-native-error-boundary": "^1.2.4",
"react-native-gesture-handler": "~2.16.2",
Expand All @@ -86,9 +86,9 @@
"react-native-parsed-text": "^0.0.22",
"react-native-reanimated": "~3.10.1",
"react-native-reanimated-carousel": "^3.5.1",
"react-native-safe-area-context": "4.10.1",
"react-native-safe-area-context": "4.10.5",
"react-native-screens": "3.31.1",
"react-native-svg": "15.2.0",
"react-native-svg": "15.5.0",
"react-native-tab-view": "^3.5.2",
"react-native-url-polyfill": "^2.0.0",
"react-native-web": "~0.19.12",
Expand Down Expand Up @@ -122,8 +122,8 @@
"eslint-plugin-i18n-json": "^4.0.0",
"eslint-plugin-jest": "^28.6.0",
"eslint-plugin-prettier": "^5.1.3",
"expo-build-properties": "^0.12.3",
"expo-dev-client": "^4.0.19",
"expo-build-properties": "~0.12.4",
"expo-dev-client": "~4.0.21",
"jest": "^29.7.0",
"jest-expo": "~51.0.3",
"jest-fetch-mock": "^3.0.3",
Expand Down
Loading

0 comments on commit 6ee2813

Please sign in to comment.