Skip to content

Fix for RNAnalytics not found issue (#30) #116

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

Merged
merged 5 commits into from
Mar 19, 2020
Merged

Conversation

emadgit
Copy link
Contributor

@emadgit emadgit commented Oct 9, 2019

Description
RNAnalytics dependency is missing for all integrations, which needed when it imported in ios/main.m file #import <RNAnalytics/RNAnalytics.h>

Also the integration generator will generate factory_header with Segment- format which causing problem since the right format should be Segment_ as an example :
Current import ( Invalid ) :
#import <Segment-Adjust/SEGAdjustIntegrationFactory.h>

Correct format :
#import <Segment_Adjust/SEGAdjustIntegrationFactory.h>

Fix for issue below :
#30

Copy link
Contributor

@squirly squirly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I manually make these changes in node_modules everything compiles and runs correctly.

@prashantShrivastava91
Copy link

I am facing the same error while integrating with firebase. Is this PR going to me merged anytime soon.

@snamoah
Copy link

snamoah commented Oct 23, 2019

will this be merged anytime soon? it's causing build fails for @segmentio/analytics-react-native-firebase also

@KolenkoJan
Copy link

KolenkoJan commented Nov 21, 2019

Can this be merged?

Incorrect imports also causing errors in:
"@segment/analytics-react-native-google-analytics": "1.1.0",
"@segment/analytics-react-native-mixpanel": "1.1.0",

@llaine
Copy link

llaine commented Nov 28, 2019

Guys any estimation on when this is going to be merged?

How are you able to makes these changes in the node_modules, can you explain us @squirly ?

Copy link

@S0c5 S0c5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All looks good!

@bsneed bsneed merged commit 7896a45 into segmentio:master Mar 19, 2020
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

Successfully merging this pull request may close these issues.

9 participants