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.
52 lines
1.5 KiB
JSON
52 lines
1.5 KiB
JSON
{
|
|
"name": "goon-mobile",
|
|
"version": "0.1.0",
|
|
"main": "App.tsx",
|
|
"scripts": {
|
|
"start": "expo start",
|
|
"android": "expo run:android",
|
|
"ios": "expo run:ios",
|
|
"web": "expo start --web",
|
|
"tsc": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@react-navigation/native": "^7.0.0",
|
|
"@react-navigation/native-stack": "^7.0.0",
|
|
"@sentry/react-native": "~6.10.0",
|
|
"@tanstack/react-query": "^5.59.0",
|
|
"expo": "~52.0.0",
|
|
"expo-asset": "~11.0.5",
|
|
"expo-build-properties": "~0.13.3",
|
|
"expo-clipboard": "~7.0.1",
|
|
"expo-font": "~13.0.4",
|
|
"expo-haptics": "~14.0.1",
|
|
"expo-image": "~2.0.7",
|
|
"expo-intent-launcher": "~12.0.2",
|
|
"expo-keep-awake": "^14.0.3",
|
|
"expo-linear-gradient": "~14.0.2",
|
|
"expo-local-authentication": "~15.0.2",
|
|
"expo-screen-capture": "~7.0.1",
|
|
"expo-screen-orientation": "~8.0.4",
|
|
"expo-secure-store": "~14.0.0",
|
|
"expo-status-bar": "~2.0.0",
|
|
"expo-updates": "~0.27.5",
|
|
"expo-video": "~2.0.6",
|
|
"react": "18.3.1",
|
|
"react-native": "0.76.9",
|
|
"react-native-gesture-handler": "~2.20.0",
|
|
"react-native-google-cast": "^4.9.1",
|
|
"react-native-pager-view": "6.5.1",
|
|
"react-native-qrcode-svg": "^6.3.21",
|
|
"react-native-safe-area-context": "4.12.0",
|
|
"react-native-screens": "~4.4.0",
|
|
"react-native-svg": "15.8.0",
|
|
"react-native-view-shot": "^5.1.0",
|
|
"react-native-webview": "13.12.5"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.25.0",
|
|
"@types/react": "~18.3.12",
|
|
"typescript": "~5.3.3"
|
|
},
|
|
"private": true
|
|
}
|