18 lines
472 B
Dart
18 lines
472 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:patient_manager/env/env.dart';
|
|
import 'package:patient_manager/main.dart';
|
|
import 'package:supertokens_flutter/supertokens.dart';
|
|
|
|
void main() async {
|
|
AppEnviroment.setupEnv(Enviroment.dev);
|
|
SuperTokens.init(
|
|
apiDomain: AppEnviroment.baseApiUrl,
|
|
apiBasePath: "/auth",
|
|
);
|
|
runApp(const MzanziInnovationHub());
|
|
}
|
|
|
|
Future<bool> doesSessionExist() async {
|
|
return await SuperTokens.doesSessionExist();
|
|
}
|