From 6bcce9e51e2ed33a5ffb26dafb74d21302ba03d4 Mon Sep 17 00:00:00 2001 From: Sahat Yalkabov Date: Tue, 30 Aug 2016 01:34:31 -0700 Subject: [PATCH] fixed cordova oauth1 flow --- src/oauth1.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/oauth1.ts b/src/oauth1.ts index 7099b8c6..65c651a7 100644 --- a/src/oauth1.ts +++ b/src/oauth1.ts @@ -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);