Skip to content

Commit

Permalink
fixed cordova oauth1 flow
Browse files Browse the repository at this point in the history
  • Loading branch information
sahat committed Aug 30, 2016
1 parent 7ed7ce2 commit 6bcce9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/oauth1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export default class OAuth1 implements IOAuth1 {
const { redirectUri } = this.defaults;

if (this.$window['cordova']) {
return this.SatellizerPopup.eventListener(redirectUri);
return this.SatellizerPopup.open(url, options.name, options.popupOptions, redirectUri);
} else {
this.SatellizerPopup.popup.location = url;
return this.SatellizerPopup.polling(redirectUri);
Expand Down

0 comments on commit 6bcce9e

Please sign in to comment.