Skip to content

Misleading message for min runtime version #4608

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 10, 2019 · 0 comments
Closed

Misleading message for min runtime version #4608

tgpetrov opened this issue May 10, 2019 · 0 comments
Assignees
Milestone

Comments

@tgpetrov
Copy link
Contributor

Describe the bug
When the version described in a plugin's package.json for tns-android is higher than the currently added platform android, there is a warning message. The text is:

nativescript-datetimepicker 5.0.0 for android is not compatible with the currently installed framework version 4.2.0.

I find it misleading, as it seemed to me that [email protected] plugin is not compatible with [email protected], while the actual error is that the current version of the plugin has stated that is requires [email protected], while the currently installed tns-android is 4.2.0

To Reproduce
Check the warning message. I saw it in the console, when I lowered the runtime version of a plugin demo to a version lower than the one in the plugin's package.json, for example change the version on this line to 4.2.0.

Expected behavior
The message should me more clear about which versions are not compatible, for example:

nativescript-datetimepicker requires at least version 5.0.0 of platform android. Currently installed version is 4.2.0.
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

4 participants