Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Play Games Services: No callback on registered GPGStatusDelegate instance #191

Open
julienvillegas opened this issue Dec 17, 2016 · 0 comments

Comments

@julienvillegas
Copy link

Hello,
there is somehow no callback to my GPGStatusDelegate instance which I registered by

this.gpgManager = GPGManager.sharedInstance();
gpgManager.setStatusDelegate(new ConnectionListener());

(Note: ConnectionListener extends NSObject implements GPGStatusDelegate).
When I call gpgManager.signInWithClientID(CLIENT_ID, false); the accounts.google.com page shows up. And when I tap on 'Accept' the game screen gets reshown but my GPGStatusDelegateinstance does not receive anything.

In issue #176 this was solved by overriding the openURL method by the following lines to the class which extends IOSApplication.Delegate

@Override
public boolean openURL(UIApplication application, NSURL url, String sourceApplication, NSPropertyList annotation) {
        return GPPURLHandler.handleURL(url, sourceApplication, annotation);
    }

This method has since been deprecated so this solution no longer exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant