Firebase App Check for Ionic apps

Firebase now offers App Check to make sure DB requests are coming from the right source (in addition to having good Firestore rules). Since we’re not creating native apps here, we need some sort of web variant I assume? Has anyone done this yet?

2 Likes

I would also like to know if someone has implemented this

yup
working nicely - you just need to follow the documentation and add the recaptcha stuff which actually does not even disrupt your UI (not visible)

https://firebase.google.com/docs/app-check/web/recaptcha-provider

Tom

Hi.
Thanks for the reply. I implemented as per the documentation. It works perfectly for the webapp as I can see verified requests in firebase console. But on android and iOS app, it is not working. Could you confirm that it is working for native apps for you. Thanks for your time again.

Not tried in any native app.

The web api only is intended for web apps- you know that right?

That’s right. Firebase also provides App check through Safety net and app attest for the android and iOS apps. I am looking for a way to use those features. I did not find a way to use these features.
https://firebase.google.com/docs/app-check/android/safetynet-provider?authuser=0&hl=en