sbjstar / mobile-web-development-with-phonegap

Automatically exported from code.google.com/p/mobile-web-development-with-phonegap
0 stars 0 forks source link

no event fired before getting authentication on twitter #87

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.callback no detected because of no event fired from childbrowser after 
authenticating on twitter
2.
3.

What is the expected output? What do you see instead?
I expected onlocationchange() to be fired but the navigator redirects to 
callback url instead

What version of the product are you using? On what operating system?
phonegap 1.4

Please provide any additional information below.

Original issue reported on code.google.com by fernando...@gmail.com on 23 Aug 2012 at 9:48

GoogleCodeExporter commented 8 years ago
If you think that childbrowser was installed correctly and working..

Make sure the code in onlocationchange is checking for and finding the string 
that is your callback url. Use logcat to show the url passed to 
onlocationchange to see what it's doing.

If you see child browser loading the callback url location instead of returning 
to your app, your string compare may not be matching your callback url (the one 
used when you registered the app) so doesn't know when to call close().

Original comment by libby.ba...@gmail.com on 24 Aug 2012 at 2:00

GoogleCodeExporter commented 8 years ago
For phonegap 1.4.1 make sure you used the version of plugins for 1.4 and 
earlier:

https://github.com/libbybaldwin/phonegap-plugins

Original comment by libby.ba...@gmail.com on 24 Aug 2012 at 2:02

GoogleCodeExporter commented 8 years ago

Original comment by paul.beu...@gmail.com on 11 Oct 2012 at 3:45