Skip to content

app check token error [App attesetation failed] react native #7223

@vipulguria

Description

@vipulguria

[REQUIRED] Describe your environment

  • Operating System version: Android version (11)
  • Firebase versions:
  • "@react-native-firebase/analytics": "^17.4.1",
    "@react-native-firebase/app": "^17.4.1",
    "@react-native-firebase/app-check": "^17.4.1",
    "@react-native-firebase/crashlytics": "^17.4.1",
    "@react-native-firebase/dynamic-links": "^17.4.1",
    "@react-native-firebase/messaging": "^17.4.1",
    "@react-native-firebase/perf": "^17.4.1",
    "@react-native-firebase/remote-config": "^17.4.1",
  • Firebase Product: App check

[REQUIRED] Describe the problem

When i try to generate the app check token in debug build using the debug provider it works fine(on an unrooted device), and also when i try to generate the app check token in release build it works fine...but when i test it on a rooted device for release build it gives me the following error:
Screenshot_20230414-071115__01

Relevant Code:

Below is my code [i used a try catch block to catch the error]
Screenshot 2023-04-14 at 7 27 07 AM

Please help me out ...i am not able to debug the issue on how to fix it

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions