Skip to content

Prepare does not work properly when plugin has only Android native implementaion #1980

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
dtopuzov opened this issue Aug 5, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@dtopuzov
Copy link
Contributor

dtopuzov commented Aug 5, 2016

If we have a plugin, valid only for android platform:

"nativescript": {
    "platforms": {
      "android": "2.0.0"
    }
  }

tns prepare ios says "acra-telerik-analytics is not supported for ios", but all the content (aar files) are copied to native ios project

Workaround:

Adding ios key:

  "nativescript": {
    "platforms": {
      "android": "2.0.0",
      "ios": "2.0.0"
    }
  },

results in "Successfully prepared plugin acra-telerik-analytics for ios." and no aars in platform/ios

Notes:
https://github.com/NativeScript/acra-telerik-analytics easily reproduce the bug.

@dtopuzov dtopuzov added the bug label Aug 5, 2016
@dtopuzov
Copy link
Contributor Author

Partially fixed -> platform folder is not copied, but platform specific js files are not processed.

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

No branches or pull requests

4 participants