- Enable requiring of JSON files (like in Node) (#217)
- Revisit the "assert" routine in the JNI part (#221)
- Android CallStack (#228)
- error handling introducing c++ exceptions (#277)
- Simplify require errors (#287)
- Experimental: Support native modules (#291)
- Gradle script improvements
- Improved LiveSync
- Improved error handling
- Use Gradle Wrapper
- Use V8 code cache (experimental)
- Proper handling of HTTP 401 status code
- Generate metadata for protected interfaces
- Fix loading module with NULL char in it
- Generated metadata is not updated after initial build until after 'gradle clean' is called (#227)
- Incorrect behavior when getting or setting java fields from javascript (#219)
- Better handling of package.json main configuration (#190)
- Calling non existen ctor crashesh the runtime (#180)
- ClassCastException when tries to convert numeric return value of overridden methods (#139)
- Expose public API for NativeScript Companion App for deleting old *.dex files (#187)
- Add support for AppBuilder LiveSync (#186)
- Create a new template project for Gradle build (#182)
- Support ~ path syntax in require (#177)
- Enable using the Google Design library (and alike) with "library add" command (#140)
- Implement support for CLI live sync feature (#137)
- Ahead-of-time generation of binding proxies (#103)
- Use pool of arrays for marshalling (#33)
- Run after LiveSync starts the last synced app on the device/emulator (#214)
- Cannot load module with relative path on Android 6 (#206)
- App crashes when call overloaded method of a base class (#203)
- Fix file is external to application error on Android M (#185)
- App crash during GC (#184)
- JNI reference leaks when passing JavaScript arrays (#167)
- ArrayBuffer broken (#164)
- ClassCastException when tries to convert numeric return value of overridden methods (#139)
- Allow debugger reconnects (#136)
- __onUncaughtError is not called. (#108)
- Updated android widgets library
- Allow verbose logging system property to enable debug messages early in engine bootstrap
- Additional null checks in V8 to handle certain possible garbage collection issues
- Fix sync support in runtime for specific (Samsung) Android devices where run-as is not working
- Fix JNI memory leak
- Fix copy of correct android.jar referenced in project properties
- Support http cookies in build-in http client (#159)
- Implement support for CLI live sync feature (#137)
- Rethink 0 day support for new android versions (#86)
- Fix ErrorActivity not displayed on uncaught exceptions (#158)
- Fix JNI memory leak when resolving classes in metadata reader (#157)
- Application crash with JNI ERROR (app bug): local reference table overflow (max=512) (#149)
- Cannot set float field (#148)
- IndexedPropertySetter not called (#127)
- Fix GetDbgPort intent (#117)
- Recreating an Activity with fragments on same process crashes the runtime (#96)
- Grunt tasks fail on Windows (#61)
- Optimize Strings marshaling between Java and V8 (#160)
- Improve required module loading (#156)
- Improve JNI String marshalling (#126)
- Cache folder-as-module resolved path (#121)
- 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.
- #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.
- Updated the V8 version to 4.1.0.27.
- Re-implemented debugger support (no more spontaneous dead locks).
- An issue with the error reporting routine.
- Renamed global functions:
__log(wasLog)__debugbreak(waswaitForDebugger)__enableVerboseLogging(wasenableVerboseLogging)__disableVerboseLogging(wasdisableVerboseLogging)__exit(wasfail)
- 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.
- Removed the simulated property-like support for Android types. E.g. the
android.content.Intent.getAction()previously was accessible likeandroid.content.Intent.Action. This is no longer valid as it contradicts with the Android APIs. - Changed the way
extendconstructs work
// WRONG
var handler = new android.os.Handler.extend({...})();
// CORRECT
var handlerType = android.os.Handler.extend({...});
var handler = new handlerType();- The directory structure in the
assetsfolder has changed. Thetns_modulesdirectory is now within theassets/appone. 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