Festify / cordova-spotify-oauth

🔐 Easy Spotify authentication for Cordova / PhoneGap apps
MIT License
16 stars 18 forks source link

authentication not working on ios in ionic 3 #26

Closed tarun57 closed 4 years ago

tarun57 commented 4 years ago

I'm using ionic 3 and i'm using spotify cordova plugin for auth but i am not able to login in spotify.

NeoLegends commented 4 years ago

What exactly is the issue?

tarun57 commented 4 years ago

Issue is when i'm click on spotify login button then the function is call in which config spotify login but in this now i'm not entering in cordova.plugins.spotifyAuth.authorize() after config. And this issue is only on ios. on android its working perfect.

NeoLegends commented 4 years ago

Issue is when i'm click on spotify login button then the function is call in which config spotify login but in this now i'm not entering in cordova.plugins.spotifyAuth.authorize() after config.

Can you describe this in more detail?

tarun57 commented 4 years ago

cordova.plugins.spotifyAuth.authorize(config) .then(({ accessToken, encryptedRefreshToken, expiresAt }) => { alert("***"); }) this function is not giving result in ios but in android its working very well . Here i am working in ionic 3. i do not know why this problem occuring in ios .

NeoLegends commented 4 years ago

I think I know the error. I'll release the fix shortly.