Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.
This repository was archived by the owner on May 20, 2025. It is now read-only.

[Android] buildConfigField saved in BuildConfig.java is not enclosed in quotes #390

@imalbert

Description

@imalbert

I followed https://github.com/Microsoft/react-native-code-push#android;

It appears that the line
buildConfigField "String", "CODEPUSH_KEY", "EXAMPLE_STAGING_KEY" generates
public static final String CODEPUSH_KEY = EXAMPLE_STAGING_KEY in BuildConfig.java

When I run react-native run-android it gives an error pertaining to it (';' expected and expected)

react-native 0.24.0
react-native-code-push 1.12.2-beta

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