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

*Unknown error SIGN_IN_REQUIRED(4) #30

Open
Dipayon3D opened this issue Jul 13, 2017 · 11 comments
Open

*Unknown error SIGN_IN_REQUIRED(4) #30

Dipayon3D opened this issue Jul 13, 2017 · 11 comments

Comments

@Dipayon3D
Copy link

The plugin was working perfectly before...but all of a sudden it stopped working and the message in the title is showing the first time the app is opened.... After that it fails every time.... It's not even trying to connect.....It fails as soon as Button is clicked.....

@cruzlutor
Copy link

Same here, any clue?

@cruzlutor
Copy link

cruzlutor commented Aug 2, 2017

I found the solution to my problem, this plugin works if you use it on a signed apk build, also I had to link my app to my google console credentials

And dont forget to add testers accounts in your app settings

now is working

EDIT
Sometimes it works and some do not, so weird

@Dipayon3D
Copy link
Author

Yes...I am having the same problem.... It's working sometimes, sometimes not.... But on some devices it's always working....!!! I don't understand.....

@TombasOnly
Copy link

Hi guys, I have same problem. It didn't work on my phone. So I delete my Google Play Games profile; delete app; install again; create new Google Play Games profile and now it works on my phone again :)

@fridadwi
Copy link

@sajmons
Copy link

sajmons commented Mar 22, 2018

It only works in RELEASE mode. DEBUG mode will not work.

@Dipayon3D
Copy link
Author

@sajmons my game is in RELEASE mode . . . i've set up everything correctly on google play dev console but it's still showing me this....

@sajmons
Copy link

sajmons commented Apr 10, 2018

@Dipayon3D check your config.xml if you included plugin with APP_ID parameter like this:

<plugin name="cordova-plugin-game" spec="^1.0.120">
        <variable name="APP_ID" value="your_game_services_id" />
</plugin>

And your package.json like this:

"cordova": {
    "platforms": [
      "android"
    ],
    "plugins": {
      "cordova-custom-config": {},
      "cordova-plugin-file": {},
      "cordova-plugin-inappbrowser": {},
      "cordova-plugin-statusbar": {},
      "cordova-plugin-whitelist": {},
      "cordova-plugin-fullscreen": {},
      "cordova-plugin-splashscreen": {},
      "cordova-plugin-x-socialsharing": {},
      "cordova-plugin-game": {
        "APP_ID": "your_game_services_id"
      }
    }
  } 

@Dipayon3D
Copy link
Author

@sajmons the plugin is working sometimes . . . sometimes it's not working, showing me that *Unknown error SIGN_IN_REQUIRED(4) alert dialog . . . i think when the plugin fails to communicate with Google play, it throws that error... but the plugin IS WORKING - sometimes - that's what bothers me . . . this is a great plugin and it's unfortunate that this issue is making me look for workarounds.... did u not face this issue ever ??

@sajmons
Copy link

sajmons commented Apr 16, 2018

That's really strange. I don't have those problems.
How do you build your app? Does same builds works or not works every time? Maybe you have building issues that causing this?

@Samleo8
Copy link

Samleo8 commented Jun 10, 2018

Exactly the same issue for me, except mine doesn't work at all..
It's [email protected].

The app is released, signed and configured properly with Google Play Console.

The only build errors are:
Parallel execution with configuration on demand is an incubating feature. The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead. at build_8ban8a3bc0d6zeo7uf4zmez1o.run(/Users/sam/Documents/Mobile Apps/SoaringSheep/platforms/android/build.gradle:141) The JavaCompile.setDependencyCacheDir() method has been deprecated and is scheduled to be removed in Gradle 4.0. Incremental java compilation is an incubating feature. The TaskInputs.source(Object) method has been deprecated and is scheduled to be removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() instead.

Is there a workaround?

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

6 participants