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

Fix import of non-published NSDictionary helpers from SnowplowTracker on iOS (close #161) #162

Merged
merged 1 commit into from
Apr 11, 2022

Conversation

matus-tomlein
Copy link
Contributor

@matus-tomlein matus-tomlein commented Apr 11, 2022

This PR addresses issue #161 and removes imports of internal header files (NSDictinoary+SP_TypeMethods.h and SPUtilities.h) from React Native tracker ObjC code.

I added a NSDictionary-RNSP_TypeMethods header and implementation to the RN tracker with the methods that were used. I changed the prefix of the file and methods since they conflicted with the original ones.

Also added a use_frameworks! :linkage => :static directive to the Podfile in DemoAppTV which raises errors in case this happens. I didn't add it to the DemoApp project because that uses Flipper and is not compatible with it. But we should be notified of such issues in the future when building the DemoAppTV project.

@matus-tomlein matus-tomlein requested a review from AlexBenny April 11, 2022 14:58
@matus-tomlein matus-tomlein marked this pull request as ready for review April 11, 2022 14:58
@matus-tomlein matus-tomlein changed the base branch from master to release/1.2.1 April 11, 2022 14:59
Copy link

@AlexBenny AlexBenny left a comment

Choose a reason for hiding this comment

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

LGTM! 👍 👍

@matus-tomlein matus-tomlein merged commit b245ed4 into release/1.2.1 Apr 11, 2022
@matus-tomlein matus-tomlein deleted the issue/161-fix_import branch April 11, 2022 17:31
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.

2 participants