Skip to content

How to activate App Check in android @react-native-firebase/app-check #5660

Answered by mikehardy
AmalRichwin-AT asked this question in Q&A
Discussion options

You must be logged in to vote

Hi there! Have you looked at how we do it? Examining the "test" aspects of the implementing PR:

99cd4e5

Or at the test app itself is instructive

https://github.com/invertase/react-native-firebase/blob/master/packages/app-check/e2e/appcheck.e2e.js

In short, for android you may activate any time, but it obliterates any other existing providers.
For iOS you must have the Provider you want set up before [FIRApp configure] is called (which is a little tough, yes

It is difficult to set up DebugProviders currently, unfortunately - you may track that here firebase/firebase-ios-sdk#8584 and there's a linked comment from FlutterFire there that indexes right back here with deep links to the strategi…

Replies: 8 comments 13 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by AmalRichwin-AT
Comment options

You must be logged in to vote
1 reply
@mikehardy
Comment options

Comment options

You must be logged in to vote
4 replies
@mikehardy
Comment options

@Agusfn
Comment options

@mikehardy
Comment options

@vogdev
Comment options

Comment options

You must be logged in to vote
2 replies
@RyanMan56
Comment options

@bimix
Comment options

Comment options

You must be logged in to vote
3 replies
@mikehardy
Comment options

@glesperance
Comment options

@mikehardy
Comment options

Comment options

You must be logged in to vote
3 replies
@mikehardy
Comment options

@glesperance
Comment options

@mikehardy
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
9 participants