Skip to content

Automate changing app "id" #3493

Open
Open
@pedromorgan

Description

@pedromorgan

Changing the "app id" means changing in three places (Took me a while to figure out as a newbie as app was not installing/running):

  • package.json - "nativescript": { "id": "com.example.newapp" ...
  • app/App_Resources/Android/app.gradle - ... applicationId = "com.example.newapp" ...
  • app/App_Resources/Android/settings.json - {"appId":"com.example.newapp"...

Could the change in "package.json" become part of the build ?
ie overriding/replacing the "ids" in app.gradle and settings.json ?

Which platform(s) does your issue occur on?

Android

Metadata

Metadata

Assignees

No one assigned

    Labels

    os: androidto-be-checkedIssues that might be resolved in a previous release and need to be tested or clarified further

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions