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

RNGoogleSignInEvents.swift:11:29: Use of undeclared type 'RCTEventEmitter' #91

Open
heroic opened this issue May 15, 2018 · 1 comment

Comments

@heroic
Copy link

heroic commented May 15, 2018

Can't get past this error on iOS.

Have followed all given instructions, but this doesn't seem to be working.

@eladnava
Copy link

@heroic As per the README, add to your Swift Bridging Header, {YourApp}/ios/{YourApp}-Bridging-Header.h:

#import <React/RCTBridgeModule.h>
#import <React/RCTViewManager.h>
#import <React/RCTEventEmitter.h>
#import <GoogleSignIn/GoogleSignIn.h>

Or, if you are using RN <= 0.39:

#import "RCTBridgeModule.h"
#import "RCTViewManager.h"
#import "RCTEventEmitter.h"
#import <GoogleSignIn/GoogleSignIn.h>

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

No branches or pull requests

2 participants