Reputation:
Firebase App Check is a wonderful feature. It ensures that only the requests made from my app will be allowed. But what will happen if my app is decompiled, the source code is modified a bit, and a new APK is created? Will the requests made from that version be allowed by Firebase App Check?
Upvotes: 1
Views: 252
Reputation: 2318
The basic steps for Firebase App check are as follows:
Register your apps to use App Check with the SafetyNet provider in the Project Settings > App Check section of the Firebase console. You will need to provide the SHA-256 fingerprint of your app's signing certificate.
And as you can since you would be providing the SHA-256 fingerprint
from your device, if someone does decompile your app and a new APK is created, the fingerprint won't match unless it is done by someone specifically from your device.
I think you will be fine in most cases. You can read more here
https://firebase.google.com/docs/app-check
Upvotes: 2