How to detect URL changes in tabs.openWithOptions?
===

So I have the following code:

    options = {
        url: "http://mywebsite.com/login/" + authService,
        pattern: "http://*mywebsite.com/complete/" + authService + "*",
      };
      forge.tabs.openWithOptions(options, function(data) {
        // We've logged in. Do something now
      }, function(data) {
        forge.logging.error("Error");
      });

The code works fine on the iPhone simulator, but the success callback doesn't get called in the Android emulator. It doesn't seem to register going to the redirect url from Oauth. In the emulator, it does load my redirect URL but it doesn't log that it does. These two statements are logged:


[   INFO] I/Forge   (  590): subView load https://www.linkedin.com/uas/oauth/authenticate?oauth_token=MYTOKEN&oauth_callback=http%3A%2F%2Fmywebsite.com%2Fcomplete%2Flinkedin%2F

[   INFO] I/Forge   (  590): subView load https://www.linkedin.com/uas/oauth/authorize?oauth_token=MYTOKEN&state=

If I can't detect these URL changes consistently, is it possible to get the URL of the current tab at a point in time?

Note: I am using django-social-auth on my backend.