mesmotronic / cordova-plugin-fullscreen

Plugin for Cordova (PhoneGap) to enable Android's various full screen modes
BSD 3-Clause "New" or "Revised" License
168 stars 56 forks source link

isSupported function needs callbacks #21

Closed pyblendnet-js closed 8 years ago

pyblendnet-js commented 8 years ago

The readme documentation had seemed to indicate that isSupported() would return a boolean but I could only make it work with success and failure callbacks i.e. isSupported(success, failure) - this was tested to work with IntelXDK in Debug mode on Android 5.0 - maybe the intel xdk version of the plugin is different?

neilrackett commented 8 years ago

You are correct: it was originally intended to return a Boolean, but it actually uses callbacks.

Docs updated on GitHub, will be updated on NPM with the next release.