Skip to content

Commit a3cc4de

Browse files
aike19115Aike
andauthored
fix(docs): add a necessary await operator to the example code for initializeAppCheck() (#8569)
Co-authored-by: Aike <[email protected]>
1 parent f4bcd4f commit a3cc4de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/app-check/usage/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ Once you have the custom provider configured, install it in app-check using the
201201
import { getApp } from '@react-native-firebase/app';
202202
import { initializeAppCheck } from '@react-native-firebase/app-check';
203203

204-
const appCheck = initializeAppCheck(getApp(), {
204+
const appCheck = await initializeAppCheck(getApp(), {
205205
provider: rnfbProvider,
206206
isTokenAutoRefreshEnabled: true,
207207
});

0 commit comments

Comments
 (0)