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

View File

@ -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

View File

@ -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",

View File

@ -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>

View File

@ -73,12 +73,12 @@ SOFTWARE.
vc.view.backgroundColor = [UIColor clearColor];
// 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:^{
// added to support iOS8 beta 5, @see issue #19