changelogs.md


nativescript/android-runtime

Repository  -  API  -  Source

5.0.0

4.2.0

4.1.3

Bug Fixes

  • Use google repository as primary gradle repository

4.1.2

4.1.1

4.0.1

4.0.0

3.4.2

3.4.1

3.4.0

3.3.1

3.3.0

3.2.0

3.1.1

3.1.0

3.0.1

3.0.0

2.5.0

2.4.0

2.3.0

2.2.0

2.10

February 1, 2002

2.1

2.0.0

1.7.1

1.7.0

1.6.0

1.5.1

1.5.0

What's New

1.4.0

1.3.0

1.2.1

What's New

Bug Fixes

1.2.0

1.1.0

New

  • Implemented #58 to remove the 3-seconds initial timeout for Debug builds.
  • Implemented #118 to replace the MultiDex library with DexClassLoader.
  • Started #103 AOT proxy generation to improve startup time and to enable new scenarios like BroadcastReceivers, BackgroundServices and arbitrary Activity types declared in the manifest.

Fixed

  • #63. An issue which prevented users to extend overloaded methods.
  • #64. A JNI Crash when calling JS method with char.
  • #113. Fixes the extend routine for an Activity.
  • #114. Removes the redundant setNativeScriptOverrides method.

1.0.0

New

  • Updated the V8 version to 4.1.0.27.
  • Re-implemented debugger support (no more spontaneous dead locks).

Fixed

  • An issue with the error reporting routine.

Breaking Changes

  • Renamed global functions:
    • __log (was Log)
    • __debugbreak (was waitForDebugger)
    • __enableVerboseLogging (was enableVerboseLogging)
    • __disableVerboseLogging (was disableVerboseLogging)
    • __exit (was fail)

0.10.0

New

  • Added Dynamic Generator for binding proxies. This boosts the initial loading time, especially on Android 5.0+ devices.
  • Added several optimization techniques, which further optimize the loading time and the overall performance.
  • Improved the error reporting mechanism for Debug builds.
  • Added support for package.json and index.js for bootstrapping an application.

Breaking Changes

  • Removed the simulated property-like support for Android types. E.g. the android.content.Intent.getAction() previously was accessible like android.content.Intent.Action. This is no longer valid as it contradicts with the Android APIs.
  • Changed the way extend constructs work ```javascript // WRONG var handler = new android.os.Handler.extend({...})();

// CORRECT var handlerType = android.os.Handler.extend({...}); var handler = new handlerType();

  * The directory structure in the `assets` folder has changed. The `tns_modules` directory is now within the `assets/app` one. To migrate older CLI projects to the new structure simply move the content of the inner app folder one level up:

####Previous structure:

|--app |--|--app |--|--|--bootstrap.js |--|--|--myFile.js |--|--tns_modules


####New structure:

|--app |--|--bootstrap.js |--|--myFile.js |--|--tns_modules ```