Commit Graph

103 Commits

Author SHA1 Message Date
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
Andrey Kurdyumov
9509848776 Created statusbar version of plugin for Android 2014-02-25 09:59:11 -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