Skip to content
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

Merged
merged 1 commit into from
Mar 26, 2017
Merged

feat(android-full-screen): add cordova-plugin-fullscreen support #1255

merged 1 commit into from
Mar 26, 2017

Conversation

tkem
Copy link
Contributor

@tkem tkem commented Mar 25, 2017

This PR adds support for cordova-plugin-fullscreen.

BTW, I think the @usage examples created by e.g.

gulp plugin:create -n AndroidFullScreen

should be updated to Ionic Native v3 - they still use the old static method syntax.

* 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.
*
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing @usage tag

Copy link
Contributor Author

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?
*/
Copy link
Collaborator

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>}
 */

Copy link
Contributor Author

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?

@tkem
Copy link
Contributor Author

tkem commented Mar 26, 2017

Updated and rebased on master.

@ihadeed ihadeed merged commit b08e3a8 into danielsogl:master Mar 26, 2017
@ihadeed
Copy link
Collaborator

ihadeed commented Mar 26, 2017

Thanks @tkem

I also updated the templates for plugin:create command. Thanks for pointing that stuff out :)

@tkem
Copy link
Contributor Author

tkem commented Mar 26, 2017

Thank you for maintaining this and making life a little easier for all of us ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants