-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #84 from expo-community/aman/upgrade-to-sdk50
Upgrade to Expo SDK 50
- Loading branch information
Showing
27 changed files
with
979 additions
and
2,390 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,4 +39,7 @@ Temporary Items | |
.apdisk | ||
|
||
# Project related | ||
.env | ||
.env | ||
.expo | ||
.expo-shared | ||
.vscode |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,33 @@ | ||
import 'dotenv/config'; | ||
import "dotenv/config"; | ||
|
||
export default { | ||
expo: { | ||
name: 'Expo Firebase Starter', | ||
slug: 'expo-firebase', | ||
privacy: 'public', | ||
platforms: ['ios', 'android'], | ||
version: '0.15.0', | ||
orientation: 'portrait', | ||
icon: './assets/flame.png', | ||
name: "Expo Firebase Starter", | ||
slug: "expo-firebase", | ||
privacy: "public", | ||
platforms: ["ios", "android"], | ||
version: "0.15.0", | ||
orientation: "portrait", | ||
icon: "./assets/flame.png", | ||
splash: { | ||
image: './assets/splash.png', | ||
resizeMode: 'cover', | ||
backgroundColor: '#F57C00' | ||
image: "./assets/splash.png", | ||
resizeMode: "cover", | ||
backgroundColor: "#F57C00", | ||
}, | ||
updates: { | ||
fallbackToCacheTimeout: 0 | ||
fallbackToCacheTimeout: 0, | ||
}, | ||
assetBundlePatterns: ['**/*'], | ||
assetBundlePatterns: ["**/*"], | ||
ios: { | ||
supportsTablet: true | ||
supportsTablet: true, | ||
}, | ||
extra: { | ||
apiKey: process.env.API_KEY, | ||
authDomain: process.env.AUTH_DOMAIN, | ||
projectId: process.env.PROJECT_ID, | ||
storageBucket: process.env.STORAGE_BUCKET, | ||
messagingSenderId: process.env.MESSAGING_SENDER_ID, | ||
appId: process.env.APP_ID | ||
} | ||
} | ||
appId: process.env.APP_ID, | ||
}, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export const Images = { | ||
logo: require('../assets/flame.png') | ||
logo: require("../assets/flame.png"), | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { Images } from './images'; | ||
import { Colors } from './theme'; | ||
import { auth } from './firebase'; | ||
import { Images } from "./images"; | ||
import { Colors } from "./theme"; | ||
import { auth } from "./firebase"; | ||
|
||
export { Images, Colors, auth }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
export const Colors = { | ||
orange: '#f57c00', | ||
blue: '#039be5', | ||
black: '#222222', | ||
white: '#ffffff', | ||
mediumGray: '#6e6869', | ||
red: '#fc5c65' | ||
orange: "#f57c00", | ||
blue: "#039be5", | ||
black: "#222222", | ||
white: "#ffffff", | ||
mediumGray: "#6e6869", | ||
red: "#fc5c65", | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,7 @@ | ||
// Learn more https://docs.expo.dev/guides/customizing-metro/ | ||
const { getDefaultConfig } = require("expo/metro-config"); | ||
// Learn more at https://docs.expo.dev/guides/using-firebase/#configure-metro | ||
const { getDefaultConfig } = require("@expo/metro-config"); | ||
|
||
/** @type {import('expo/metro-config').MetroConfig} */ | ||
const defaultConfig = getDefaultConfig(__dirname); | ||
defaultConfig.resolver.sourceExts.push("cjs"); | ||
|
||
defaultConfig.resolver.mainFields = ["react-native", "browser", "main"]; | ||
|
||
module.exports = defaultConfig; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
import * as React from 'react'; | ||
import { createStackNavigator } from '@react-navigation/stack'; | ||
import * as React from "react"; | ||
import { createStackNavigator } from "@react-navigation/stack"; | ||
|
||
import { HomeScreen } from '../screens'; | ||
import { HomeScreen } from "../screens"; | ||
|
||
const Stack = createStackNavigator(); | ||
|
||
export const AppStack = () => { | ||
return ( | ||
<Stack.Navigator> | ||
<Stack.Screen name='Home' component={HomeScreen} /> | ||
<Stack.Screen name="Home" component={HomeScreen} /> | ||
</Stack.Navigator> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
import * as React from 'react'; | ||
import { createStackNavigator } from '@react-navigation/stack'; | ||
import * as React from "react"; | ||
import { createStackNavigator } from "@react-navigation/stack"; | ||
|
||
import { LoginScreen, SignupScreen, ForgotPasswordScreen } from '../screens'; | ||
import { LoginScreen, SignupScreen, ForgotPasswordScreen } from "../screens"; | ||
|
||
const Stack = createStackNavigator(); | ||
|
||
export const AuthStack = () => { | ||
return ( | ||
<Stack.Navigator | ||
initialRouteName='Login' | ||
initialRouteName="Login" | ||
screenOptions={{ headerShown: false }} | ||
> | ||
<Stack.Screen name='Login' component={LoginScreen} /> | ||
<Stack.Screen name='Signup' component={SignupScreen} /> | ||
<Stack.Screen name='ForgotPassword' component={ForgotPasswordScreen} /> | ||
<Stack.Screen name="Login" component={LoginScreen} /> | ||
<Stack.Screen name="Signup" component={SignupScreen} /> | ||
<Stack.Screen name="ForgotPassword" component={ForgotPasswordScreen} /> | ||
</Stack.Navigator> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
import { RootNavigator } from './RootNavigator'; | ||
import { RootNavigator } from "./RootNavigator"; | ||
|
||
export { RootNavigator }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.