Skip to content

Commit 2efb5c2

Browse files
author
Eduardo Pelitti
authored
docs(dynamic-links): Update Usage document (Minor grammar/syntax fixes) (#4723)
Minor grammar/syntax corrections.
1 parent a1991ab commit 2efb5c2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/dynamic-links/usage/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ a Dynamic Link on iOS or Android, they can be taken directly to the linked conte
3838

3939
## Firebase Setup
4040

41-
1. Open the Dynamic Links tab and configure a new domain for your app. In this test example, I've created one for `https://rnfbtestapplication.page.link`.
41+
1. Open the Dynamic Links tab and configure a new domain for your app. In this test example, we've created one for `https://rnfbtestapplication.page.link`.
4242

4343
![Firebase console dynamic link first step](https://images.prismic.io/invertase/4152f98c-b4e9-4561-a790-a0750a0392bb_Screenshot+2020-05-07+at+09.26.47.png?auto=compress,format)
4444

@@ -154,7 +154,7 @@ async function buildLink() {
154154
link: 'https://invertase.io',
155155
// domainUriPrefix is created in your Firebase console
156156
domainUriPrefix: 'https://xyz.page.link',
157-
// optional set up which updates Firebase analytics campaign
157+
// optional setup which updates Firebase analytics campaign
158158
// "banner". This also needs setting up before hand
159159
analytics: {
160160
campaign: 'banner',
@@ -171,7 +171,7 @@ The module provides two methods for reacting to events related to the applicatio
171171

172172
### Foreground events
173173

174-
When the app is in the foreground (visible on the device), you can use the `onLink` method to subscribe to events as and
174+
When the app is in the foreground state (visible on the device), you can use the `onLink` method to subscribe to events as and
175175
when they happen:
176176

177177
```jsx
@@ -187,7 +187,7 @@ function App() {
187187

188188
useEffect(() => {
189189
const unsubscribe = dynamicLinks().onLink(handleDynamicLink);
190-
// When the is component unmounted, remove the listener
190+
// When the component is unmounted, remove the listener
191191
return () => unsubscribe();
192192
}, []);
193193

@@ -197,7 +197,7 @@ function App() {
197197

198198
### Background/Quit events
199199

200-
If the application is in a background state / has fully quit then the `getInitialLink` method can be used to detect whether
200+
If the application is in a background state or has fully quit then the `getInitialLink` method can be used to detect whether
201201
the application was opened via a link:
202202

203203
```jsx

0 commit comments

Comments
 (0)