-
Notifications
You must be signed in to change notification settings - Fork 901
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[stickersmash] Upgrade to SDK 52 with changes required for app's code (…
…#529) - Upgrade the project's dependencies to use Exop SDk 52 which includes fix for `react-native-view-shot` for the SDK - Update app's layout code to use `StatusBar` component - Add `expo-splash-screen` config plugin and remove manually set `splash` object in app.json - Apply `expo-media-library` changes to use `mediaTypes: ["images"],` instead of `mediaTypes: ImagePicker.MediaTypeOptions.Images,` - Remove `babel.config.js`
- Loading branch information
1 parent
edb3d9f
commit 9d2ea5d
Showing
6 changed files
with
54 additions
and
54 deletions.
There are no files selected for viewing
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,17 +1,14 @@ | ||
import { Stack } from "expo-router"; | ||
import { setStatusBarStyle } from "expo-status-bar"; | ||
import { useEffect } from "react"; | ||
import { StatusBar } from "expo-status-bar"; | ||
|
||
export default function RootLayout() { | ||
useEffect(() => { | ||
setTimeout(() => { | ||
setStatusBarStyle("light"); | ||
}, 0); | ||
}, []); | ||
|
||
return ( | ||
<Stack> | ||
<Stack.Screen name="(tabs)" options={{ headerShown: false }} /> | ||
</Stack> | ||
<> | ||
<Stack> | ||
<Stack.Screen name="(tabs)" options={{ headerShown: false }} /> | ||
<Stack.Screen name="+not-found" /> | ||
</Stack> | ||
<StatusBar style="light" /> | ||
</> | ||
); | ||
} |
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