Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix app ID and app title when creating a new project #1259

Merged
merged 3 commits into from
Nov 27, 2023

Conversation

mihaiblaga89
Copy link
Contributor

Description

  • properly set title and appid to common when creating a new project
  • remove title and appid from appConfigs/app, otherwise they'll overwrite renative.json ones

Related issues

Npm releases

n/a

@pavjacko pavjacko self-assigned this Nov 27, 2023
@@ -665,6 +665,10 @@ export const taskRnvNew = async (c: RnvContext) => {
...renativeTemplateConfigExt,
projectName: data.projectName || 'my-project',
projectVersion: data.inputVersion || '0.1.0',
common: {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mihaiblaga89 id and title should be present in appConfig renative.json not project level.
give the proper fix requires "bootstrap metadata" feature I pass it as temp workaround

@pavjacko pavjacko merged commit 501e739 into release/1.0 Nov 27, 2023
1 check passed
@pavjacko pavjacko deleted the fix/appid_title_fix branch November 27, 2023 20:54
@pavjacko pavjacko added this to the 1.0 milestone Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants