config and use new install service

This commit is contained in:
2025-06-06 11:30:46 +02:00
parent 02e3698bea
commit 34fd6be2fe
3 changed files with 10 additions and 42 deletions

View File

@@ -1,5 +1,6 @@
import 'package:flutter/material.dart';
import 'package:flutter_native_splash/flutter_native_splash.dart';
import 'package:pwa_install/pwa_install.dart';
import '../mih_env/env.dart';
import '../../main.dart';
import 'package:supertokens_flutter/supertokens.dart';
@@ -14,6 +15,9 @@ void main() async {
apiBasePath: "/auth",
);
// setUrlStrategy(PathUrlStrategy());
PWAInstall().setup(installCallback: () {
debugPrint('APP INSTALLED!');
});
FlutterNativeSplash.remove();
runApp(const MzanziInnovationHub());
}