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
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.