B4i Library iHockeyCrash - crash reports

Sandman

Expert
Licensed User
Longtime User
So if one wants to play it absolutely safe and not risk legal issues, it's better to actually display the message box.

That said, I would assume that the folks at HockeyApp knows all about this, so it's probably a good idea to ask them for advice. (I would also like to ignore showing the message box and get all reports.)
 

JanPRO

Well-Known Member
Licensed User
Longtime User
Hi,

probably a good idea to ask them for advice
I have asked them:


Their answer:


I can understand HockeyCrash, I wouldn't offer legal advice as well in their position.
Personally, I will show the MessageBox always, however it's your decision and you as a developer have to take care to obey the law.

Jan
 
Last edited:

jo1234

Active Member
Licensed User
Longtime User
Hi,

recently, HockeyApp (https://hockeyapp.net) has been migrated to the Visual Studio App Center (https://appcenter.ms).

I have created an account at https://appcenter.ms and created an entry for myapp.
Then I took the app ID from the 'Getting started' paragraph

B4X:
[MSAppCenter start:@"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" withServices:@[ [MSAnalytics class], [MSCrashes class] ]];

and used it for your code:

B4X:
HC.Initialize("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")
HC.SetMsgBox("Ooops","The App crashed. Please help us by sending the crash log","Don't send","Send now","Always send")
HC.StartManager

However, I get an error:
[HockeySDK] -[BITHockeyManager logInvalidIdentifier:]/144 [HockeySDK] ERROR: The app identifier is invalid! Please use the HockeyApp app identifier you find on the apps website on HockeyApp! The SDK is disabled!

Does the library work with an appcenter.ms account?

Thanks a lot,
Johannes
 
Last edited:

walterf25

Expert
Licensed User
Longtime User
I guess not. I will release an update soon.

Jan
Was there a new version released that works with appcenter.ms.account after all, or does this library not usable anymore?

Walter
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…