add primitive AppLinks handler

This commit is contained in:
lemoer 2025-07-12 02:45:43 +02:00
parent 5ba5c2e08e
commit cf52f5f1f4

View File

@ -217,6 +217,13 @@ class _MyHomePageState extends State<MyHomePage> {
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();
}