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

Missing onBackButton method #1967

Closed
rasaturyan opened this issue Sep 14, 2017 · 1 comment
Closed

Missing onBackButton method #1967

rasaturyan opened this issue Sep 14, 2017 · 1 comment

Comments

@rasaturyan
Copy link

Camera preview plugin was updated and added onBackButton method.

Here is the pull request link: cordova-plugin-camera-preview/cordova-plugin-camera-preview#359

Usage:

onBackButton(successCallback, [errorCallback])

Callback event for the back button tap

CameraPreview.onBackButton(function() {
  console.log('Back button pushed');
});

Add the same method to the Ionic Native.

@khsmaxim
Copy link

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

No branches or pull requests

2 participants