From 64ce132262fae0c84e318098e73bc7b26e38fca6 Mon Sep 17 00:00:00 2001 From: Daniel Sogl Date: Tue, 20 Jun 2017 02:59:32 +0200 Subject: [PATCH] fix(ibeacon): optional parameter (#1702) Fix #1701 --- src/@ionic-native/plugins/ibeacon/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@ionic-native/plugins/ibeacon/index.ts b/src/@ionic-native/plugins/ibeacon/index.ts index 72529a7041..b0b4823f27 100644 --- a/src/@ionic-native/plugins/ibeacon/index.ts +++ b/src/@ionic-native/plugins/ibeacon/index.ts @@ -636,7 +636,7 @@ export class IBeacon extends IonicNativePlugin { * native layer acknowledged the dispatch of the advertising request. */ @Cordova({ otherPromise: true }) - startAdvertising(region: Region, measuredPower: number): Promise { return; } + startAdvertising(region: Region, measuredPower?: number): Promise { return; } /** * Stop advertising as a beacon.