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

I am unable to initialize GoogleSignInClientProxy in Android #1

Open
Dev-GOM opened this issue Jun 19, 2023 · 8 comments
Open

I am unable to initialize GoogleSignInClientProxy in Android #1

Dev-GOM opened this issue Jun 19, 2023 · 8 comments

Comments

@Dev-GOM
Copy link

Dev-GOM commented Jun 19, 2023

I followed everything but I am unable to initialize GoogleSignInClientProxy in Android. Any examples of how to add a dependency to initialize it arbitrarily?

@muzhigg
Copy link
Owner

muzhigg commented Jun 19, 2023

I followed everything but I am unable to initialize GoogleSignInClientProxy in Android. Any examples of how to add a dependency to initialize it arbitrarily?

Are there any errors in the logcat?

@Dev-GOM
Copy link
Author

Dev-GOM commented Jun 19, 2023

I followed everything but I am unable to initialize GoogleSignInClientProxy in Android. Any examples of how to add a dependency to initialize it arbitrarily?

Are there any errors in the logcat?

Screenshot_20230620_020826_metafellow

here it is

@muzhigg
Copy link
Owner

muzhigg commented Jun 20, 2023

Strange, but I can't reproduce this error by following the instructions.

So, I need more information. It would be great if you could provide a link to your project repository.

If that's not possible, I need to know the version of Unity you're using, and please send a screenshot of the Android settings in the "Other" section.

@Dev-GOM
Copy link
Author

Dev-GOM commented Jun 20, 2023

Strange, but I can't reproduce this error by following the instructions.

So, I need more information. It would be great if you could provide a link to your project repository.

If that's not possible, I need to know the version of Unity you're using, and please send a screenshot of the Android settings in the "Other" section.

As a result of checking, I unchecked the release of minify and it works normally. It seems that the class could not be found due to obfuscation. How can I use realease?

@muzhigg
Copy link
Owner

muzhigg commented Jun 20, 2023

Yes, I have already figured out what the problem was. I will provide an update with the solution today.

Also, please let me know which version of Unity you are using. Because on version 2022.3.2f, the application crashes during initialization.

@Dev-GOM
Copy link
Author

Dev-GOM commented Jun 20, 2023

Oh my.. 2022.3.2f1 is in use.

Yes, I have already figured out what the problem was. I will provide an update with the solution today.

Also, please let me know which version of Unity you are using. Because on version 2022.3.2f, the application crashes during initialization.

Oh my.. 2022.3.2f1 is in use.

@muzhigg
Copy link
Owner

muzhigg commented Jun 20, 2023

So, I was unable to reproduce this error even with the "minify release" checkbox checked. I made some changes to the proguard-rules in the Android library. So, you can try to see if this error occurs again.
Here's what you need to do:

  1. Remove the Google Identity package from the Package Manager.
  2. Install the Google Identity package from the git URL "https://github.com/muzhigg/com.izhguzin.google-identity.git#class-not-found-fix".
  3. Enable the "Minify Release" flag.

@Dev-GOM
Copy link
Author

Dev-GOM commented Jun 20, 2023

So, I was unable to reproduce this error even with the "minify release" checkbox checked. I made some changes to the proguard-rules in the Android library. So, you can try to see if this error occurs again. Here's what you need to do:

  1. Remove the Google Identity package from the Package Manager.
  2. Install the Google Identity package from the git URL "https://github.com/muzhigg/com.izhguzin.google-identity.git#class-not-found-fix".
  3. Enable the "Minify Release" flag.

Yes, I'm processing another issue right now, so I'll do it as soon as it's finished. Thank you for your concern. :)

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

When branches are created from issues, their pull requests are automatically linked.

2 participants