Skip to content

Local build rejects valid production cards #6

@MichaelTaylor3d

Description

@MichaelTaylor3d

Hi there! Thanks for maintaining this project.
I'm running into an issue when building the app from source. My Tangem card works perfectly with the official app downloaded from the Google Play Store, but when I build and run from source, I receive the following error:

"This card is a production sample or counterfeit"

I've reviewed the README but couldn't find any documentation on configuring the build to work with legitimate production cards.

Steps to reproduce:

Clone the repository
Build and install the app from Android Studio
Attempt to scan a valid Tangem card

Expected behavior: The app should recognize and work with valid production Tangem cards, similar to the Play Store version.

Actual behavior: The app displays an error stating the card is a "production sample or counterfeit."

Context: I have some coins on an EVM chain that isn't currently supported (Optimism Superchain). Tangem support mentioned it could be a while before official support is added, but suggested I could try building from source and adding the chain myself to recover my funds.

Question: Is there a configuration setting, build flag, or additional setup step required to enable support for production cards in local builds? Any guidance would be greatly appreciated.

Thanks in advance for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions