DIAGNOZA NA EMULATORZE (emulator-5554, goon-v0.1.9.apk):
Dwa błędne założenia z poprzednich sesji obalone empirycznie:
1. RUNTIME: APK ma EXPO_RUNTIME_VERSION="1.0" (NIE 0.1.9 — pomyliłem versionName
z runtime). App akceptuje TYLKO manifest runtime 1.0. Mój wcześniejszy
"fix" na 0.1.9 (c19da51) był wstecz — app go ignorował. Cofnięte: app.json
+ publish_update RUNTIME_DEFAULT z powrotem na "1.0".
2. CRASH: prawdziwa przyczyna "nic się nie pojawia" — OTA bundle z expo-font
crashował: "Cannot find native module 'ExpoFontLoader'" → expo-updates
ErrorRecovery rollback. APK (build 22-maja) nie ma natywnego ExpoFontLoader
(expo-font dodany 30-maja, PO buildzie APK). OTA NIE MOŻE dostarczyć native
modułu. Potwierdzone: embedded bundle + served bundle grep = 0 ExpoFontLoader;
stary font-bundle crashował, font-stripped NIE.
FIX: usunięto useFonts z App.tsx + expo-font import; theme.fonts → undefined
(system font); SceneTile/MoviePosterCard/navigation/GoonWordmark fontFamily →
fontWeight. Wszystko inne (2-col grid, oxblood, logo SVG-RNSVG-jest-w-APK)
zostaje. Custom fonty wrócą przy rebuildzie APK z expo-font (option B).
ZWERYFIKOWANE: bundle d5b87e5c (runtime 1.0, 0 ttf) — emulator launch:
`ReactNativeJS: Running "main"`, zero JS errors, brak ExpoFontLoader crash.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
55 lines
1.2 KiB
JSON
55 lines
1.2 KiB
JSON
{
|
|
"expo": {
|
|
"name": "goon",
|
|
"slug": "goon",
|
|
"version": "0.1.9",
|
|
"orientation": "portrait",
|
|
"userInterfaceStyle": "automatic",
|
|
"newArchEnabled": false,
|
|
"runtimeVersion": "1.0",
|
|
"updates": {
|
|
"enabled": true,
|
|
"url": "https://api.goon-foss.org/expo-updates/manifest",
|
|
"checkAutomatically": "ON_LOAD",
|
|
"fallbackToCacheTimeout": 0
|
|
},
|
|
"icon": "./assets/icon.png",
|
|
"ios": {
|
|
"supportsTablet": true,
|
|
"bundleIdentifier": "com.goon.mobile"
|
|
},
|
|
"android": {
|
|
"package": "com.goon.mobile",
|
|
"adaptiveIcon": {
|
|
"foregroundImage": "./assets/adaptive-icon.png",
|
|
"backgroundColor": "#15110D"
|
|
}
|
|
},
|
|
"splash": {
|
|
"image": "./assets/splash.png",
|
|
"backgroundColor": "#15110D",
|
|
"resizeMode": "contain"
|
|
},
|
|
"web": {
|
|
"favicon": "./assets/favicon.png"
|
|
},
|
|
"plugins": [
|
|
"expo-asset",
|
|
[
|
|
"expo-build-properties",
|
|
{
|
|
"android": {
|
|
"usesCleartextTraffic": false
|
|
}
|
|
}
|
|
],
|
|
"expo-video",
|
|
"@sentry/react-native/expo",
|
|
"expo-font"
|
|
],
|
|
"extra": {
|
|
"sentryDsn": "",
|
|
"sentryEnvironment": "production"
|
|
}
|
|
}
|
|
}
|