0
  • I have an iOS app that uses the official iOS Flurry SDK.
  • I need it to report the 'version' in flurry as a custom string that I define.
  • Currently, events in the app are reported as a version number, like 1.0.0, 1.0.6 (I'm not sure what this even represents, obviously it's not the iOS version):

enter image description here

  • I need to report this as 'iphone' or 'ipad' based on which device is being used. I can detect whether the device is iphone or ipad, but how do I set the version number that gets sent to Flurry?

I can do this in the Flurry Android SDK by using FlurryAgent.SetVersionName, however there seems to be no equivalent in iOS. I've tried using the 'setAppVersion' method but it doesn't work.

Chris Halcrow
  • 28,994
  • 18
  • 176
  • 206

1 Answers1

2

The iOS function for setting the version is setAppVersion. This needs to be called before the Flurry session begins. Here is the documentation.

Clay Bridges
  • 11,602
  • 10
  • 68
  • 118
Hunter
  • 579
  • 3
  • 8