Skip to content

[firebase_app_check]: Firebase App Check fails on iOS after upgrading to Flutter 3.50 – App not registered (HTTP 400) #18967

Closed as duplicate

Description

@fatihdurmaz

Is there an existing issue for this?

  • I have searched the existing issues.

Which plugins are affected?

App Check

Which platforms are affected?

iOS

Description

Description

After upgrading my Flutter application to Flutter 3.50, Firebase App Check stopped working on iOS.

The application initializes Firebase App Check successfully and generates a debug token. However, when attempting to retrieve an App Check token, the request fails with an HTTP 400 error.

Everything was working as expected before the Flutter upgrade.

Error Logs

Firebase App Check initialized successfully

Firebase App Check Debug Token: [REDACTED]

Firebase App Check token error:
[firebase_app_check/server-unreachable]
Too many attempts.

Underlying error:
URL: https://firebaseappcheck.googleapis.com/v1/projects/.../apps/...:exchangeDeviceCheckToken

HTTP status code: 400

Response body:
{
  "error": {
    "code": 400,
    "message": "App not registered: [APP_ID]",
    "status": "FAILED_PRECONDITION"
  }
}

Reproducing the issue

Steps to Reproduce

  1. Upgrade an existing Flutter application to Flutter 3.50.
  2. Initialize Firebase and Firebase App Check on iOS.
  3. Run the application in debug mode.
  4. Attempt to retrieve an App Check token using FirebaseAppCheck.instance.getToken().
  5. Observe the HTTP 400 error.

Expected Behavior

Firebase App Check should successfully retrieve a valid token, as it did before upgrading Flutter.

When using the debug provider, App Check should use the registered debug token instead of attempting DeviceCheck attestation.

Actual Behavior

Firebase App Check initialization completes successfully, but token retrieval fails with:

[firebase_app_check/server-unreachable]
HTTP 400: FAILED_PRECONDITION
App not registered

The request appears to be sent to the exchangeDeviceCheckToken endpoint, even though a debug token is generated.

Environment

  • Flutter: 3.50
  • Platform: iOS
  • Firebase App Check: firebase_app_check: ^0.5.1
  • Firebase Core: firebase_core: ^5.1.0
  • Build mode: Debug

Additional Context

The issue started appearing immediately after upgrading Flutter.

Firebase App Check initialization reports success, but retrieving a token fails and prevents the application from completing its authentication flow.

Is this a known compatibility issue between Flutter 3.50 and Firebase App Check on iOS?

Could this be related to changes in the iOS build environment or Firebase App Check provider selection?

Firebase Core version

5.1.0

Flutter Version

3.5.0

Relevant Log Output

Flutter dependencies

Expand Flutter dependencies snippet
Replace this line with the contents of your `flutter pub deps -- --style=compact`.

Additional context and comments

No response

Activity

  1. changed the title [-]firebase_app_check: Firebase App Check fails on iOS after upgrading to Flutter 3.50 – App not registered (HTTP 400)[/-] [+][firebase_app_check]: Firebase App Check fails on iOS after upgrading to Flutter 3.50 – App not registered (HTTP 400)[/+] on Nov 13, 2026
  2. SelaseKay commented on Nov 13, 2026

    @SelaseKay
    Contributor

    Duplicate of #18966

  3. added and removed
    Needs AttentionThis issue needs maintainer attention.
    on Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions