Skip to content

Livesync ignores aar file changes inside a plugin #3610

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
tgpetrov opened this issue May 23, 2018 · 0 comments
Closed

Livesync ignores aar file changes inside a plugin #3610

tgpetrov opened this issue May 23, 2018 · 0 comments
Assignees
Milestone

Comments

@tgpetrov
Copy link
Contributor

Tell us about the problem

I’d like to be able to refresh the demo app of a plugin when the plugin’s native android code is changed. Currently I am able to build a new aar file from an android project when some of its files is changed. Then I can copy the aar that has just been built in src/platforms/android hoping that it will cause a restart of the running demo app. However nothing happens. I can force the restart of the app by changing any other file in src/platforms.android which doesn’t end with aar. The similar approach on iOS (replacing the ios framework in src/platforms/ios) behaves as expected - the app is restarted with the new framework taken into account.

Which platform(s) does your issue occur on?

Android

Please provide the following version numbers that your issue occurs with:

  • CLI: 4.0.2
  • Cross-platform modules: 4.0.1
  • Runtime(s): 4.0.1

Please tell us how to recreate the issue in as much detail as possible.

  1. Run any plugin's demo app. For example: https://github.com/NativeScript/nativescript-camera
  2. Paste an aar file inside src/platforms/android to see that the app will NOT restart
  3. Paste a file of any other type to see that the app will restart
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

3 participants