Skip to content

Commit

Permalink
fix typo and add clarify that the Stream is also important
Browse files Browse the repository at this point in the history
  • Loading branch information
avioli committed May 29, 2019
1 parent e3d1272 commit 5693a1b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -305,15 +305,16 @@ import 'package:uni_links/uni_links.dart';
If the app was terminated (or rather not running in the background) and the OS
must start it anew - that's a cold start. In that case, `getInitialLink` will
have the link that started your app and the Stream won't produce a link.
have the link that started your app and the Stream won't produce a link (at
that point in time).
Alternatively - if the app was running in the background and the OS must bring
it to the foreground the Stream will be the one to produces the link, while
it to the foreground the Stream will be the one to produce the link, while
`getInitialLink` will be either `null`, or the initial link, with which the
app was started.
Because of these two situations - you should always add a check for the
initial link (or uri) and also subscribe for a Stream of links (or URIs).
initial link (or URI) and also subscribe for a Stream of links (or URIs).
## Tools for invoking links
Expand Down

0 comments on commit 5693a1b

Please sign in to comment.