Skip to content

Commit

Permalink
fix(badge): add correct requestPermission function
Browse files Browse the repository at this point in the history
fixes: #105 #1856
  • Loading branch information
danielsogl authored Mar 17, 2018
1 parent 7c6b117 commit 586c7e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/@ionic-native/plugins/badge/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export class Badge extends IonicNativePlugin {
* @returns {Promise<any>}
*/
@Cordova()
registerPermission(): Promise<any> {
requestPermission(): Promise<any> {
return;
}
}

0 comments on commit 586c7e5

Please sign in to comment.