jtremback / OAuthExample

34 stars 3 forks source link

Doesn't work with the iOS simulator ... #2

Closed emcpadden closed 8 years ago

emcpadden commented 8 years ago

Thanks for posting this code and the article you wrote on Medium. This is very helpful.

One question I had was that since my apple dev account expired in August I can't run this on a device and can only try it using the iOS simulator.

I can't seem to get it to work with the simulator. After I click "Allow" on the Dropbox authorization page, it tries to redirect and says: "Cannot Open Page - Safari cannot open page because the address is invalid".

I assume this works on the device.

Is it also supposed to work in the simulator? I'm wondering if I am just doing something wrong or if it is just something that cannot be done in the simulator.

Thanks, ...Ed

emcpadden commented 8 years ago

Nevermind ... I had a typo when I set up the url type inside xcode ... it actually works great!

Thanks again for this tutorial!!!