Skip to content

Commit 50c3465

Browse files
committed
Merge pull request #3141 from LegitTalon/patch-1
docs(statusbar): requirements for statusbar methods
2 parents 88d6620 + f3746c5 commit 50c3465

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/utils/platform.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@
330330
/**
331331
* @ngdoc method
332332
* @name ionic.Platform#showStatusBar
333-
* @description Shows or hides the device status bar (in Cordova).
333+
* @description Shows or hides the device status bar (in Cordova). Requires `cordova plugin add org.apache.cordova.statusbar`
334334
* @param {boolean} shouldShow Whether or not to show the status bar.
335335
*/
336336
showStatusBar: function(val) {
@@ -357,7 +357,7 @@
357357
* @name ionic.Platform#fullScreen
358358
* @description
359359
* Sets whether the app is fullscreen or not (in Cordova).
360-
* @param {boolean=} showFullScreen Whether or not to set the app to fullscreen. Defaults to true.
360+
* @param {boolean=} showFullScreen Whether or not to set the app to fullscreen. Defaults to true. Requires `cordova plugin add org.apache.cordova.statusbar`
361361
* @param {boolean=} showStatusBar Whether or not to show the device's status bar. Defaults to false.
362362
*/
363363
fullScreen: function(showFullScreen, showStatusBar) {

0 commit comments

Comments
 (0)