martincik/react-native-hockeyapp

property 'feedbackManager' not found on object of type 'BITHockeyManager *'

Opened this issue ยท 5 comments

After following the instructions to setup ios got this error.

property 'feedbackManager' not found on object of type 'BITHockeyManager *'
Xcode 8
react-native 0.33.0

I had this same issue, I commented out the feedbackManager call the in the native code and it compiled... don't know if that fixed it or broke it more though. Can't seem to get update notifications working.

From the HockeySDK repo:

Feedback and iOS 10

4.1.1 of the HockeySDK removes the Feedback feature from the default version of the SDK. The reason for this is that iOS 10 requires developers to add a usage string to their Info.plist in case they include the photos framework in their app. If this string is missing, the app will be rejected when submitting the app to the app store. As HockeyApp's Feedback feature includes a dependency to the photos framework. This means that if you include HockeyApp into your app, adding the usage string would be a requirement even for developers who don't use the Feedback feature. If you don't use Feedback in your app, simply upgrade HockeySDK to version 4.1.1. If you are using Feedback, please have a look at the Feedback section.

Update your Podfile to the following:
pod "HockeySDK", :subspecs => ['AllFeaturesLib']

Thanks @brianjd ๐Ÿ‘

idris commented

Ideally there should be a way to use react-native-hockeyapp without AllFeaturesLib. Maybe it needs a separate npm package? ๐Ÿ˜ข

Just update the podfile to
pod โ€˜HockeySDKโ€™, '4.1.0โ€™