-
Notifications
You must be signed in to change notification settings - Fork 285
[New Release HERE!!!] Update native sdk version to 6.0.2(Now updated to 6.2.4) & REFECTOR iOS Adapter #205
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
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested on iOS and works great! Many thanks
Would you fire a new release? |
I don't work for Google, can I do that?
…On Thu, Oct 27, 2022 at 12:29 AM Spermoverflow ***@***.***> wrote:
Tested on iOS and works great! Many thanks
Would you fire a new release?
—
Reply to this email directly, view it on GitHub
<#205 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALIT6YXYJDKFRSKV6DKDP3WFIVMPANCNFSM5KFHXUMA>
.
You are receiving this because you commented.Message ID:
***@***.***>
--
Roger Miller | Collective Mass | 424 603 7827
|
Aha. I mistakenly thought you work for Google~ |
This could help me and my guys but I have a hard time to build this, I am not much in Java anymore since C# exists, can anyone tell me what to do to build this? I tried on Windows WSL 2 and got the below error.
thanks for any help Edit1: After following this guide https://www.javaprogramto.com/2021/11/could-not-determine-java-version.html
gradle version is at 5.4.1 About that sdk issues there is an addon to the readme in this fork https://github.com/wakawa2003/google-signin-unity-fixed |
So sorry for the inconvenience.
If it works, it would be nice to let me know. @karstenkx |
Yes, in the end It worked when I installed that stone old "latest" release and then use the files in your PR , put them into the project overwritting , we both know a proper build and package release would be better |
@karstenkx |
Having the same issue as @MrKhan2022. I'm pretty sure it was working a few days ago. Any help would be appreciated. Edit: If anyone still struggling with this, changing the dependency version from >=6.0.2 to =6.2.4 solved it for me. |
@Crazak Glad to hear that you have work around the issue. Edit: May I have your unity version and xcode version(with macos version)? |
Unity Version: 2021.3.8f1 |
Guys please help me, still getting error like @MrKhan2022 described |
I cant find |
[email protected] |
Hi, I'm trying to build this, but I'm having a similar error to MrKhan, but in my case is another file (GIDSignIn), I've tried creating a new project and importing everything cited on this thread, but it still happens, even switch from 6.0.2 to 6.2.4. |
hi, @matbn |
@CodeMasterYi yes, and I've also tried with a fresh project too, just importing the plugin-1.0.4, your files and the sample scene |
hi @matbn one more thing, it depends this plugin https://github.com/googlesamples/unity-jar-resolver/releases/tag/v1.2.175 |
@CodeMasterYi using only your package with the jar resolver I could build, thank you for the help and for the updates. |
@matbn Glad to hear that. |
How? @DhawalJhaveri |
@CodeMasterYi I updated the Firebase version from 12.9.0 to 13.2.0 along with the Google AdMob to 10.4.2 to support the 16KB memory pages for my project. I didn't find any new versions for the Google Sign-in which do the same so I tried running the project and when I made an attempt to sign in that was the error I got. I am on version 1.0.4 for Google sig-in but I think it does not support the 16 KB memory pages. If there's any work around for this then it will be really appreciated. I tried testing it on Android 13 and Android 15 but they both show the same error. |
@DhawalJhaveri I have just build a new version for 16kb-page-size, but I haven't test it yet. |
@CodeMasterYi let me know when you have had the chance to test it. I'll do the same from my side. |
@DhawalJhaveri Great! but I have no time for coming days. I have a long |
@CodeMasterYi I did a test after replacing those three files but I'm still getting the same error. I'll go through the whole repo to make sure I'm not missing anything else. |
@DhawalJhaveri Have you tried my repo yet? |
@Thaina Please share the link and let me know what to keep in mind when using the repo. |
@DhawalJhaveri https://github.com/thaina/google-signin-unity/?tab=readme-ov-file#forked-to-upgrade-base-library-to-newer-version What to keep in mind?
|
@Thaina Thanks for the update. I'll test this on my project and get in touch with you if anything new pops-up. |
@Thaina hi! Here’s the situation:
So my goal is to completely remove all traces of the old Google Sign-In plugin and set up your version from scratch. Could you please provide some guidance or a step-by-step plan on how to clean up the old setup and properly integrate your plugin? |
That would be sorry. I don't have any guideline. I just try to completely remove anything relate to old google signin manually One method is, I would try reimport google signin, but not pressing import, just checking which files came from google signin unitypackage and remember path to remove it |
@DhawalJhaveri I found that the old version supports 16kb. Your problem may be caused by other reason? |
@CodeMasterYi Cant seem to figure out the exact issue. I'll keep looking till I figure it out. Also please share the link to the site in the third image. |
Do you mean this? |
@DhawalJhaveri You should ensure that the libarary is included in the package. |
@CodeMasterYi I used the APK analyzer in Android Studio to check if the APK was including the Google Sign-in package but there was nothing related to it. The libs/arm64-v8a is missing the |
@Thaina hi again. Removed GoogleSignIn, EDM. Imported yours with UPM. Resolved and now I cannot build my game. Unity version is 2022.3.44f1. Here is the error:
|
I'm not sure, let's remove |
I deleted Library folder, cleared cache of gradle, reinstalled Unity and project. Still get the same error |
Have you clear resolved library and using gradle system in project? |
I think so. As I said, I deleted googlesignin, edm and reinstalled project at all. Before I had unitypackage signin. Now I used yours UPM packages. I didn't have LauncherManifest, but had LauncherGradleTemplate |
@CodeMasterYi @Thaina Thanks for all your help, I finally solved the issue. All I had to do was keep the older versions of the plugins that i was using and just update the Unity Editor version. I went from using 6000.0.32f1 to 6000.0.58f1. After updating the editor I tried to add the latest versions of the plugins but was faced with the same issue, but after reverting back to the version where my game was properly working I made a build in 6000.0.58f1 and checked it out in APK analyzer first and then on my android device. Those test confirmed that Google Signin is now working for me. |
@BloodIcee Do you explicitly specify JDK version in your build.gradle? How do you build your app? Android Studio or just command line? |
@CodeMasterYi give me some time. I deleted EDM, GoogleSignIn and will reimport UPM again. Let me also add LauncherManifest as Bodrihin said and raise minimum target API to 24 |
It's a common issue with JDK version. |
@CodeMasterYi I use jdk which is installed by Unity. I also installed jdk 17, but it cannot be set in Unity 2022.3 |
@BloodIcee I think you are exporting Android project first? If so: BTW |
@Bodrihin I have try to made a successful build in 2022.3.62f I need to remove all these file in plugins folder, then regenerate it in 2022.3.62f ![]() So, maybe gradle update and credential manager version was the cause? And we might just need newer version of unity to fix it |
Update native sdk version to latest & refactor iOS adapter!
before google's future new release(greater than 1.0.4 released in 2018), you guys can
try import this. [email protected]
It depends on EDM4U(aka. unity-jar-resolver).
https://github.com/CodeMasterYi/google-signin-unity/releases
Update 2025-08-14!!!
= 6.2.4
!GTMSessionFetcher/Core
from<3.0
to '<4.0' CocoaPods/Specs#14617, under~/.cocoapods/repos/cocoapods/Specs/d/4/0/GoogleSignIn/6.2.4/GoogleSignIn.podspec.json