add primitive AppLinks handler
This commit is contained in:
parent
5ba5c2e08e
commit
cf52f5f1f4
@ -217,6 +217,13 @@ class _MyHomePageState extends State<MyHomePage> {
|
|||||||
void initState() {
|
void initState() {
|
||||||
super.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
|
// we do not await generateKey() here, as this is the intended way
|
||||||
obtainKeyPair();
|
obtainKeyPair();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user