hungdev / react-native-instagram-login

a react native instagram login component (support android & ios). Pull requests are welcome!
https://www.npmjs.com/package/react-native-instagram-login
187 stars 105 forks source link

Random error loading login page "too many HTTP redirects" #38

Closed bscaspar closed 4 years ago

bscaspar commented 5 years ago

Most of the time this works great! However, occasionally I receive the following error when the modal appears:

Error loading page
Domain: NSURLErrorDomain
Error Code: -1007
Description: too many HTTP redirects

I am on version 1.0.8.

This error clears after reloading the app and waiting a bit. Overall not a good experience for our users though. IMG_4661

hungdev commented 5 years ago

@bscaspar please update to latest version. v1.1.1. Let me know if it stills error after the update.

bscaspar commented 5 years ago

I can't update to v1.1.1 since this is an un-ejected expo app. I was able to update to v1.1.0, would that potentially resolve the issue?

hungdev commented 5 years ago

@bscaspar please read this comment

bscaspar commented 5 years ago

Hey @hungdev I saw that comment and I upgraded to v1.1.0. Will this resolve the login issue I am seeing?

hungdev commented 5 years ago

@bscaspar yes, but you must add www to redirectUrl ( both redirectUrl props and https://www.instagram.com/developer/clients/)

bscaspar commented 5 years ago

@hungdev I upgraded and changed both URLs, however some users are still seeing this problem.

hungdev commented 4 years ago

I updated to new version. This topic should be closed. Feel free to open. :)