-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(android-full-screen): add cordova-plugin-fullscreen support #1255
Conversation
* Using Android 4.0+, you can use true full screen in "lean mode", the way you see in apps like YouTube, expanding the app right to the edges of the screen, hiding the status and navigation bars until the user next interacts. This is ideally suited to video or cut-scene content. | ||
* | ||
* In Android 4.4+, however, you can now enter true full screen, fully interactive immersive mode. In this mode, your app will remain in true full screen until you choose otherwise; users can swipe down from the top of the screen to temporarily display the system UI. | ||
* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing @usage
tag
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right.
export class AndroidFullScreen { | ||
/** | ||
* Is this plugin supported? | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you please specify the return type for each method?
Example:
/**
* Is this plugin supported?
* @return {Promise<void>}
*/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, sorry. I see both @return
and @returns
in other plugins - does this make any difference?
Updated and rebased on master. |
Thanks @tkem I also updated the templates for |
Thank you for maintaining this and making life a little easier for all of us ;-) |
This PR adds support for cordova-plugin-fullscreen.
BTW, I think the
@usage
examples created by e.g.should be updated to Ionic Native v3 - they still use the old static method syntax.