diff options
author | Ilya Grechuhin <i.grechuhin@gmail.com> | 2017-07-12 18:54:40 +0300 |
---|---|---|
committer | Vlad Mihaylenko <vxmihaylenko@gmail.com> | 2017-07-12 18:58:58 +0300 |
commit | 52e35537bcbeac4556c5dc76859297f3726bb781 (patch) | |
tree | a497b3d9d8790d4f4d4c1811042e197e375acc3f | |
parent | 1cc66130003c65f093862517f374d1569cea0f05 (diff) |
[release-74-statistics] [ios] Fixed app version to Flurry logging.beta-907
-rw-r--r-- | iphone/Maps/Common/Statistics/Statistics.mm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/iphone/Maps/Common/Statistics/Statistics.mm b/iphone/Maps/Common/Statistics/Statistics.mm index 33117a97b5..f9449b3fd4 100644 --- a/iphone/Maps/Common/Statistics/Statistics.mm +++ b/iphone/Maps/Common/Statistics/Statistics.mm @@ -38,7 +38,9 @@ void checkFlurryLogStatus(FlurryEventRecordStatus status) // _enabled should be already correctly set up in init method. if ([MWMSettings statisticsEnabled]) { - [Flurry startSession:@(FLURRY_KEY)]; + auto sessionBuilder = [[[FlurrySessionBuilder alloc] init] + withAppVersion:[AppInfo sharedInfo].bundleVersion]; + [Flurry startSession:@(FLURRY_KEY) withSessionBuilder:sessionBuilder]; [Flurry logAllPageViewsForTarget:application.windows.firstObject.rootViewController]; [MRMyTracker createTracker:@(MY_TRACKER_KEY)]; |