martincik/react-native-hockeyapp

react-native-hockey-app platform setup not complete

JatinKinra opened this issue ยท 17 comments

I followed the steps mentioned in the guide "https://www.npmjs.com/package/react-native-hockeyapp".
Build for the app is also successful. But When I run my release.apk, It silently does nothing and install is not reflected on Hockey App dashboard. So, I tried it in debug.apk, I am getting an error on red screen saying "react-native-hockey-app platform setup not complete" .
Can anybody help me with this issue ?

@JatinKinra In order to help you, can you provide more detailed step-by-step of what you do and what systems are you running it with? Thank you.

Hi I too have the same issue please help me how to solve this.

Hi,
I'm using React native.
In that i used this module.
First
I installed the node module and later I installed the cocopods as per the instructions.
In the pod file i wrote like this:
pod 'HockeySDK'
Dragged the pod.xcodeproj and RNHockeyapp into the libraries.

And my project is build successfully but when its is launched it showing an error like the following:
react-native-hockey-app platform setup not complete

Can you please help me in solving this issue.

I'm having the same issue. Any solutions yet?

I'm having the same problem. By the way, I had to change my podfile to be:
target 'dri' do
pod "HockeySDK"
end

instead of just:
pod "HockeySDK"

in order for the install to happen. It would fail saying that it did not detect any dependencies. Otherwise, I follow the directions.

This only occurs when I do not drag RNHockeyapp into the libraries folder.

If I do drag RNHockeyapp into the libraries folder, then the build fails silently with no error message.

I ran into the same issue. I had dragged the RNHockeyApp folder into Project > Libraries, but it's actually the files inside the folder (RNHockeyApp.h, RNHockeyApp.m) that should be dragged. Maybe the instructions are a bit unclear, since this was already my second time doing the same mistake :)

I'm having the same issue. Any solutions yet?

Same here

Try updating your Podfile to the following:
pod "HockeySDK", :subspecs => ['AllFeaturesLib']
run pod install

Follow the instruction and I'm having the same shit

@martincik , Looks like it's a popular issue, can you provide a configuration flow from react-native init awesomeProj and registration on the hockeyapp.net? Without this one the package is useless.

@martincik it was hard to find this simple solution #60

In case it helps anyone, I ran into this same issue. It turned out that the build was failing in the first place because of the issue described here: #38.

As described in that issue, the fix was to update the Podfile to

pod "HockeySDK", :subspecs => ['AllFeaturesLib']

#58 fixed it for me, I just forked the PR and installed directly.

package.json

"react-native-hockeyapp": "git+https://git@github.com/esbenp/react-native-hockeyapp.git",

I have this problem too but #58 neither #38 work for me! I follow IOs setup steps. I don't know what is the problem, on Android it do not show this message and work without problem yet.

for a rare reason in iOS RNHockeyApp is undefined.
var { NativeModules: { RNHockeyApp } } = require('react-native'); var invariant = require('invariant');

captura de pantalla 2017-11-26 a la s 12 09 35 p m
captura de pantalla 2017-11-26 a la s 11 52 05 a m

Have the same issue. Works fine for Android. iOS has been the troubled kid. Tried
pod "HockeySDK", :subspecs => ['AllFeaturesLib']
Did not help. Error still shows up

@esbenp Did you add it as a dependency in your package.json?