Nathanael Anderson
Nathanael Anderson
The `(true)` method is already implemented, that is why it is documented. Are you sure you aren't getting the valid rotation returned even while locked.
Ah, you are right -- I forgot; I removed that code a while back, I had a version that had it at some point but found that the new logic...
So if the screen is locked to port; but you physically rotate the device to landscape; you want the sensor value of landscape, correct?
Not fully following the feature request now that I am looking into it. What exact issue are you trying to solve?
Angular is a strange beast; it has change detection that doesn't always fire properly. You might try using the ngZone in the orientation callback to trigger a change detection.
That is an odd mystery. If you can clone this repo and take the nativescript core demo and add your code and duplicate the issue; send me the URL and...
Not sure what you mean "header support". Can you point me to what it is?
Ah, ok -- I understand what you want now. At this moment I know I don't have free time to add it, I have several other projects that are open...
Well it works fine in NS 2.0 -- but I haven't tried to use it with NG2. If NG2 supports standard websockets it should show up as a standard websocket.
@felix-digitalkarma - I actually do have a demo that uses WebSockets in my book `Getting Started with NativeScript`. Which you can pick up from Amazon (https://www.amazon.com/dp/B016YFQ82I/) or many other retailers....