Google play game service "Failed to sign in.Please check your network connection and try again" - google-play-services

I just released my app on google play. When the app tries to login to google game service, I get an pop saying "Failed to sign in. Please check your network connection and try again". I have been able to login during the development of the app.
In google developer console, I have linked both the debug and release version of my app.
One thing that might be the problem is that I published the app before the game service (which is not recommended by google). Is this the problem? How do I fix this? How can I debug this?

As referred with this link and from this forum, if the phone has the wrong time/date you will encounter this error. You may also check the answer in Failed to sign in. Please check your network connection and try again. I have moved app id and leaderboard id from strings.xml to ids.xml in values folder. I have deleted all client ids and add again client ids for debug keystore and release keystore. Hope this helps!

Related

Huawei App Gallery rejects my app with insufficient reason

I've uploaded an app to Huawei AG but rejected by a message like
"Dear developer, the functions in your App are unavailable and we can
not edit content in it after we logged in successfully, please modify
it."
My app is already available on the Apple App Store and Google Play store and working properly so I don't think that it is unsuitable. I've check Huawei's review guideline but couldn't find any solution.
Does anyone know why this is happening?
Your app has been rejected, and the rejection reason is "Dear developer, the functions in your app are unavailable and we cannot edit content in it after we logged in successfully, please modify it." Check whether your app has the problem. You are advised to test the relevant functions.

Can not login itunesconnect

can not login itunesconnect
The page give the warning 'Failed to verify your identity, Try again'.
Do somebody face the same problem?
If you are connecting with a VPN, try changing it or try connecting without any VPN.
I couldn't login to anything apple in a web browser: appstoreconnect, developer, icloud, or apple.com. I could install new apps on my iPhone, and edit account settings using the iPhone and my password.
I tried logging in from different browsers, OSes, devices, IPs. I tried browsers with temporary profile (cleared cache/history/everything). Didn't make a difference. The same error popped up: Failed to verify your identity. Try again. The browser inspector tools said a 409 and 401where occurring when trying to get the 2FA after correct credentials entered.
I tried another apple id and without a hitch it asked for the 2FA code.
I turned on 2FA using my iPhone. Didn't make a difference for logging in via web browser to apple sites.
I had to contact apple. The second representative and I agreed that it most likely was a server side issue. He escalated it to engineering. The next morning, all my apple site browser sessions had "forgotten" my apple id. I was able to login now and enter my 2FA code as expected.
Finally, without no reason, I can login.
Had same issue. Ultimately what made it work was that I unlocked my iPhone and then on my laptop I tried itunesconnect again. This time the 2-factor authentication kicked in, and my iPhone showed a popup asking me to verify my laptop. Then it all worked.

Push notifications not asking permission when user loads app

Hi I have just released my app update with push notifications added into it. I was worried that it would not work properly so I did a bunch of testing. First with just a development certificate and then a production certificate using adhoc. Both ended up working and I was pleased when the adhoc worked.
Anyways the update has been live for about 8 hours now and for some reason push isn't working. I checked with my friend and have realized that the user is not being asked whether he wants to accept push notifications from my app. Which means when the token gets sent to my server, its appearing as (null). I have no idea why this is happening. When he goes into device settings --> notifications ---> my app does not appear on any of the lists (receiving push notifications or not receiving).
This is the code in my delegate that should trigger the request:
[[UIApplication sharedApplication] registerForRemoteNotificationTypes:
(UIRemoteNotificationTypeBadge | UIRemoteNotificationTypeSound | UIRemoteNotificationTypeAlert)];
If anyone knows why this is happening, input would be much appreciated. Thanks!
We thought we were having this same issue but found out that the app was actually working correctly. The user is only prompted once even if they uninstall and reinstall the app.
We were testing it by uninstalling the app and then reinstalling. iOS would remember how we had responded previously on that device and would not prompt again leading us to think there was a problem.
We found the best way to test is with the simulator and doing a "Reset Content and Settings".
After configuring your app for push notifications and generating your SSL certificates you must also generate new provisioning profiles.
The developer portal displays this message on the App ID configuration page:
After you have generated your Client SSL certificate, create a new provisioning profile containing the App ID you wish to use for notifications.
If you did not update your App Store provisioning profile after setting up push the OS will not provide you with a push token.
If this is your problem you just need to generate a new App Store distribution profile and submit a recompiled version signed with that profile.

Push notification not working

I am trying to send push notifications to myself.
I have copied the code from Apple. But I am getting the error no valid 'aps-environment' entitlement string found for application.
I made a new project with the same code (without adding entitlements.plist)and it's working fine.
so it's not the problem of my provisioning profile or my code, then what is?
Can someone tell me why it isn't working on my main project?
thanks in advance
This means that the provisioning profile used to build the application does not have push notifications enabled. Push notifications must be enabled for that application ID in the iTunes Developer Portal.
If you’ve already enabled push notifications and still receive this error, it might be because you enabled push notifications after the provisioning profile was created. In this case, the profile will not have the required push notification settings, and must be regenerated.
To regenerate the provisioning profile, find it in the iTunes Developer Portal, and click Edit->Modify and save it. When you download the new profile, we recommend removing the existing profile from the device and XCode before installing the new one. Many developers continue to report problems unless they do this step.

Facebook iphone connection

I have the next problem with the connection:
I can't connect to one app in facebook, but when I create a new app in facebook and I change the API and secret all is going good.
The problem is that I need to connect to the first one app in facebook, the other was only to test the connection.
What could be the solution?
Thanks
Without any additional information, no one is going to be able to diagnose this with any sort of certainty.
I would suggest checking to make sure that you've set the Facebook app to be classified as a "Desktop app" rather than a web app. If it's not set as a desktop app, Facebook will refuse the connection.
If that doesn't help, you need to provide some more details about the configuration of your app on Facebook and about what exactly you are doing to test the connection.