Skip to content

google service file not changing #7294

Description

@codecrypt2020

Can we access your project?

  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

when i switch environment form development to production and try to run the app , the google service file is still pointing to the dev credentials and the file is not get switched to the production credentials

Expected Behavior

when switching the environment, the google service file should also get replace according to the environment

Steps to Reproduce

1.switch the dev environment
2. local run the application.
3. switch to the production environement
4. local run the application
5. the build get failed due to the name mismatch of the application for ex- com.company.app

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

IT4kk8/f34pIvsNY7pDtbcZsmik4Q2Y2TL07ttYbZxUjIuPtBJh/dcj4ahNCZMTnSkNhHFaluzoJwtbMudrhOO4EOQmcQIRjwZNxVQ6XLHq8RraQDc6OfkF5J+JMfkil4LTQohF/AMFaLkZl2WGUG+ivRXXaCZ+/Zwh9f6PHaOI=

Visual documentation

Launching lib\main.dart on RMX5078 in debug mode... Upgrading build.gradle Upgrading build.gradle Running Gradle task 'assembleDebug'... FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:processDebugGoogleServices'. > No matching client found for package name 'com.company.app' * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. > Get more help at https://help.gradle.org. BUILD FAILED in 8s Running Gradle task 'assembleDebug'...

Environment

- FlutterFlow version: 7.0.23
- Platform:windows
- Browser name and version:windows flutterflow application
- Operating system and version affected: windows 11

Additional Information

when i replace the file manually to the code of google service json file it worked

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions