Commit Graph

49 Commits

Author SHA1 Message Date
Lu Wang e41c06334e Merge branch 'master' of https://github.com/apache/cordova-plugin-statusbar 2017-10-25 11:00:51 -07:00
Julio Cesar Sanchez Hernandez c45331b955 CB-13476 (iOS): handle double size statusbar on SDK 10 for iOS 11
This closes #90
2017-10-21 00:05:08 +02:00
Julio César cdc9295b30 CB-13394 (iOS): fix iPhone X StatusBar rendering in landscape
This closes #89 and closes #88
2017-10-20 12:04:38 +02:00
jcesarmobile fff289c0b8 CB-13311: (iOS) Statusbar does not overlay correctly on iPhone X
This closes #87
2017-09-22 20:21:33 +02:00
Lu Wang b204d2747d Add preference for native scroll to top
- As described in https://issues.apache.org/jira/browse/CB-13124
2017-07-26 17:48:37 -07:00
Julio César fa57e92c55 CB-12196 (iOS) fix Status Bar Not Hiding
This closes #74
2016-12-29 00:01:19 +01:00
Julio César a120ba1a1f CB-12141 (ios) fix white app screen after camera overlay shown on iPad
This closes #73
2016-12-16 00:44:09 +01:00
Jonathan Li 6bfc749f84 CB-10288 statusbar plugin interaction with iOS multitasking
This closes #62
2016-11-13 23:14:11 +01:00
Julio Cesar Sanchez Hernandez b7dc5ef7cb CB-10158 (ios) fix StatusBar issue when recovering from fullscreen video
This closes #70
2016-10-30 17:48:37 +01:00
Julio César 2c036c9c91 CB-11191: Statusbar plugin causing issues with webview size
This closes #65
2016-10-29 00:10:20 +02:00
Julio César 1d1ac928a8 Removed duplicate code 2016-09-01 20:12:20 +02:00
Gosha Arinich 554e65e60f Handle extended status bar on iOS
This closes #55
2016-09-01 20:01:42 +02:00
Julio César 86cfafeaf9 CB-11287: (ios) - fix webview resize after modal on iPhones 2016-07-05 00:12:20 +02:00
Julio César 8159e1b307 CB-11485 fix resize on rotation with popover 2016-07-04 21:20:33 +02:00
daserge 16ff9b449f CB-11018 Fix statusbar with inappbrowser causing incorrect orientation on iOS8 2016-04-05 17:39:36 +03:00
daserge 244eb717fd CB-10884 Inappbrowser breaks UI while Screen orientation changes from landscape to portrait on iOS 2016-03-29 16:49:29 +03:00
Julio César 7ca3552224 Fix for CB-10752 status bar overlays the webview on iOS 6 in some cases
We don’t allow the statusbar to overlay the webview on iOS 6, but in
some cases it happens. This changes avoid it.
2016-03-06 11:55:49 +01:00
Julio César 47f245462d CB-10047 fix iOS 8 deprecated warnings
Removed all references to self.viewController.interfaceOrientation,
they weren’t really used on invertFrameIfNeeded and are deprecated on
iOS 8
Removed orientation param on invertFrameIfNeeded as it wasn’t being
used.

closes #26
2016-02-22 19:49:18 +01:00
Julio César a464526477 Fix for CB-10102
The removeObserver code was wrong and it might crash on plugin
deallocation

