Skip to content

Commit c3d910d

Browse files
committed
v0.3.13
1 parent 99a09d0 commit c3d910d

File tree

8 files changed

+606
-13
lines changed

8 files changed

+606
-13
lines changed

CrashOps.podspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ Pod::Spec.new do |s|
1616
#
1717

1818
s.name = "CrashOps"
19-
s.version = "0.3.12"
20-
s.summary = "CrashOps monitors your app's stability and vulnerability."
19+
s.version = "0.3.13"
20+
s.summary = "CrashOps lets you monitor your app's stability and vulnerability by giving you error and crash reports, supported by CrashOps servers."
2121

2222
# This description is used to generate tags and improve search results.
2323
# * Think: What does it do? Why did you write it? What is the focus?
2424
# * Try to keep it short, snappy and to the point.
2525
# * Write the description between the DESC delimiters below.
2626
# * Finally, don't worry about the indent, CocoaPods strips it!
27-
s.description = "CrashOps lets you monitor your app's stability and vulnerability by giving you error and crash reports, supported by CrashOps servers."
27+
s.description = "CrashOps lets you monitor your app's stability and vulnerability, by giving you error and crash reports, with a supporting platform by CrashOps servers."
2828

2929
s.homepage = "https://github.com/CrashOps/iOS-SDK"
3030
# s.screenshots = "www.example.com/screenshots_1.gif", "www.example.com/screenshots_2.gif"
@@ -87,7 +87,7 @@ Pod::Spec.new do |s|
8787
# Not including the public_header_files will make all headers public.
8888
#
8989

90-
s.source_files = "CrashOps/**/*.{swift,h,m,mm,c,cpp}"
90+
s.source_files = "CrashOps/**/*.{swift,m,mm,c,h,cpp}"
9191
# s.exclude_files = "Classes/Exclude"
9292

9393
# s.public_header_files = "CrashOps/**/*.h"

CrashOps/Facade/CrashOps.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ typedef void(^PreviousReportsHandler)(NSArray *reports);
8787
/**
8888
* Logs non-fatal errors.
8989
*/
90-
-(BOOL) logError:(NSDictionary *) errorDetails;
90+
-(BOOL) logErrorWithTitle:(NSString *) errorTitle andDetails:(NSDictionary *) errorDetails;
9191

9292
+(BOOL) isRunningOnDebugMode;
9393

CrashOps/Facade/CrashOps.m

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ - (void)throwException {
7272
[NSException raise:@"CrashOps test exception" format: @""];
7373
}
7474

75-
- (BOOL) logError:(NSDictionary *)errorDetails {
76-
return [((CrashOpsController *)([CrashOpsController performSelector: @selector(shared)])) logError: [NSDictionary dictionaryWithDictionary: errorDetails]];
75+
- (BOOL) logErrorWithTitle:(NSString *) errorTitle andDetails:(NSDictionary *) errorDetails {
76+
return [((CrashOpsController *)([CrashOpsController performSelector: @selector(shared)])) logErrorWithTitle: errorTitle andDetails: [NSDictionary dictionaryWithDictionary: errorDetails]];
7777
}
7878

7979
+(BOOL)isRunningOnDebugMode {
@@ -85,7 +85,7 @@ +(BOOL)isRunningOnDebugMode {
8585
}
8686

8787
+ (NSString *)sdkVersion {
88-
return @"0.3.12";
88+
return @"0.3.13";
8989
}
9090

9191
- (void) crash {
@@ -152,7 +152,7 @@ +(void)initialize {
152152
@end
153153

154154
//! Project version number for CrashOps.
155-
//double CrashOpsVersionNumber = 0.0312;
155+
//double CrashOpsVersionNumber = 0.0313;
156156

157157
//! Project version string for CrashOps.
158-
//const unsigned char CrashOpsVersionString[] = "0.03.12";
158+
//const unsigned char CrashOpsVersionString[] = "0.03.13";

CrashOps/Logic/ModulesAnalytics.h

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
//
2+
// ModulesAnalytics.h
3+
// CrashOps
4+
//
5+
// Created by CrashOps on 02/12/2020.
6+
// Copyright © 2020 CrashOps. All rights reserved.
7+
//
8+
9+
#import <Foundation/Foundation.h>
10+
#import "CrashOpsController.h"
11+
12+
/**
13+
A private class that is responsible for modules / frameworks analytics.
14+
*/
15+
@interface ModulesAnalytics: NSObject
16+
17+
+(void) initiateWithController:(CrashOpsController *) controller;
18+
+(NSMutableURLRequest *) prepareRequestWithBody:(NSDictionary *) bodyDictionary forEndpoint: (NSString *) apiEndpoint;
19+
20+
@end

0 commit comments

Comments
 (0)