Update CHANGELOG.md

This commit is contained in:
Rossen Hristov
2015-09-03 11:23:42 +03:00
parent 6ce2220ab4
commit f8a0441d44

View File

@@ -3,7 +3,15 @@ Cross Platform Modules Changelog
##1.3.0 (2015, September ?)
### Breaking changes
- [(#473)](https://github.com/NativeScript/NativeScript/issues/473) `application.ios.removeNotificationObserver` method now requires an observer instance to be supplied as the first argument. The observer instance is obtained from the `application.ios.addNotificationObserver` method which returns it. [See an example...](../ApiReference/application/HOW-TO.md)
- [(#473)](https://github.com/NativeScript/NativeScript/issues/473) The `application.ios.removeNotificationObserver` method now requires an observer instance to be supplied as the first argument. The observer instance is obtained from the `application.ios.addNotificationObserver` method:
```JavaScript
var observer = application.ios.addNotificationObserver(UIDeviceBatteryLevelDidChangeNotification,
function (notification) {
console.log(notification);
});
application.ios.removeNotificationObserver(observer, UIDeviceBatteryLevelDidChangeNotification);
```
##1.2.1 (2015, August 18)