Skip to content

When switching build configurations plugin platform files are copied into assets #2213

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
jasssonpet opened this issue Nov 10, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@jasssonpet
Copy link
Contributor

jasssonpet commented Nov 10, 2016

Create a TestPlugin that has platforms/android folder.

Execute:

tns create TestApp && cd TestApp
tns plugin add ../TestPlugin

tns run android
ls platforms/android/src/main/assets/app/tns_modules/test-plugin/platforms/android # no such dir

tns run android --release
ls platforms/android/src/main/assets/app/tns_modules/test-plugin/platforms/android # lists files

The second prepare doesn't delete the platforms folder of plugins.

Using NativeScript CLI 2.4 on macOS with Node 4.6.

@jasssonpet jasssonpet added the bug label Nov 10, 2016
@Plamen5kov Plamen5kov self-assigned this Nov 14, 2016
@tsonevn tsonevn added this to the 2.5.0 milestone Dec 5, 2016
@Plamen5kov
Copy link
Contributor

cannot reproduce with latest from master

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

3 participants