Works great on iOS, but after following Android setup guide the gradle build fails. I'm getting this error:
Error:(40, 8) error: RNGoogleSigninModule is not abstract and does not override abstract method onNewIntent(Intent) in ActivityEventListener
This was user error. I was using 0.6.1 of this package.
I have the same issue with RN v0.33 and react-native-google-signin v0.8.0. I'm getting this error:
RNGoogleSigninModule.java:40: error: RNGoogleSigninModule is not abstract and does not override abstract method onActivityResult(Activity,int,int,Intent) in ActivityEventListener
public class RNGoogleSigninModule extends ReactContextBaseJavaModule implements ActivityEventListener
and this error:
RNGoogleSigninModule.java:53: error: method does not override or implement a method from a supertype
I have the same issue with RN v0.33 and react-native-google-signin v0.8.0.
Since RN v0.33 FB has changed onActivityResult listener interface.
I have solved this issue thanks to @ivpusic and his PR #126
I had this problem too.
And I solve this problem by removing the "Activity activity" parameter from onActivityResult () method in RNGoogleSigninModule.java
Most helpful comment
I have the same issue with RN v0.33 and react-native-google-signin v0.8.0. I'm getting this error:
RNGoogleSigninModule.java:40: error: RNGoogleSigninModule is not abstract and does not override abstract method onActivityResult(Activity,int,int,Intent) in ActivityEventListener
public class RNGoogleSigninModule extends ReactContextBaseJavaModule implements ActivityEventListener
and this error:
RNGoogleSigninModule.java:53: error: method does not override or implement a method from a supertype