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

can't catch deferred deeplink #2

Open
babaykaVadym opened this issue Feb 6, 2021 · 1 comment
Open

can't catch deferred deeplink #2

babaykaVadym opened this issue Feb 6, 2021 · 1 comment

Comments

@babaykaVadym
Copy link

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();
});

@jjsebastianfuertes
Copy link

I'm always getting null and platform error; any idea what can be the problem?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants