google-signin-unity icon indicating copy to clipboard operation
google-signin-unity copied to clipboard

Will google block this app after January 4, 2021?

Open marcocarnazzo opened this issue 4 years ago • 23 comments

Google send to us a mail saying: "Starting January 4, 2021, we will block all sign-ins to Google accounts from embedded browser frameworks" Our affected app use this Google Signin library: it will work after January 4, 2021?

marcocarnazzo avatar Nov 19 '20 10:11 marcocarnazzo

Is this using an embedded browser framework? I thought it was native.

derwaldgeist avatar Nov 19 '20 10:11 derwaldgeist

I would be happy to get an answer to that also if someone knows.

adiohaion avatar Nov 24 '20 14:11 adiohaion

Absolutely! It's a shame that this package seems so abandoned by Google. Why do they release such stuff if they don't care for maintaining it? We just decided to not go live with it because of this uncertainty and rather wait until January to be sure.

derwaldgeist avatar Nov 24 '20 15:11 derwaldgeist

I don't think it will affect this plugin. From what i understood it turns out that you will not be able to login to google inside web view. But when you sign in with this plugin it doesn't open a web browser, just a single login pop up like in every even pure java app. Im not sure, but i think we are safe guys 👍

michal-lorenc avatar Nov 29 '20 17:11 michal-lorenc

I don't think it will affect this plugin. From what i understood it turns out that you will not be able to login to google inside web view. But when you sign in with this plugin it doesn't open a web browser, just a single login pop up like in every even pure java app. Im not sure, but i think we are safe guys 👍

What is doubtful is that it is involved in the Apple web browser system and therefore creates a problem during the build cuz using UI web view which is deprecated from iOS... can be solved with #126 , but the question is whether there is anything equivalent in Android Or not?

zeegfa avatar Nov 30 '20 12:11 zeegfa

i think we are safe guys

Awesome, sounds good! I just wasn't sure because the popup kinda looks like a web page. But yes, the native libraries are included as well, so I hope you're right.

derwaldgeist avatar Nov 30 '20 12:11 derwaldgeist

whether there is anything equivalent in Android Or not

Not to my knowledge. Apple deprecated their old UIWebView i favour of WkWebView, so that's mainly an Apple thing. And I can confirm that Apple accepts apps that are based upon the fork referenced in #126. We're already using this version in our app marblear.com, although we've disabled Google Sign-in in the UI so far because of the doubts we had about this issue here. If there would be a problem in the build because of references to UIWebView, they would have noticed.

derwaldgeist avatar Nov 30 '20 12:11 derwaldgeist

From what i understood it turns out that you will not be able to login to google inside web view. But when you sign in with this plugin it doesn't open a web browser, just a single login pop up like in every even pure java app.

Thank you. I also think so: i created this issue just to receive a confirm. Did you received like me a mail alert from Google about your Unity project?

PS: Maybe we are safe but this projects seems abandoned (i e. no official reply in this thread) and it's a little scary :-( .

marcocarnazzo avatar Dec 04 '20 08:12 marcocarnazzo

Did you received like me a mail alert from Google about your Unity project?

I did not receive such an email, but I did not publish my app yet.

Maybe it's a problem related to iOS? Is your app published for android & iOS?

PS: Maybe we are safe but this projects seems abandoned (i e. no official reply in this thread) and it's a little scary :-( .

Yeah, it is abandoned. This package was lastly updated 2 or 3 years ago. From what i see there is no real support for this package anymore. It uses really old google libraries.

I was tired of no support for this plugin and of some bugs I didn't know how to fix, so I made my own plugin for unity in java and it works perfectly, but probably supports only android.

michal-lorenc avatar Dec 04 '20 13:12 michal-lorenc

Though this plugin works well for now, could be better to migrate to https://firebase.google.com/docs/auth/unity/google-signin

adiohaion avatar Dec 04 '20 13:12 adiohaion

@adiohaion Fire base auth requires google sign in plugin so it does not fix anything.

michal-lorenc avatar Dec 04 '20 14:12 michal-lorenc

My bad put the wrong link - https://github.com/playgameservices/play-games-plugin-for-unity - meant to just migrate to google play services (even if your app is not a game probably worth it). Google probably prefer that when using unity, guess thats why this plugin is not maintained.

adiohaion avatar Dec 04 '20 14:12 adiohaion

My bad put the wrong link - https://github.com/playgameservices/play-games-plugin-for-unity - meant to just migrate to google play services (even if your app is not a game probably worth it). Google probably prefer that when using unity, guess thats why this plugin is not maintained.

It's no longer supported for iOS (deprecated) so that doesn't solve it either.

IdoMarkovitz avatar Dec 31 '20 20:12 IdoMarkovitz

Idk my brothers, i wrote my own google sign-in plugin for unity but it supports only android as I don't have iPhone.

michal-lorenc avatar Dec 31 '20 21:12 michal-lorenc

Was that difficult? Looking into possibly doing this myself.

riak157 avatar Mar 23 '21 17:03 riak157

@riak157 not really. Once you understand it, it's easy. The most important part you need to know is that, if the plugin you made use another plugin, then you need to include it also in unity project, i spent days trying to figure out why it did not work.

Here are some links that might help you:

  1. How to make android plugin in java for unity http://markcastle.com/steps-to-create-a-native-android-plugin-for-unity-in-java-using-android-studio-part-1-of-2/
  2. Making google sign in with pure java https://developers.google.com/identity/sign-in/android/start-integrating

michal-lorenc avatar Mar 23 '21 17:03 michal-lorenc

Alright thanks! I appreciate it. How come you made your own plugin rather than using this one?

riak157 avatar Mar 23 '21 17:03 riak157

Last update was 3 years ago. Some things changed by this time. Unfortunetly this plugin is abandoned and nobody really cares about updating it anymore.

I had to make integration with Google Fit API. I believe that would be impossible without access to 'google sign in' source code.

Sometimes it's easier to make things from scratch than using outdated & unsupported plugin.

(the amount of opened and unsolved issues might give you a good view why it's not worth your time)

michal-lorenc avatar Mar 23 '21 18:03 michal-lorenc

Can anybody confirm that this plugin is still accepted by the Play Store? We have successfully implemented it, but wanted to wait until we know if it was blocked before we release it in our app.

derwaldgeist avatar Mar 23 '21 22:03 derwaldgeist

lol! hey @derwaldgeist, how are you? Funny to find it here :) - better to login probably through html5 browser, this plugin seems to cause too much problem. Too bad people don't remember passwords.

popisdead avatar Mar 28 '21 00:03 popisdead

I had to make integration with Google Fit API. I believe that would be impossible without access to 'google sign in' source code.

@Xazerekt did you get Google Fitness working from Unity? I'd love to know if it's possible…

lucashaley avatar May 14 '21 21:05 lucashaley

@lucashaley Yes it is. Unity, C# + Java

michal-lorenc avatar May 14 '21 22:05 michal-lorenc

Can anybody confirm that this plugin is still accepted by the Play Store? We have successfully implemented it, but wanted to wait until we know if it was blocked before we release it in our app.

Yes @derwaldgeist, is still been accepted on Play Store. And still works for Android, at least.

jeisoncp avatar Mar 03 '23 20:03 jeisoncp