Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions docs/app-check/usage/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,10 @@ So AppCheck module initialization is done in two steps in react-native-firebase
To configure the react-native-firebase custom provider, first obtain one, then configure it according to the providers you want to use on each platform.

```javascript
import { ReactNativeFirebaseAppCheckProvider } from '@react-native-firebase/app-check';
import { getApp } from '@react-native-firebase/app';

const rnfbProvider = getApp().appCheck().newReactNativeFirebaseAppCheckProvider();

const rnfbProvider = new ReactNativeFirebaseAppCheckProvider();
rnfbProvider.configure({
android: {
provider: __DEV__ ? 'debug' : 'playIntegrity',
Expand Down