Skip to content

Passing Urls with "=" messes up the string on android #6

@baldarama

Description

@baldarama

i have a env.json file which contains many url endpoints, one of them contains a "="
RESOURCES_URL: https://test.tes/resource?id=%

and in build.gradle.kts i do:
resValue("string", "resources_url", project.findProperty("RESOURCES_URL").toString())

and whenever i try to consume the value like this
val baseUrl: String = getString(R.string.resources_url)

only what ever is after the las "=" is recovered, for this example baseUrl is "%"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions