diff --git a/covas_mobile/lib/main.dart b/covas_mobile/lib/main.dart index c9ddb2c..7bb6088 100644 --- a/covas_mobile/lib/main.dart +++ b/covas_mobile/lib/main.dart @@ -120,6 +120,17 @@ class _LoginDemoState extends State with ShowErrorDialog { } } + void start() async { + SharedPreferences prefs = await SharedPreferences.getInstance(); + stderr.writeln(prefs.getString("jwt")); + } + + @override + void initState() { + start(); + super.initState(); + } + @override Widget build(BuildContext context) { return Scaffold(