fix(mobile): skroc tresc banera migracji + changelog + em-dash w dialogu instalacji

Weryfikacja na emulatorze (build debugowy, Metro): pasek i modal renderuja sie
poprawnie, kod synchronizacji sie pokazuje, przycisk otwiera goon-foss.org.
Tresc byla za dluga, urywala sie na naglowku kroku 4 i wygladala jak zepsuta;
po skroceniu miesci sie bez scrollowania.

Przy okazji potwierdzone na dexach: ExpoKeepAwake/KeepAwakeModule wchodzi teraz
do APK, wiec keep-awake zadziala po wydaniu 0.2.2.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
goon-foss 2026-08-11 09:32:04 +02:00
parent 0c818ac1df
commit 1a6ddfef40
3 changed files with 19 additions and 13 deletions

View file

@ -265,7 +265,7 @@ export default function App() {
setTimeout(() => sub.remove(), 5 * 60 * 1000); setTimeout(() => sub.remove(), 5 * 60 * 1000);
Alert.alert( Alert.alert(
'Install permission', 'Install permission',
'Allow installing updates from Goon? Toggle "Allow from this source", then tap back — install starts automatically.', 'Allow installing updates from Goon? Toggle "Allow from this source", then tap back and the install starts automatically.',
[ [
{ text: 'Cancel', style: 'cancel', onPress: () => sub.remove() }, { text: 'Cancel', style: 'cancel', onPress: () => sub.remove() },
{ text: 'Open Settings', onPress: () => openInstallPermissionSettings() }, { text: 'Open Settings', onPress: () => openInstallPermissionSettings() },

View file

@ -16,6 +16,14 @@ export type ChangelogEntry = {
}; };
export const CHANGELOG: ChangelogEntry[] = [ export const CHANGELOG: ChangelogEntry[] = [
{
id: '2026-08-11',
date: 'August 2026',
items: [
'Version 0.2.2 has to be installed by hand, once: it is signed with a different key, so Android will not install it over the current app. Copy your sync code from the banner on the Scenes tab BEFORE you uninstall, then paste it back after installing. Without it your favourites and watch progress cannot be found again.',
'Thumbnails from fullporner are back. They had been switched off after their image host briefly served blanks.',
],
},
{ {
id: '2026-08-02', id: '2026-08-02',
date: 'August 2026', date: 'August 2026',

View file

@ -85,10 +85,9 @@ export function MigrationBanner() {
<Text style={styles.title}>Update {MIGRATION_NOTICE.version}</Text> <Text style={styles.title}>Update {MIGRATION_NOTICE.version}</Text>
<ScrollView style={styles.scroll} contentContainerStyle={{ paddingBottom: 4 }}> <ScrollView style={styles.scroll} contentContainerStyle={{ paddingBottom: 4 }}>
<Text style={styles.lead}> <Text style={styles.lead}>
This one has to be installed by hand: the new build is signed with a different The new build is signed with a different key, so Android will not install it
key, so Android will not put it on top of the current app. You uninstall Goon over the current app. Uninstall first, install the download second. That wipes
first, then install the download. That wipes what is stored on the phone, so what is stored on the phone, so copy your sync code before you start.
copy your sync code now and paste it back afterwards.
</Text> </Text>
<Text style={styles.step}>1. Copy your sync code</Text> <Text style={styles.step}>1. Copy your sync code</Text>
@ -99,8 +98,8 @@ export function MigrationBanner() {
<Text style={styles.copyBtn}>{copied ? 'Copied' : 'Copy'}</Text> <Text style={styles.copyBtn}>{copied ? 'Copied' : 'Copy'}</Text>
</Pressable> </Pressable>
<Text style={styles.note}> <Text style={styles.note}>
Paste it somewhere safe (notes, a message to yourself). Without it your Paste it somewhere safe. Without it your favourites, saved searches, hidden
favourites, saved searches, hidden list and watch progress cannot be found again. list and watch progress cannot be found again.
</Text> </Text>
<Text style={styles.step}>2. Download the new version</Text> <Text style={styles.step}>2. Download the new version</Text>
@ -111,21 +110,20 @@ export function MigrationBanner() {
<Text style={styles.dlText}>Open {MIGRATION_NOTICE.downloadUrl.replace(/^https?:\/\//, '').replace(/\/$/, '')}</Text> <Text style={styles.dlText}>Open {MIGRATION_NOTICE.downloadUrl.replace(/^https?:\/\//, '').replace(/\/$/, '')}</Text>
</Pressable> </Pressable>
<Text style={styles.step}>3. Uninstall Goon, then open the downloaded file</Text> <Text style={styles.step}>3. Uninstall Goon, then open the file</Text>
<Text style={styles.note}> <Text style={styles.note}>
Long-press the app icon, Uninstall. Then open the .apk from your notifications Long-press the app icon, Uninstall. Then open the .apk from your notifications
or Downloads. If Android asks, allow installing from your browser. or Downloads.
</Text> </Text>
<Text style={styles.step}>4. Paste the code back</Text> <Text style={styles.step}>4. Paste the code back</Text>
<Text style={styles.note}> <Text style={styles.note}>
Settings, Backup &amp; sync, Restore from another device: paste the code, tap Settings, Backup &amp; sync, Restore: paste the code, tap Import.
Import. Everything comes back.
</Text> </Text>
<Text style={styles.sorry}> <Text style={styles.sorry}>
Sorry for the hassle. Signing keys cannot be recovered, so this is a one-off: A one-off, sorry. Signing keys cannot be recovered, so this once it has to be
updates after this one go back to installing themselves. done by hand. Later updates install themselves again.
</Text> </Text>
</ScrollView> </ScrollView>