Skip to content
This repository was archived by the owner on Nov 16, 2020. It is now read-only.
This repository was archived by the owner on Nov 16, 2020. It is now read-only.

Externalize BASE_URL as environment variable #22

Description

@joernb

Currently, the BASE_URL is hardcoded:

private static final String BASE_URL = "https://api.ito-app.org";

By externalizing it as an environment variable, it will become possible to configure the BASE_URL during the build process and have different backends (e.g. staging vs production backend).

Possible solution: https://github.com/luggit/react-native-config

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type
    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