Skip to content

How to configure bubblewrap to build twa with different domains for production and development #892

Open
@GorvGoyl

Description

I am using Bubblewrap to build my PWA as a TWA Android app. I would like to know how I can configure the app to link to a development domain instead of the production domain for debugging and internal testing purposes.

Ideally, I would like to have one command to build the APK using the production domain and another command to build the APK using the development domain. Apk pointing to Dev domain need not be published on playstore as it's for internal testing only. Could you provide guidance or examples on how to achieve this setup?

PS: I'm using npm if that helps.

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