diff --git a/lib/main.dart b/lib/main.dart index 03c87e8..bbb6355 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -217,6 +217,13 @@ class _MyHomePageState extends State { void initState() { super.initState(); + final appLinks = AppLinks(); // AppLinks is singleton + + // Subscribe to all events (initial link and further) + final sub = appLinks.uriLinkStream.listen((uri) { + doSSH("innentuer-open"); + }); + // we do not await generateKey() here, as this is the intended way obtainKeyPair(); }