react-native-macos/Examples
Janic Duplessis b979128c54 Cross platform status bar API
Summary:
I started working on improving the `StatusBar` API and make it work on Android. I added support for `setColor`, `setTranslucent` (the status bar is still visible but the app can draw under) and `setHidden` on Android. Looking for feedback on how to improve the API before I put more time on this :).

Right now I went for a cross platform API and functions that don't exist on a platform are just a no-op but I'm not sure it is the best choice since at the moment what is supported is very different between both platforms. I was wondering what you guys think and if it would be better off as 2 different modules.

It is also possible to port some of the features I added for Android to iOS even if there is no 'standard' way to do it. Like `setColor` could be implemented by drawing a colored view under the status bar and translucent by adding/removing some padding.
Closes https://github.com/facebook/react-native/pull/5360

Reviewed By: svcscm

Differential Revision: D2840417

Pulled By: nicklockwood

fb-gh-sync-id: 5c8d988bccf8035341f0efe27e54dd8402c18d24
2016-02-03 06:41:35 -08:00
..
2048 Bugfix - Typos 2015-12-15 09:09:32 -08:00
Movies PixelRatio.pixel() 2016-01-15 05:15:31 -08:00
TicTacToe Remove newline in TicTacToe example 2015-11-30 11:11:24 -08:00
UIExplorer Cross platform status bar API 2016-02-03 06:41:35 -08:00
.eslintrc Add global flow types to eslint globals 2016-01-27 15:55:34 -08:00