Skip to content

Commit 2ffd7b0

Browse files
committed
Merge pull request #309 from segmentio/use-localized-info-dictionary
Use Localized Info Dictionary. Closes #278
2 parents 098bbec + 88b0d36 commit 2ffd7b0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Analytics.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -736,6 +736,8 @@
736736
D3D35174186242B4005586E7 /* Headers */ = {
737737
isa = PBXGroup;
738738
children = (
739+
6EB809551AFC136D00959050 /* AMPURLConnection.h */,
740+
6EB809531AFC135E00959050 /* Amplitude+SSLPinning.h */,
739741
32AFA6171A9E98CF00C2AF3E /* Localytics.h */,
740742
324258AF1A9D0FD900E03A28 /* NSError+SimpleConstructor.h */,
741743
324258AD1A9D0FD300E03A28 /* NSDictionary+Merge.h */,
@@ -1096,8 +1098,6 @@
10961098
F7200B6A17659B2F003F3138 = {
10971099
isa = PBXGroup;
10981100
children = (
1099-
6EB809551AFC136D00959050 /* AMPURLConnection.h */,
1100-
6EB809531AFC135E00959050 /* Amplitude+SSLPinning.h */,
11011101
F7200B7817659B2F003F3138 /* Analytics */,
11021102
EA722AF617C87BB00016E8B0 /* AnalyticsTests */,
11031103
F7200B7517659B2F003F3138 /* Frameworks */,

Analytics/Integrations/Segmentio/SEGSegmentioIntegration.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ - (NSDictionary *)staticContext {
107107

108108
dict[@"library"] = @{ @"name": @"analytics-ios", @"version": SEGStringize(ANALYTICS_VERSION) };
109109

110-
NSDictionary *infoDictionary = [[NSBundle mainBundle] infoDictionary];
110+
NSDictionary *infoDictionary = [[NSBundle mainBundle] localizedInfoDictionary];
111111
if (infoDictionary.count) {
112112
dict[@"app"] = @{
113113
@"name": infoDictionary[@"CFBundleDisplayName"] ?: @"",

0 commit comments

Comments
 (0)