-
-
Notifications
You must be signed in to change notification settings - Fork 241
<ios> and <android> tags do not work inside ActionBar #350
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
Comments
@vakrilov platform-specific attribute visibility is also not working (for both Android and iOS)
@arnaudvalle , @mishapinky as a workaround for your Actionbars you can hide your Action items in NativeScript + Angular-2 using Basically *ngIf directive removes or recreates a portion of your code (while expecting a boolean value) For example:
|
@NickIliev just to confirm this works fine for me with your workaround. Thanks again! |
Just an update you can even define a set of |
March 2017 and this isn't working at all... Executes both sections on iOS. The code above produces 'Android' actionbar. Basically the last one is being applied. |
I don't understand the whole https://developer.android.com/reference/android/R.drawable.html That's not even an icon.. Needless to say it doesn't show up in my project when I try to use it. |
I have to agree with @robbdimitrov, this is still a bug in 2.5.4. I guess this should be re-opened or the documentation should be fixed since everyone reading it will end up here anyways... Thanks for the workaround |
Agree - reopening the issue since this is causing a lot of confusion. @NickIliev can you add a note in the docs about |
Hi @ALL. |
@tsonevn When it is essential and often used, why don't we ship it as built-in directive within NativeScript Angular package. |
Hi @mishapinky, |
@tsonevn - I won't pretend to know all the details about angular or the integration. I've been working on several NG apps lately and coming from plain NS background I always default to |
Hey @bradmartin. There are cases in which |
hi @NickIliev |
@ChirantanPatel can you please provide a link to a sample project or Playground demo demonstrating your issue - not exactly sure what you mean by |
still not working... |
There seems to be an issue when trying to use
<ios>
and<android>
tags inside of an ActionBar that cause the app to crash.However, outside of ActionBar this works.
The text was updated successfully, but these errors were encountered: