Skip to content

Comments

Allow using HockeyAppSDK pod subspecs#82

Open
ajmath wants to merge 2 commits intoiamladi:masterfrom
ajmath:allow-feedback-only
Open

Allow using HockeyAppSDK pod subspecs#82
ajmath wants to merge 2 commits intoiamladi:masterfrom
ajmath:allow-feedback-only

Conversation

@ajmath
Copy link

@ajmath ajmath commented Aug 3, 2018

For my use case, I need to use both HockeyApp and AppCenter pods (AppCenter doesn't support feedback yet). Unfortunately, including both causes an error at compile time due to overlapping symbols. The solution was to use pod 'HockeySDK', :subspecs => 'FeedbackOnlyLib' to only include the feedback pod spec. However, when doing this RNHockeyApp.m had multiple compilation errors due to referencing code that was not included via cocoapods.

This PR adds the appropriate #if HOCKEYSDK_FEATURE_... flags to allow compiling the react-native module with a subset of the HockeyAppSDK pod subspecs.

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.

1 participant