RadDiagnostics: App Version Number is empty

4 posts, 0 answers
  1. casaout
    casaout avatar
    2 posts
    Member since:
    Mar 2014

    Posted 07 May 2014 Link to this post

    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!
  2. Todor
    Admin
    Todor avatar
    778 posts

    Posted 10 May 2014 Link to this post

    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.

     
  3. DevCraft banner
  4. casaout
    casaout avatar
    2 posts
    Member since:
    Mar 2014

    Posted 15 May 2014 in reply to Todor Link to this post

    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
  5. Todor
    Admin
    Todor avatar
    778 posts

    Posted 19 May 2014 Link to this post

    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.

     
Back to Top