Skip to content

Commit 6b9b2d6

Browse files
committed
Update CHANGELOG.md
1 parent 1c51b98 commit 6b9b2d6

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,15 @@ Android Runtime Changelog
1616
### Breaking Changes
1717

1818
* 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.
19+
* Changed the way `extend` constructs work
20+
```javascript
21+
// WRONG
22+
var handler = new android.os.Handler.extend({...})();
23+
24+
// CORRECT
25+
var handlerType = android.os.Handler.extend({...});
26+
var handler = new handlerType();
27+
```
1928
* 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:
2029

2130
####Previous structure:
@@ -33,4 +42,4 @@ Android Runtime Changelog
3342
|--|--bootstrap.js
3443
|--|--myFile.js
3544
|--|--tns_modules
36-
```
45+
```

0 commit comments

Comments
 (0)