I am not able to settle this issue when implementing the new App Check feature from Firebase.
When uploading files to Firebase Storage it fails with an error
Caused by: java.io.IOException: { "error": { "code": 401, "message": "Firebase App Check token is invalid." }}
I already provided the debug secret just like what is in this documentation.
The debug apk was installed directly via USB debugging.
Note: I am using a physical device and enabled Enforce status on both Storage and Real-time database and it fails whenever I tried to do transaction like upload and the error above shows.