Skip to content

Commit

Permalink
fix(ibeacon): optional parameter (#1702)
Browse files Browse the repository at this point in the history
Fix #1701
  • Loading branch information
danielsogl authored and ihadeed committed Jun 20, 2017
1 parent af91977 commit 64ce132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/@ionic-native/plugins/ibeacon/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 64ce132

Please sign in to comment.