Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.
This repository was archived by the owner on Apr 20, 2023. It is now read-only.

can't catch deferred deeplink #2

@babaykaVadym

Description

@babaykaVadym

Hello!
Try catch deferred deeplink used different methods, but always returns null and (ConnectState.done, Instance of "DeferredAppLink", null)

FutureBuilder(
future: FacebookApplinks.instance.fetchDeferredAppLink(),
builder: (context, snapshot) {
if (snapshot.hasData) {
return Text('Text $snapshot');
}
return Text('Text no $snapshot');
}),

or

s = (await FacebookApplinks.instance.fetchDeferredAppLink()).toString();
s1 = (await FacebookApplinks.instance.getInitialAppLink()).toString();
await FacebookApplinks.instance.fetchDeferredAppLink().then((value) {
s2 = value.toString();
});
await FacebookApplinks.instance.getInitialAppLink().then((value) {
s3 = value.toString();
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions