Raygun Feature Request

Feature Request

iOS App Version/Build in Reporting

Current Status:

Completed


Avatar

Jason

Hi there, perhaps I'm overlooking something in the error log. But I couldn't find anywhere (I would have guessed in "Environment" tab) in errors where the iOS App version/build is. Due to the nature of iOS upgrades, users could have postponed or altogether stopped updates to the app. Below is code I use to determine version/build:

 NSString *version = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"];
 NSString *build = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleVersion"];

This info would be extremely helpful in the error report. Thanks!


Avatar

Raygun

Jason Fauchelle

Posted on
Jun 25 2014

Hello Jason

The version number should be displayed in the Summary tab. If it is not there, you may have an older version of the Raygun4iOS provider. You can find the latest version of Raygun4iOS (v 1.2.1) from here: https://raygun.io/raygun-providers/ios

Update this in your application and you should then see the version number for new error reports in the Summary tab as well as the Raw Details tab.

-Jason Fauchelle

Avatar

Cara

Posted on
Jun 25 2015

Hi there

I noticed that some of your client libraries (including Android) allow the app to set the version explicitly, but haven't been able to find the same on iOS (version 2.1.0). Am I missing something, or is this not yet available for iOS?

We've just set up Raygun Deployments, and would like to have the version that the app is sending match those sent to the deployments API from our build server.

Thanks, Cara

Avatar

Raygun

Jason Fauchelle

Posted on
Jun 29 2015

Hi Cara,

Setting the version in Raygun4iOS is not yet possible. I've added this to our list of possible additions for the next version. We typically have a monthly release cycle for Raygun4iOS. Version 2.1.0 was recently shipped, so it will be about a month before this feature will be available. We'll certainly get back to you when it is.

-Jason Fauchelle

Avatar

Raygun

Jason Fauchelle

Posted on
Feb 11 2016

Raygun4iOS 2.2.0 now has the option to specify the application version. This can be done as follows:

[[Raygun sharedReporter] setApplicationVersion:@"1.2 (3.4)"];