From 7255795ae51341fdb889b4d41879012206cc70cd Mon Sep 17 00:00:00 2001 From: Eric McNiece Date: Fri, 1 Dec 2017 19:53:38 -0800 Subject: [PATCH] feat(zeroconf): add reInit() method (#2144) --- src/@ionic-native/plugins/zeroconf/index.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/@ionic-native/plugins/zeroconf/index.ts b/src/@ionic-native/plugins/zeroconf/index.ts index 67ad63b46..63ce74574 100644 --- a/src/@ionic-native/plugins/zeroconf/index.ts +++ b/src/@ionic-native/plugins/zeroconf/index.ts @@ -124,4 +124,11 @@ export class Zeroconf extends IonicNativePlugin { */ @Cordova() close(): Promise { return; } + + /** + * Re-initializes the plugin to clean service & browser state. + * @return {Promise} + */ + @Cordova() + reInit(): Promise { return; } }