Releases: NativeScript/android
Releases · NativeScript/android
v6.1.0
What's New
- Runtime Binding Generator depends on deprecated APIs #1441)
- The runtime depends on accessing a hidden value field (#1458)
- Upgrade v8 to 7.6.303.28 (#1439)
- Unify JS stack trace when exception is thrown #1443
- Update androidSdk, targetSdk and build tools to 29 (#1452)
- Upgrade android gradle plugin to the latest 3.5.0 version (#1456)
- Add initial Kotlin support (#1459)
- Add support for user defined gradle.properties (#1463)
Bug Fixes
v6.0.2
What's New
v6.0.1
v6.0.0
Breaking Changes
-
Exception information in onDiscarderError and onUnhandledError is changed so that
message
contains the exception message andstackTrace
contains only the stackTrace. In the previous implementationstackTrace
contained some additional details (including the exception message) and themessage
was something like:The application crashed because of an uncaught exception. You can look at "stackTrace" or "nativeException" for more detailed information about the exception.
-
The built-in
JSON.stringify
method is used for cross workers communication. Circular object references are no longer supported and attempting to send such object will throw an exception.
What's New
- Use the built-in JSON.stringify for cross workers communication (#1411)
- Enable AndroidX and Jetifier(#1370)
- Upgrade v8 to 7.5.288.22(#1387)
- Upgrade android gradle plugin to the latest 3.4.1 version(#1390)
- Remove printStackTrace method calls from the source code(#1359)
Bug Fixes
v5.4.0
What's New
- Upgrade v8 to 7.4.288.25(#1356)
- Upgrade the android gradle plugin to the latest 3.4.0 version(#1360)
- Enable V8 symbols using from application's package.json file(#1368)
Bug Fixes
- HashMaps improvements - fix for "Attempt to use cleared object reference"(#1345)
- Unable to start Service when the application process is killed by the OS(#1347)
- gradlew not compatible with sh(#1349)
- Memory leak in global.postMessage(#1358)
- memory leak java <-> javascript when java returns [] array(#1363)
- Bug when reifying some generic classes in the SBG(#1372)
- Extending an Android service fails if
onCreate
hasn't been overridden()
v5.3.1
v5.3.0
What's New
- Upgrade v8 to 7.3.492.25(#1301)
- Upgrade the android gradle plugin to the latest 3.3.2 version(#1304)
- Fail SBG when there's no sbg-bindings.txt file generated(#1286)
- Enable arm64-v8 in app.gradle(#1284)
- Support external buildscript configurations(#1279)
- Refactor SBG to support generics and proper handling of overridable methods(#1322)
Bug Fixes
- The minSdk version should not be declared in the android manifest file(#1316)
- "Unable to resolve dependency" error when runtime is not build (#1309)
- App crashes after tns debug android --debug-brk and trying to debug with "Step into/over"(#892)
- Unable to call plugin's native code if application has been build before adding the plugin(#1293)
- Android build fails when tns-core-modules is updated(#1257)
- Generate better code(#689)
5.2.1
v5.2.0
What's New
- Upgrade v8 to 7.1.302.32(#1237)
- Add OnDiscardedError handler(#1245)
- Upgrade the android gradle plugin to the latest 3.3.1 version(#1251)
- Add android X support(#1226)
- Provide a JS helper function on the global object to release the native object wrapped by a JS instance(#1254)
Bug Fixes
- ClassNotFound exception when calling nested static class with correct argument(#1195)
- If you refresh or close the chrome dev tools window an error will be log in the console (#1202)
- Debug on Android fails when stopped on breakpoint and change in .xml/.css/.html is applied(#1243)
- Breakpoint stop to hit when you have two open tabs and close one(#1247)
- Upgrade V8 to v7 to fix unstable sort() method(#1176)
- CodeCache option is broken since Android Runtime 4.1.0(#1235)
- Snapshots with ABI splits do not work since Android Runtime 4.1.0(#1234)
- Upgrade V8 to v7 to fix unstable sort() method(#1176)