Skip to content

Commit

Permalink
fix(google-analytics): fix startTrackerWithId when interval is not pr…
Browse files Browse the repository at this point in the history
…ovided
  • Loading branch information
ihadeed committed Jan 1, 2017
1 parent d9d8934 commit 49fe24d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/plugins/googleanalytics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ export class GoogleAnalytics {
* @param {number} interval Optional dispatch period in seconds. Defaults to 30.
* @returns {Promise<any>}
*/
@Cordova()
@Cordova({
successIndex: 2,
errorIndex: 3
})
static startTrackerWithId(id: string, interval?: number): Promise<any> { return; }

/**
Expand Down

0 comments on commit 49fe24d

Please sign in to comment.