Skip to content

Commit 8c1b3fe

Browse files
author
Instabug
committed
v1.2
1 parent f8adbf7 commit 8c1b3fe

File tree

19 files changed

+55
-16
lines changed

19 files changed

+55
-16
lines changed
54.3 KB
Loading
Binary file not shown.
Binary file not shown.
70 Bytes
Binary file not shown.
100 Bytes
Binary file not shown.
52 Bytes
Binary file not shown.
108 Bytes
Binary file not shown.
112 Bytes
Binary file not shown.
52 Bytes
Binary file not shown.
56 Bytes
Binary file not shown.
98 Bytes
Binary file not shown.
98 Bytes
Binary file not shown.
116 Bytes
Binary file not shown.
74 Bytes
Binary file not shown.
42 Bytes
Binary file not shown.
42 Bytes
Binary file not shown.

Instabug.framework/Versions/A/Headers/Instabug.h

Lines changed: 53 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Copyright: (c) 2013 by Instabug, Inc., all rights reserved.
77
8-
Version: 1.1.2
8+
Version: 1.2
99
*/
1010

1111
//=============================================================================================
@@ -32,12 +32,16 @@
3232
3333
@constant InstabugFeedbackEventNone
3434
No event will be registered to show the feedback form, you'll need to code your own and call the function ShowFeedbackForm
35+
36+
@constant InstabugFeedbackEventFloatingButton
37+
Shows a floating button on top of all views, when pressed it takes a screenshot
3538
*/
3639
typedef enum{
3740
InstabugFeedbackEventShake,
3841
InstabugFeedbackEventScreenshot,
3942
InstabugFeedbackEventThreeFingersSwipe,
40-
InstabugFeedbackEventNone
43+
InstabugFeedbackEventNone,
44+
InstabugFeedbackEventFloatingButton
4145
} InstabugFeedbackEvent;
4246

4347
/*!
@@ -122,9 +126,6 @@ typedef enum{
122126
//=============================================================================================
123127

124128

125-
126-
127-
128129
@interface Instabug : NSObject
129130

130131
//=============================================================================================
@@ -145,9 +146,6 @@ typedef enum{
145146
//=============================================================================================
146147

147148

148-
149-
150-
151149
//=============================================================================================
152150
// Other options to show the feedback form
153151
//=============================================================================================
@@ -177,9 +175,6 @@ typedef enum{
177175
//=============================================================================================
178176

179177

180-
181-
182-
183178
//=============================================================================================
184179
// Sets the SDK parameters
185180
//=============================================================================================
@@ -207,6 +202,23 @@ typedef enum{
207202
*/
208203
+(void)setEmail:(NSString*) email;
209204

205+
/*!
206+
@method setiPhoneShakingThreshold
207+
@discussion Sets the threshold value of the shake gesture on iPhone/iPod Touch. The default value is 2.5
208+
*/
209+
+(void)setiPhoneShakingThreshold:(double) iPhoneShakingThreshold;
210+
211+
/*!
212+
@method setiPadShakingThreshold
213+
@discussion Sets the threshold value of the shake gesture on iPad. The default value is 0.6
214+
*/
215+
+(void)setiPadShakingThreshold:(double) iPadShakingThreshold;
216+
//=============================================================================================
217+
218+
219+
//=============================================================================================
220+
// Sets the alerts parameters
221+
//=============================================================================================
210222
/*!
211223
@method setEmailIsRequired
212224
@discussion Sets the value of whether the email field is required or not
@@ -219,6 +231,18 @@ typedef enum{
219231
*/
220232
+(void)setEmailInvalidText:(NSString*) emailInvalidText;
221233

234+
/*!
235+
@method setCommentIsRequired
236+
@discussion Sets the value of whether the comment field is required or not
237+
*/
238+
+(void)setCommentIsRequired:(BOOL) commentIsRequired;
239+
240+
/*!
241+
@method setCommentInvalidText
242+
@discussion Sets the comment invalid alert text, shown if no comment was entered
243+
*/
244+
+(void)setCommentInvalidText:(NSString*) commentInvalidText;
245+
222246
/*!
223247
@method setShowStartAlert
224248
@discussion Sets the default value of the start alert, whether to show it or not
@@ -242,10 +266,13 @@ typedef enum{
242266
@discussion Sets the thank you alert text, that gets shown after sending a feedback
243267
*/
244268
+(void)setThankYouAlertText:(NSString*) thankYouAlertText;
245-
//=============================================================================================
246-
247-
248269

270+
/*!
271+
@method setAlertsTitle
272+
@discussion Sets the title of all future alerts
273+
*/
274+
+(void)setAlertsTitle:(NSString*) alertsTitle;
275+
//=============================================================================================
249276

250277

251278
//=============================================================================================
@@ -292,5 +319,17 @@ typedef enum{
292319
@discussion Sets the email, comment and footer font color
293320
*/
294321
+(void)setTextFontColor:(UIColor*) color;
322+
323+
/*!
324+
@method setFloatingButtonForeColor
325+
@discussion Sets the fore color of the floating button, if the floating button is selected
326+
*/
327+
+(void)setFloatingButtonForeColor:(UIColor*) color;
328+
329+
/*!
330+
@method setFloatingButtonBackColor
331+
@discussion Sets the back color of the floating button, if the floating button is selected
332+
*/
333+
+(void)setFloatingButtonBackColor:(UIColor*) color;
295334
//=============================================================================================
296335
@end
1.37 MB
Binary file not shown.

Instabug.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "Instabug"
3-
s.version = "1.1.2"
3+
s.version = "1.2"
44
s.summary = "Bug reporting for mobile apps. Learn more at http://instabug.com"
55
s.homepage = "http://instabug.com"
66
s.license = {
@@ -23,7 +23,7 @@ Pod::Spec.new do |s|
2323
}
2424
s.author = { "Instabug" => "[email protected]" }
2525
s.platform = :ios, '5.0'
26-
s.source = { :git => "https://github.com/Instabug/Instabug-iOS.git", :tag => "1.1.2" }
26+
s.source = { :git => "https://github.com/Instabug/Instabug-iOS.git", :tag => "1.2" }
2727
s.source_files = 'Instabug.framework/Versions/A/Headers/*.{h}'
2828
s.resources = 'Instabug.bundle'
2929
s.preserve_paths = 'Instabug.framework/*', 'Instabug.bundle'

0 commit comments

Comments
 (0)