Skip to content

[Android] nativescript.id requires app name subdomain #2709

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

Closed
PeterStaev opened this issue Apr 12, 2017 · 1 comment
Closed

[Android] nativescript.id requires app name subdomain #2709

PeterStaev opened this issue Apr 12, 2017 · 1 comment

Comments

@PeterStaev
Copy link
Contributor

I have the following package.json:

{
  .......
  "nativescript": {
    "id": "com.tangrainc",
   }
   .......
}

If you you do:

tns platform add ios

This works and adds fine the iOS platform and the you an compile the app w/o any problems.

But if you do:

tns platform add android

The process fails with the following error:

sed: invalid replacement string

If I change the id to com.tangrainc.app the android process also completes fine.

Expected:
The android workflow should allow for creating apps with "top-level" IDs w/o requiring an app "subdomain" similar to how it works for iOS.

@petekanev
Copy link
Contributor

petekanev commented Apr 12, 2017

Hey @PeterStaev

Thank you for reporting this issue.

The problem has already been addressed with PR #2595 which is immediately available in [email protected]. The fix will also be available in our upcoming public 3.0.0 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants