Migrating SafetyNet to Play Integrity API for Firebase

672 Views Asked by At

I'm developing a flutter application which uses Firebase as its framework. One of Firebase's features that we use is App Check. I've been using SafetyNet for my Android App Check, but recently I've gotten an email from Google that states that SafetyNet will be discontinued and developers are recommended to migrate to Play Integrity. The problem is, I don't know how to do so, I've tried changing it directly from Firebase Console, and now both my Play Integrity and SafetyNet option is checked, last time it was only SafetyNet. Are there any steps that I might've missed? Any help would be greatly appreciated.

1

There are 1 best solutions below

0
safwan shaib On

Did you add the follwing line to your build.gradle ?

implementation 'com.google.android.play:integrity:1.3.0'

Read more at Developers