summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--platform/ios/src/MGLAccountManager.m5
1 files changed, 3 insertions, 2 deletions
diff --git a/platform/ios/src/MGLAccountManager.m b/platform/ios/src/MGLAccountManager.m
index 9b60a40986..764f9f097b 100644
--- a/platform/ios/src/MGLAccountManager.m
+++ b/platform/ios/src/MGLAccountManager.m
@@ -1,5 +1,6 @@
#import "MGLAccountManager_Private.h"
#import "MGLMapboxEvents.h"
+#import "NSBundle+MGLAdditions.h"
#import "NSProcessInfo+MGLAdditions.h"
#import "FABKitProtocol.h"
@@ -70,11 +71,11 @@
#pragma mark - Fabric
+ (NSString *)bundleIdentifier {
- return @"com.mapbox.sdk.ios";
+ return [NSBundle mgl_frameworkBundle].bundleIdentifier;
}
+ (NSString *)kitDisplayVersion {
- return @"3.0.1";
+ return [NSBundle mgl_frameworkBundle].infoDictionary[@"CFBundleShortVersionString"];
}
+ (void)initializeIfNeeded {