revert: remove all splash screen overrides, revert app.json to v0.1.5 state
Release APK / build (push) Has been cancelled
Release APK / build (push) Has been cancelled
SplashScreen.hideAsync() and the splash section in app.json were both introduced after v0.1.5 and are common to every crashing build. Reverting to the exact v0.1.5 baseline to isolate the crash source. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
d3d73c255e
commit
6bd1dc8358
2 files changed
+1
-9
No files matched your search
@@ -6,9 +6,6 @@
|
|||||||
"orientation": "portrait",
|
"orientation": "portrait",
|
||||||
"userInterfaceStyle": "dark",
|
"userInterfaceStyle": "dark",
|
||||||
"backgroundColor": "#0f1117",
|
"backgroundColor": "#0f1117",
|
||||||
"splash": {
|
|
||||||
"backgroundColor": "#0f1117"
|
|
||||||
},
|
|
||||||
"scheme": "sheethappens",
|
"scheme": "sheethappens",
|
||||||
"android": {
|
"android": {
|
||||||
"adaptiveIcon": {
|
"adaptiveIcon": {
|
||||||
|
|||||||
+1
-6
@@ -1,5 +1,5 @@
|
|||||||
import { useEffect } from "react";
|
import { useEffect } from "react";
|
||||||
import { Stack, router, SplashScreen } from "expo-router";
|
import { Stack, router } from "expo-router";
|
||||||
import { StatusBar } from "expo-status-bar";
|
import { StatusBar } from "expo-status-bar";
|
||||||
import { GestureHandlerRootView } from "react-native-gesture-handler";
|
import { GestureHandlerRootView } from "react-native-gesture-handler";
|
||||||
import "../global.css";
|
import "../global.css";
|
||||||
@@ -9,11 +9,6 @@ import { useSettings } from "@/hooks/useSettings";
|
|||||||
export default function RootLayout() {
|
export default function RootLayout() {
|
||||||
const { settings, ready } = useSettings();
|
const { settings, ready } = useSettings();
|
||||||
|
|
||||||
useEffect(() => {
|
|
||||||
if (!ready) return;
|
|
||||||
SplashScreen.hideAsync();
|
|
||||||
}, [ready]);
|
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (!ready) return;
|
if (!ready) return;
|
||||||
if (!settings.onboardingDone) {
|
if (!settings.onboardingDone) {
|
||||||
|
|||||||
Reference in new issue
Block a user