This is a migrated thread and some comments may be shown as answers.

RadDiagnostics: App Version Number is empty

3 Answers 34 Views
Diagnostics
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
casaout
Top achievements
Rank 1
casaout asked on 07 May 2014, 09:48 AM
hi 

We are using the RadDiagnostics feature in our Windows Phone app and are very happy with it. From time to time (when we deliver an update to the public WP store), error reports coming in via this feature have no app version number, which makes it very difficult to find and fix them.

Unfortunately, we don't know when te error reports are empty. In the local debugging environment, we never experienced the empty version number. In Application_Launching (...) we added "ApplicationUsageHelper.Init(AppAssemblyVersion);". We also noticed the possibility to manually add the app version number as a property, but don't know if this fixes the issue...

Any ideas and tips? 

Thank you!

3 Answers, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 10 May 2014, 01:15 PM
Hi,

Thank you for your question.

The provided information is not enough so that we can tell you for sure what is the cause for this behavior.

The most probable explanation is that you have missed to call ApplicationUsageHelper's OnApplicationActivated as shown here

If this doesn't help, it will be great if you manage to isolate the case so that we have more specific steps to reproduce the issue and assist you further.

Regards,
Todor
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
casaout
Top achievements
Rank 1
answered on 15 May 2014, 06:32 AM
hi Todor

Thanks for your feedback. Because it previously worked, I don't think the problem is in the call of ApplicationUsageHelper's OnApplicationActivated. What I tried (and seems to work) is to manually set the app version number (again). Another thing I tried is, that the version number is "1.4.0.0" rather than "1.4.0". Is it possible, that it didn't work because of the "wrong" format?

Thanks,
casaout
0
Todor
Telerik team
answered on 19 May 2014, 06:42 AM
Hello,

When the application get's activated you should call OnApplicationActivated where we try to restore some of the information about the application which may have been lost when the application has been tombstoned. Since it doesn't happen every time, you may have not noticed the difference. The version is stored as string and we don't perform any checks for its format, so even if your version is "version 01" you shouldn't experience any issues.

I hope this information helps.

Regards,
Todor
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Diagnostics
Asked by
casaout
Top achievements
Rank 1
Answers by
Todor
Telerik team
casaout
Top achievements
Rank 1
Share this question
or