github: close #45
2016-01-17 13:56:20 +01:00
Vladimir Kotikov d853f828d6 CB-8720 Fix status bar position when app started upside down on iOS 7. This closes #44 2016-01-05 13:34:37 +03:00
Jesse MacFadyen 60686a944a Pushed too soon, missed a _ 2015-11-11 13:53:41 -08:00
Jesse MacFadyen cf1092fe81 Added weakSelf reference for block use 2015-11-11 13:45:13 -08:00
Julio César 86b9edba5d Fixes CB-4712, CB-5439 statusbar issues
Fixes CB-4712, CB-5439 and hopefully all the statusbar issues related
to the size or resize of the cordova webview  when the status bar
changes the size and/or rotation and resizes first time
2015-11-07 18:21:54 +01:00
Julio César 986516cf97 removed silly copy/paste mistakes
removed silly copy/paste mistakes
2015-09-14 23:04:53 +02:00
Julio César 145fad6764 fix ios warnings
fix ios 7 deprecate warnigns
2015-09-14 20:43:48 +02:00
Christian Wannerstedt 3e821abfc2 Don't use IsAtLeastiOSVersion macro to determine height 2015-07-01 13:49:50 +02:00
Christian Wannerstedt 07b55b7529 Use correct statusbar height for landscape orientation in iOS >= 8 2015-07-01 13:25:26 +02:00
Andrew Grieve cad3a13c37 CB-8351 Use argumentForIndex rather than NSArray extension 2015-01-23 09:49:21 -05:00
Shazron Abdullah 5658e7548c CB-7549 - (Re-fix) [StatusBar][iOS 8] Landscape issue (closes #15) 2014-10-06 14:43:12 -07:00
twomz 921daccd2c CB-7549 - [StatusBar][iOS 8] Landscape issue
When starting an app in landscape mode in ios 8 and then calling StatusBar.overlaysWebView(false), the screen would be pushed down all the way.  Changing the orientation did not fix the issue, leaving the page pushed down the width of the device.

We found that excluding the changes above in ios 8 fixed the issue, although it's possible that this is hiding a landscape orientation bug in ios 8 that may get fixed later.

Signed-off-by: Shazron Abdullah <shazron@apache.org>
2014-09-16 16:40:15 -07:00
Andrew Grieve be8a3e5947 ios: Use a persistent callbackId instead of calling sendJs 2014-07-14 22:56:42 -04:00
Tiancheng Zhu f0031ca2b4 CB-6626 ios: Add a JS event for tapping on statusbar
close #4
2014-07-14 22:56:21 -04:00
Tiancheng Zhu 6552bddfd1 ios: Fix hide to adjust webview's frame only when status bar is not overlaying webview 2014-07-14 22:56:06 -04:00
pelish8 55575f5409 CB-6783 - added StatusBarStyle config preference, updated docs (closes #9)
Signed-off-by: Shazron Abdullah <shazron@apache.org>
2014-06-02 15:32:36 -07:00
Ryan Willoughby a4d6320c37 CB-6187 - If you Show and Hide the StatusBar - it will expand the screen-size by ~20 pixels + don't resize the webview on hide if statusbar overlays it 2014-03-06 15:38:49 -08:00
Ryan Willoughby 69c1aee5ce CB-6186 - Statusbar problems in Landscape Mode iOS 7 2014-03-06 15:37:08 -08:00
Shazron Abdullah fee10a1334 CB-5389 - iOS - Status Bar plugin issues with orientation 2013-11-22 12:18:34 -08:00
Shazron Abdullah 062dfceb29 CB-5431 - Status Bar Plugin blanks view on call overlaysWebView(false) in landscape orientation
Note that this has been tested and works on iPad only, and Universal. On iPhone only while on iPad, there is a black area where the status bar is (bug in statusBarBackgroundView positioning)
2013-11-18 17:20:37 -08:00
Shazron Abdullah 9c9a8ba983 StatusBar - remove dependence of UIViewControllerBasedStatusBarAppearance Info.plist key 2013-10-15 14:12:55 -07:00
Shazron Abdullah 7e42f7db49 Added show() and hide() to StatusBar API 2013-10-14 16:47:38 -07:00
Shazron Abdullah c2f13fe231 Implement StatusBar.isVisible 2013-10-07 17:53:04 -07:00
Shazron Abdullah 4be7bcc826 Removed statusBar prefix from StatusBar plugin API 2013-10-07 17:20:36 -07:00
Shazron Abdullah b61eaae310 Fixed statusbar background view not auto-resizing on landscape. 2013-10-07 16:51:36 -07:00
Shazron Abdullah ec5fa951df Match statusbar style to default background color of #000000 2013-10-07 16:30:16 -07:00
Shazron Abdullah c42b57e4dc Removed StatusBarStyle. iOS users should just use the UIStatusBarStyle key in Info.plist 2013-10-07 15:23:55 -07:00
Shazron Abdullah 690de48214 Added statusbar preferences to plugin.xml
Removed Info.plist section in plugin xml due to crash: https://issues.apache.org/jira/browse/CB-5012
2013-10-07 15:13:32 -07:00
Shazron Abdullah 058c6b71cc Added ability to set statusbar background color by hex string. 2013-10-06 01:18:06 -07:00
Shazron Abdullah da275b579f Added statusbar background, including API to change its background color 2013-10-06 00:47:33 -07:00
Shazron Abdullah 512a1388c6 Added statusbar plugin.
This controls whether the statusbar overlays the webview in iOS 7, as well as allows changing of the statusbar styles.
2013-10-04 18:03:18 -07:00