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

Trouble with application id and custom nativescript.config.ts #73

Open
fpaaske opened this issue Dec 19, 2023 · 1 comment
Open

Trouble with application id and custom nativescript.config.ts #73

fpaaske opened this issue Dec 19, 2023 · 1 comment

Comments

@fpaaske
Copy link

fpaaske commented Dec 19, 2023

I have this project.json setup where the nativescript.config-aaa.ts contains a different appResourcesPath than the default (nativescript.config.ts). This seems to work fine.

However, I'm also building for different environments, and have to set the application id based on that, so I add "id" to the config.

        "app-test": {
          "flags": "--config=nativescript.config-aaa.ts",
          "id": "com.app.aaa.test"
...
        "app-dev": {
          "flags": "--config=nativescript.config-aaa.ts",
          "id": "com.app.aaa.dev"

The problem is that the id replacements happens in the default nativescript.config.ts, while the rest of the build process is using the specified nativescript.config-aaa.ts.

Any tips on how I can handle this situation properly?

@fpaaske
Copy link
Author

fpaaske commented Jan 5, 2024

@NathanWalker do you have any tips or tricks to solve this? I think it might be very closely related to this issue; NativeScript/nativescript-cli#3538

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

No branches or pull requests

1 participant