diff --git a/src/@ionic-native/plugins/camera-preview/index.ts b/src/@ionic-native/plugins/camera-preview/index.ts index 4545d963..b4f1e2fb 100644 --- a/src/@ionic-native/plugins/camera-preview/index.ts +++ b/src/@ionic-native/plugins/camera-preview/index.ts @@ -394,5 +394,12 @@ export class CameraPreview extends IonicNativePlugin { */ @Cordova() tapToFocus(xPoint: number, yPoint: number): Promise { return; } + + /** + * Add a listener for the back event for the preview + * @return {Promise} if backbutton pressed + */ + @Cordova() + onBackButton(): Promise { return; } }