Skip to content

Improve working with native configuration when necessary #2367

@Plamen5kov

Description

@Plamen5kov

Problem
Currently as is described in this issue users some times have a hard time understanding when and if they can use a common place like package.json to change the native configuration of a project.
As is described in the issue:

  1. During project creation CLI sets app id directly in app/App_Resources/app.gradle, so any additional changes in package.json will not be respected (for Android only).
  2. During every prepare of iOS platform, CLI replaces the bundle identifier in platforms/ios/<project_name>/*.plist with the id in package.json and disregards value in app/App_Resources/ios/Info.plist.

In short we have different behavior on different platforms, which is behavior that needs fixing.

Solution
If it can't be fixed with one common abstraction, we should completely separate the native configuration of iOS and Android projects.

The current example affects only the app_id, but we need to take into account all native configurations when resolving this issue.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions