⚡ Empowering JavaScript with native platform APIs. ✨ Best of all worlds (TypeScript, Swift, Objective C, Kotlin, Java). Use what you love ❤️ Angular, Capacitor, Ionic, React, Solid, Svelte, Vue with: iOS (UIKit, SwiftUI), Android (View, Jetpack Compose), Dart (Flutter) and you name it compatible.
MIT License
Bot releases are hidden (Show)
Published by rosen-vladimirov over 8 years ago
Published by ErjanGavalji almost 9 years ago
change
event when its `length' property is set.xmlns="http://www.nativescript.org/tns.xsd"
toxmlns="http://schemas.nativescript.org/tns.xsd"
.###Fixed
propertyChange
events when created with JSON###New
class
property of viewstext-decoration
Published by ErjanGavalji about 9 years ago
(#774) Animation class no longer has a finished property because an animation can be played multiple times. The play method now returns a new Promise each time it is invoked. Use this to listen for the animation finishing or being cancelled. When upgrading to version 1.4.0 or above simply remove .finished from your code.
Old Code (JavaScript):
animation1.play().finished.then(function () { console.log("Finished"); });
New Code (JavaScript):
animation1.play().then(function () { console.log("Finished"); });
Old Code (TypeScript):
animation1.play().finished.then(()=>console.log("Finished"));
New Code (JavaScript):
animation1.play().then(()=>console.log("Finished"));
(#904) Navigate clearHistory sometimes crashes Android with a null pointer exception
(#901) TypeError: using example from docs
(#893) isLoaded is set before calling applyStyleFromScope
(#873) The Repeater is re-creating its children multiple times during initialization.
(#867) utils.ad.async method is not implemented
(#857) Android action dialog actions are not shown if message is provided
(#851) takePicture crashes iOS Simulator
(#848) web-view loads local data with UTF-8
(#843) [iOS] Page is layouted as there is no NavigationBar
(#839) Page background now spans under ActionBar
(#837) Blank Text attribute on SearchBar crashes app
(#835) iOS animations combining several affine transform properties set only the first property on our view after they finish.
(#832) Transformations such as scale, translate, rotate won't be incorrectly affected by the layout
(#819) WebView check for http/https should be case insensitive
(#817) timers.clearInterval doesn't work on Android
(#814) Ternary if and parenthesis makes UI not update
(#808) Segmentedbar selectedIndexChanged doesn't work
(#805) Missing console.dump on ios...
(#793) Label.backgroundColor cannot be animated in iOS.
(#790) Cannot use number values in EditableText's hint field
(#777) ios Border-radius on Label
(#774) If an Animation instance is played more than once, the same promise is resolved each time leading to unexpected results.
(#772) Placeholder with an id attribute doesn't call creatingView handler
(#763) 1.3 - Can not build new project due to missing App_Resources
(#759) Android animations that animate a property to its current value do not run.
(#756) Nordic characters: "æøå"
(#744) iOS 9 issues
(#732) Closing an alert on the iPad crashesh the whole app.
(#605) Guard for "undefined" in Observable's on and off
(#890) Implement Page background option to span under status bar (iOS only)
(#766) Rename cssClass property to just class
(#740) Modules does not support iOS9
(#713) ReturnKeyType Listener
(#283) Cross platform way to clear history
(#241) Set base URL in WebView to be able to load resources
application.ios.removeNotificationObserver
method now requires an observer instance to be supplied as the first argument. The observer instance is obtained from the application.ios.addNotificationObserver
method:var observer = application.ios.addNotificationObserver(UIDeviceBatteryLevelDidChangeNotification,
function (notification) {
console.log(notification);
});
application.ios.removeNotificationObserver(observer, UIDeviceBatteryLevelDidChangeNotification);
Published by hdeshev about 9 years ago
Published by ErjanGavalji about 9 years ago
page.actionBar
instead of page.optionsMenu
. See an example...
visibility
property inconsistent with CSStns debug ios
command is not working. The workaround is to use tns debug ios --framework-path "__path to the iOS runtime__"
. A fix for this is coming in 1.2.1 which will be released in the week of July, 27th.Published by ErjanGavalji over 9 years ago
Version 1.1.0
bindingContext
affects UI elements that has a binding to bindingContext
.