Создание приложения на Nativescript 5.0 для Android и iOS. По какой-то причине теги и не работают должным образом, или я делаю это неправильно.
<StackLayout>
<android>
<ActionBar class="header" flat="true">
<StackLayout orientation="vertical">
<app-eon-colors-top></app-eon-colors-top>
<GridLayout columns="auto, *, auto, auto" rows="2*">
<Label class="title" col="0" text="{{title}}" verticalAlignment="center"></Label>
<Label class="icon fa-solid" col="2" text="" verticalAlignment="center"></Label>
<Label class="logout fa-solid" col="3" row="0" text="Logga ut" verticalAlignment="center" (tap)="logout()"></Label>
</GridLayout>
</StackLayout>
</ActionBar>
</android>
<ios>
<ActionBar class="header" flat="false">
<StackLayout orientation="horizontal">
<Label class="title" text="{{title}}"></Label>
</StackLayout>
<ActionItem ios.position="right">
<StackLayout orientation="horizontal">
<Label class="icon fa-solid" text=""></Label>
<Label class="logout fa-solid" ios.position="right" text="Logga ut" (tap)="logout()"></Label>
</StackLayout>
</ActionItem>
</ActionBar>
</ios>
</StackLayout>
При запуске этого шаблона на Android он использует только код в блоке ios, но на ios он работает нормально.