fix: replace download flow with manual transfer instructions; rename app package

The Gemma model requires Kaggle login/licence so direct HTTP download is
not possible. Replaces the download screen with adb transfer instructions,
a Scan button that checks the file on disk, and a Continue without AI bypass.

Also renames the Android package from com.example.dailyou to
net.stefwill.dailyou (build.gradle.kts, MainActivity.kt path + declaration)
and adds *.bin to .gitignore to keep model files out of the repo.
This commit is contained in:
2026-04-26 15:14:17 +10:00
parent e464c5621e
commit 68780ff436
6 changed files with 174 additions and 168 deletions
+11 -8
View File
@@ -9,6 +9,7 @@ class App extends ConsumerWidget {
@override
Widget build(BuildContext context, WidgetRef ref) {
final skipped = ref.watch(modelSkippedProvider);
final modelPresentAsync = ref.watch(modelPresentProvider);
return MaterialApp(
@@ -17,14 +18,16 @@ class App extends ConsumerWidget {
theme: _lightTheme(),
darkTheme: _darkTheme(),
themeMode: ThemeMode.system,
home: modelPresentAsync.when(
data: (present) =>
present ? const AppShell() : const ModelDownloadScreen(),
loading: () => const Scaffold(
body: Center(child: CircularProgressIndicator()),
),
error: (_, __) => const ModelDownloadScreen(),
),
home: skipped
? const AppShell()
: modelPresentAsync.when(
data: (present) =>
present ? const AppShell() : const ModelDownloadScreen(),
loading: () => const Scaffold(
body: Center(child: CircularProgressIndicator()),
),
error: (_, __) => const ModelDownloadScreen(),
),
);
}