⚡ 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 NathanWalker almost 2 years ago
Published by NathanWalker almost 2 years ago
Published by rigor789 almost 2 years ago
Published by NathanWalker almost 2 years ago
startActivity
(#10062) (f3a5c16)SDK_VERSION
(#10097) (c957b48)import { layout } from '@nativescript/core/utils/utils'
import { Utils } from '@nativescript/core'
Utils.layout
This will affect some plugins. If you use a plugin that encounters this issue you can do the following:
webpack.chainWebpack(config => {
config.resolve.alias.set('@nativescript/core/utils/utils', '@nativescript/core/utils');
config.resolve.alias.set('tns-core-modules/utils/utils', '@nativescript/core/utils');
config.resolve.alias.set('tns-core-modules', '@nativescript/core');
Core uses the latest WeakRef types and you can update your tsconfig to latest targets.
"compilerOptions": {
"target": "es2017",
...
"lib": ["es6", "dom"],
"compilerOptions": {
"target": "es2020",
...
"lib": ["esnext", "dom"],
Published by NathanWalker almost 2 years ago
ActionBar
when not needed (#10017) (8094cf2)Published by rigor789 about 2 years ago
Published by NathanWalker about 2 years ago
Published by NathanWalker about 2 years ago
Published by NathanWalker about 2 years ago
Published by NathanWalker over 2 years ago
inBackground
and suspended
(#9897) (8987bab)navigatingToEvent
event.entry, the backstackEntry
object is now returned which has an entry
property on it if you still need it.Published by NathanWalker over 2 years ago
console.log
(#9877) (74e42fc)Published by NathanWalker over 2 years ago
Published by rigor789 over 2 years ago
Published by NathanWalker over 2 years ago
For vanilla NativeScript users (using .xml views), several adjustments were made to the xml binding expressions parsing and you may need a few adjustments, for example:
BEFORE:
{{ default ? ' something' : ' something else' }}
AFTER:
Note: renamed default
to variable name.
{{ enableSubmit ? ' something' : ' something else' }}
This is related to the fact that default
is a reserved keyword and the expression parsing uses natural language syntax now.
BEFORE:
Note: This would apply to example usage: {{ variable | someConv }}
getResources().someConv = {
toView: function () {}
}
AFTER:
getResources().someConv = function () {}
This is related to improving/simplifying the convertors syntax with bindings.
Published by rigor789 over 2 years ago
--env.e2e
support to go along with the new testID
property in core