Nowa zakladka w dolnym pasku: react-native-pager-view (pion, natywny snap), dwie instancje createVideoPlayer (aktywna + nastepna w buforze), komorka z posterem, podpisem tworcy i tagami, kolumna przyciskow, pasek postepu. Gesty bez reanimated: tap = dzwiek, double-tap = ulubione z wybuchem serca i haptyka, przytrzymanie = 2x, przesuniecie w lewo = arkusz "show less of this" (tworca / tagi / nisze / seen it, plus blokada tworcy). Onboarding 3 tapow z top tagow, AutoSwipe (off/5/10 s), licznik obejrzanych, nowe rozdanie. Telemetria: SwipeTelemetry zbiera zdarzenia i wysyla paczki co 5 s / 10 zdarzen / w tle; przy opuszczeniu strony impression z dwell, skip (<2 s) albo complete (petla lub >=80%). Serwer z tego uczy wagi i uklada 80% nastepnych stron. Pager to modul natywny, wiec import jest miekki (require w try/catch) i zakladka pokazuje sie tylko od runtime 1.4; ten sam bundle leci OTA na 1.2/1.3 z wpisem "pobierz 0.4.0" (onlyBelowRuntime), a wpis o Swipe ma nowe pole minRuntime. Bump: app.json 0.4.0 / runtime 1.4, versionCode 14, AndroidManifest 1.4, publish_update RUNTIME_DEFAULT 1.4, strona goon-foss.org pod 0.4.0. Sprawdzone na emulatorze (APK 0.4.0): zakladka widoczna, onboarding zapisany na serwerze, feed spersonalizowany 8/2, ExoPlayer dekoduje wideo i audio, swipe daje zdarzenia complete/impression, double-tap daje like + ulubione + wagi.
55 lines
1.2 KiB
JSON
55 lines
1.2 KiB
JSON
{
|
|
"expo": {
|
|
"name": "goon",
|
|
"slug": "goon",
|
|
"version": "0.4.0",
|
|
"orientation": "portrait",
|
|
"userInterfaceStyle": "automatic",
|
|
"newArchEnabled": false,
|
|
"runtimeVersion": "1.4",
|
|
"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"
|
|
}
|
|
}
|
|
}
|