This is a migrated thread and some comments may be shown as answers.

Supporting Multiple Screens

3 Answers 77 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
suralal
Top achievements
Rank 1
suralal asked on 27 Feb 2017, 05:46 PM

Hi,

I am developing a nativescript angular app and currently the angular version is not supporting mutliple screens.i could see the documentation of support of nativescript core "http://docs.nativescript.org/ui/supporting-multiple-screens".i want to know when i could get support for multiple screens in nativescript angular 2

Thanks

3 Answers, 1 is accepted

Sort by
0
Nikolay Tsonev
Telerik team
answered on 28 Feb 2017, 02:46 PM
Hello,
Thank you for contacting us.
Indeed this feature will be available for some of the next NativeScript Angular 2 version, unfortunately, I cannot commit to an exact time frame when this will be ready.

For further info, you could keep track on the issue here, where this feature request has been logged.

Meantime, you could use plugin, which allows you to apply differently style on the app depending on some condition. For example, you could use it on while the orientation has been changed.

For you convenience, I am attaching a sample project. You could also review the block post here.

Hope this helps.
Regards,
nikolay.tsonev
Telerik by Progress
0
suralal
Top achievements
Rank 1
answered on 06 Mar 2017, 06:44 AM

Hi,

When adding platform android to my nativescript  project,An exception is shown "
Exception: The plugin tns-android@2.5.0 is already installed",When checked in the dependencies of package.json ""tns-android": "^2.5.0","  has got added.after removing the dependency the platform is added to app.Is this a bug ?

0
Nikolay Tsonev
Telerik team
answered on 06 Mar 2017, 08:00 AM
Hello,

If I understand correct, you are running ` platform add android` the attached sample project in my previous comment. In this case, this warning will be shown, because the -android and its version existed in the project package. file.

Regarding that, you should run the project with ` run android ` without adding again the platform, which should allow you to build the project successfully.

Hope this helps.
Regards,
nikolay.tsonev
Telerik by Progress
Did you know that you can open private support tickets which are reviewed and answered within 24h by the same team who built the components? This is available in our UI for NativeScript Pro + Support offering.
Tags
General Discussion
Asked by
suralal
Top achievements
Rank 1
Answers by
Nikolay Tsonev
Telerik team
suralal
Top achievements
Rank 1
Share this question
or