Open uyu423 opened 7 years ago
I think the rnpm link not correctly. If you are using the latest react native, I am not sure, around >= 0.39. You should add FIRAnalyticsPackage in MainApplication.java rather than MainActivity.java.
import com.evollu.react.fa.FIRAnalyticsPackage;
@Override
protected List<ReactPackage> getPackages() {
return Arrays.<ReactPackage>asList(
new FIRAnalyticsPackage(),
new MainReactPackage()
);
}
have same problem on ios ? any comment?
@Mactub07 I've had problems with Android, and I have not been able to see if iOS is experiencing the same issue.
@Mactub07 Can you fixed this in IOS ??
i'm also having this issue on iOS.
Same issue in Ios
using react-native-firbase-analytics
1.0.6
using react-native0.32.0
I trying run this Component. occurring error
undefined is not an object (evaluating 'FIRAnalytics.setEnabled)
but console is that.
Naturally, I included google-service.json file as well. and already run
rnpm link
what the hell? I thinkNativeModules.RNFIRAnalytics
is undefined. What should I check?