You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PeterStaev opened this issue
Aug 20, 2019
· 2 comments
Labels
bugdebughooksDescribes issues related to hooksprepareDescribes issues related to prepare commandpreviewDescribes issues related to preview commandrunDescribes issues related to run commandunit testing
Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):
CLI: 6.0.3
Cross-platform modules: 6.0.6
Android Runtime: 6.0.1
iOS Runtime: 6.0.0
Plugin(s):
Describe the bug
There is a difference in the casing of the platform that is sent to an after-prepare hook.
To Reproduce
Create a simple plugin with an after-prepare hook having the following:
Hey @PeterStaev ,
Thanks for sharing this issue. We've successfully reproduced it on our side based on your descriptions and it is definitely not expected to have the platform with different casing based on the executed command.
bugdebughooksDescribes issues related to hooksprepareDescribes issues related to prepare commandpreviewDescribes issues related to preview commandrunDescribes issues related to run commandunit testing
Environment
Provide version numbers for the following components (information can be retrieved by running
tns info
in your project folder or by inspecting thepackage.json
of the project):Describe the bug
There is a difference in the casing of the platform that is sent to an
after-prepare
hook.To Reproduce
Create a simple plugin with an
after-prepare
hook having the following:Execute:
Output:
Execute:
Output:
Expected behavior
The
platform
should be made consistent no matter which CLI command you are executing.Sample project
Additional context
The text was updated successfully, but these errors were encountered: