v1.4.0 release

This commit is contained in:
Grant Benvenuti 2015-08-10 09:57:07 +10:00
parent a158cf8bc1
commit bbde995383
4 changed files with 10 additions and 7 deletions

@ -106,8 +106,11 @@ Windows 8.1 Applicaitons (runtime/metro applications) will only display orientat
# Changelog
## 1.3.7
## 1.4.0
* Added Windows 8.1 Support
* [#54](https://github.com/gbenvenuti/cordova-plugin-screen-orientation/pull/54) Background thread for ios
* [#64](https://github.com/gbenvenuti/cordova-plugin-screen-orientation/pull/64) Orientation naming bug fixed
* Add portrait upside down to iOS default orientations
## 1.3.5-6
* Plugin added to npm

@ -1,6 +1,6 @@
{
"name": "cordova-plugin-screen-orientation",
"version": "1.3.7",
"version": "1.4.0",
"description": "Adds Screen Orientation API lock and unlock functions to the global screen object in android, iOS, WP8, W8.1, and BB10.",
"repository": {
"type": "git",

@ -2,7 +2,7 @@
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-screen-orientation"
version="1.3.6">
version="1.4.0">
<name>Screen Orientation</name>
<description>Adds Screen Orientation API lock and unlock functions to the global screen object in android, iOS, WP8, W8.1, and BB10.</description>

@ -74,10 +74,10 @@ SOFTWARE.
// vc.view.alpha = 0.0;
vc.view.opaque = YES;
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 80000
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 80000
// This stops us getting the black application background flash, iOS8
vc.modalPresentationStyle = UIModalPresentationOverFullScreen;
#endif
#endif
dispatch_async(dispatch_get_main_queue(), ^{
[self.viewController presentViewController:vc animated:NO completion:^{