segment-integrations / analytics-ios-integration-firebase

Segment's bundled integration for Firebase on iOS
MIT License
13 stars 95 forks source link

Use of undeclared identifier 'config' #68

Closed raboija closed 2 years ago

raboija commented 3 years ago

Where exactly I'm supposed to write this line?

[config use:[SEGFirebaseIntegrationFactory instance]];

The documentation is unclear in this part, I'm a React Native engineer not very experienced in xcode. I have <Segment-Firebase/SEGFirebaseIntegrationFactory.h> imported inAppDelegate.m and I wrote that line in the same file after doing pod install, but I get this error:

Use of undeclared identifier 'config'

Is there a file or function example where to put that line? Or I'm missing a simple import?

zchwyng commented 3 years ago

+1

bsneed commented 2 years ago

Refer to the react-native documentation rather than this integration. It's unrelated to what you're doing.