Skip to content

Commit

Permalink
Mapbox Mobile Events - 0.9.4 (#135)
Browse files Browse the repository at this point in the history
Mapbox Mobile Events - 0.9.4
* `make name-header`
* `pod lib lint` fix
* Update version to 0.9.4
  • Loading branch information
Alf Watt authored Jun 6, 2019
1 parent 32316c0 commit 9f1be0c
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 20 deletions.
2 changes: 1 addition & 1 deletion MapboxMobileEvents.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Pod::Spec.new do |s|
# ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #

s.name = 'MapboxMobileEvents'
s.version = "0.9.3"
s.version = "0.9.4"
s.summary = "Mapbox Mobile Events"

s.description = "Collects usage information to help Mapbox improve its products."
Expand Down
2 changes: 1 addition & 1 deletion MapboxMobileEvents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>0.9.3</string>
<string>0.9.4</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
</dict>
Expand Down
6 changes: 5 additions & 1 deletion MapboxMobileEvents/MMEEvent.m
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,11 @@ + (instancetype)crashEventReporting:(NSError *)eventsError error:(NSError **)cre
// start with common event data
NSMutableDictionary *crashAttributes = MMECommonEventData.commonEventData;
crashAttributes[MMEEventKeyEvent] = MMEEventMobileCrash;
crashAttributes[MMEEventKeyBuildType] = (DEBUG ? @"debug" : @"release");
#if DEBUG
crashAttributes[MMEEventKeyBuildType] = @"debug";
#else
crashAttributes[MMEEventKeyBuildType] = @"release";
#endif
crashAttributes[MMEEventKeyIsSilentCrash] = @"yes";
crashAttributes[MMEEventSDKIdentifier] = [NSString stringWithFormat:@"%@-%@",
MMEEventsManager.sharedManager.userAgentBase,
Expand Down
16 changes: 0 additions & 16 deletions MapboxMobileEvents/MMENamespacedDependencies.h
Original file line number Diff line number Diff line change
Expand Up @@ -801,22 +801,6 @@
#define MMELoggerShareableHTML __NS_SYMBOL(MMELoggerShareableHTML)
#endif

#ifndef MMENoError
#define MMENoError __NS_SYMBOL(MMENoError)
#endif

#ifndef MMEErrorMin
#define MMEErrorMin __NS_SYMBOL(MMEErrorMin)
#endif

#ifndef MMEErrorException
#define MMEErrorException __NS_SYMBOL(MMEErrorException)
#endif

#ifndef MMEErrorEventInit
#define MMEErrorEventInit __NS_SYMBOL(MMEErrorEventInit)
#endif

#ifndef kMMEMaxRequestCount
#define kMMEMaxRequestCount __NS_SYMBOL(kMMEMaxRequestCount)
#endif
Expand Down
2 changes: 1 addition & 1 deletion resources/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>0.9.3</string>
<string>0.9.4</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>NSHumanReadableCopyright</key>
Expand Down

0 comments on commit 9f1be0c

Please sign in to comment.