64 Commits

Author SHA1 Message Date
Gosha Arinich
554e65e60f Handle extended status bar on iOS
This closes #55
2016-09-01 20:01:42 +02:00
Simon MacDonald
f2c49454da Plugin uses Android Log class and not Cordova LOG class 2016-08-22 16:52:13 -04: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
Vladimir Kotikov
cfce729912 CB-11197 Keep status bar hidden when keyboard pops up
This closes #59
2016-05-24 10:44:00 +03:00
Jesse MacFadyen
b448166624 patched missing _ready method, and changed the way the proxy is installed 2016-05-16 18:01:34 -07: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
daserge
bf7869cec7 CB-10683 Fix wrong StatusBar.isVisible initial value on Windows 2016-02-24 10:32:46 +03:00
daserge
8a3f9edb9d CB-10636 Add JSHint for plugins 2016-02-24 10:28:04 +03: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
a4a1065c4f CB-9513 Allow to show/hide status bar in fullscreen mode. This closes #42 2016-01-05 13:37:25 +03: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
Vladimir Kotikov
3e9ce84a56 CB-10118 Fixes plugin loading error for browser platform
This closes #43
2016-01-05 13:16:26 +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
Jesse MacFadyen
b0b61af61a removed proxy and renamed platform file, merge instead of clobber, fixed failing tests for missing methods. 2015-09-02 00:22:57 -07:00
Jesse MacFadyen
da924e16fe Merge branch 'browserSupport' of https://github.com/surajpindoria/cordova-plugin-statusbar 2015-09-01 22:55:32 -07:00
Suraj Pindoria
a0e5b517e0 [CB-7965] Add cordova-plugin-statusbar support for browser platform 2015-08-31 16:36:10 -07: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
Jesse MacFadyen
77ce75d4dd Merge branch 'master' of https://github.com/pbakondy/cordova-plugin-statusbar 2015-06-17 12:33:17 -07:00
Gillardo
8e1e88a30a CB-9180 Add correct supported check for Windows 8.1 desktop
If you called show or hide, you would get an "object has no method"
error as getViewStatusBar would return null.. This closes #25
2015-06-15 10:10:56 -07:00
Peter Bakondy
e8c448100c fix warning message
This change is fix for the following warning message at startup:

W/CordovaPlugin( 6470): Attempted to send a second callback for ID:
StatusBar1091036409
W/CordovaPlugin( 6470): Result was: "Invalid action"
2015-04-20 16:39:10 +02:00
EddyVerbruggen
7f135a46e1 - Use StatusBarBackgroundColor instead of AndroidStatusBarBackgroundColor, and added a quirk to the readme. 2015-02-28 08:59:47 +01:00
EddyVerbruggen
84ee94cb41 - Add support for StatusBar.backgroundColorByHexString (and StatusBar.backgroundColorByName) on Android 5 and up 2015-02-27 22:35:30 +01:00
EddyVerbruggen
43c8c15bf4 Allow setting the statusbar backgroundcolor on Android 2015-02-27 10:29:39 +01:00
Andrew Grieve
cad3a13c37 CB-8351 Use argumentForIndex rather than NSArray extension 2015-01-23 09:49:21 -05:00
Jesse MacFadyen
c89fdd4617 added checks for running on windows when StatusBar is NOT available 2014-11-12 18:04:38 -08:00
Jesse MacFadyen
7bc7c326c8 Renamed to proxy 2014-11-12 14:53:06 -08:00
daserge
a6344f14f9 CB-7986 Add cordova-plugin-statusbar support for Windows Phone 8.1
Added Windows Phone 8.1 support
Updated the documentation
2014-11-10 22:20:42 +03: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
Andrew Grieve
92a4eaeab5 android: Fix StatusBar.initialize() not running on UI thread 2014-06-24 12:18:07 -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
Darryl Pogue
0b0e9d8fc5 CB-6513 - Statusbar plugin for Android is not compiling
Signed-off-by: Shazron Abdullah <shazron@apache.org>
2014-04-24 14:00:06 -07:00
Andrey Kurdyumov
a6a4cf473b CB-6314 - Add StatusBar.isVisible support to Android 2014-03-19 18:18:56 -07:00
Jesse MacFadyen
3d5ed0a4f1 calling styleDefault and styleLightContent should only affect text color 2014-03-12 12:00:11 -07:00
Jesse MacFadyen
fa8aa9869d lightContent always sets BG to black, default always sets BG to white 2014-03-11 15:24:18 -07:00
Jesse MacFadyen
d7498d31ed Added Windows Phone support 2014-03-11 14:25:15 -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