fix(ibeacon): optional parameter (#1702)

Fix #1701
This commit is contained in:
Daniel Sogl
2017-06-20 02:59:32 +02:00
committed by Ibby Hadeed
parent af91977f82
commit 64ce132262
+1 -1
View File
@@ -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<void> { return; }
startAdvertising(region: Region, measuredPower?: number): Promise<void> { return; }
/**
* Stop advertising as a beacon.