Problem with JMC and Hockey integration

Deleted user April 29, 2013

Hi,

I am currently adding JMC support to our iOS app, which already has the HockeyApp SDK integrated.

I followed this guide: https://developer.atlassian.com/display/JMC/Integrating+JMC+with+HockeyApp+Already+Installed

but when I try to send a feedback, it's not working.

If I add this call to the AppDelegate:

[[JMC sharedInstance] configureJiraConnect:@"https://connect.onjira.com/"
projectKey:@"NERDS"
apiKey:@"591451a6-bc59-4ca9-8840-b67f8c1e440f"];

then the feedback sending works. But it should work without this, right?

If I add the above lines AFTER the HockeyManager calls, the app even crashes. When called BEFORE, it works.

What irritates me a bit is this line:

"The class CNSHockeyManager automatically fetches the API token and project key for JMC from HockeyApp..."

My hockey SDK (last one from https://github.com/bitstadium/HockeySDK-iOS) does not contain a CNSHockeyManager class, but a BITHockeyManager class. Is this the source of the problem? Where do I get the CNSHockeyManager?

Does anyone have similar problems with JMC and hockey?

Best regards

Michael

2 answers

0 votes
Deleted user May 5, 2013

Hi Omar,

thanks for your reply.

The code above is just dummy code, I do not really use. Actually the URL is like this: https://[our_company_name].atlassian.net/

I copied it from the settings/JMC section of the administration page of the project, so i guess it should be right.

Should I try https://connect.atlassian.net ?

But it says Add the above line of code to your App. So I think this should be the correct URL, right?

Cheers

Michael

0 votes
OmarA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 5, 2013

Hi Michael,

I guess now you are using https://connect.atlassian.net NOT https://connect.onjira.com/. While in your attached configurations it seems that you are using https://connect.onjira.com/ instead of using https://connect.atlassian.net/. Did you try to change that and give a try?

Cheers,

Omar

Deleted user May 5, 2013

Hi Omar,

thanks for your reply.

The code above is just dummy code, I do not really use. Actually the URL is like this:https://[our_company_name].atlassian.net/

I copied it from the settings/JMC section of the administration page of the project, so i guess it should be right.

Should I try https://connect.atlassian.net ?

But it says Add the above line of code to your App. So I think this should be the correct URL, right?

Cheers

Michael

OmarA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 5, 2013

I guess you should try this URL https://connect.atlassian.net/. as onjira shouldn't be valid anymore.

Let us know how it goes with you!

Deleted user May 6, 2013

Hi Omar,

the thing is, as I read the documentation, I should not add the call to JMC at all, if I have hockey integrated:

"The class CNSHockeyManager automatically fetches the API token and project key for JMC from HockeyApp, so you don't need to adjust the configuration in your AppDelegate.m file." (from https://developer.atlassian.com/display/JMC/Integrating+JMC+with+HockeyApp+Already+Installed)

But maybe I just read it wrongly and the [JMC sharedInstance] configureJiraConnect call is necessary, allthough hockey is installed.

Can you verify that?

Regards

Michael

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events