Skip to content

Commit

Permalink
v3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
mzsoliman committed Aug 22, 2014
1 parent 6e7d5a5 commit 7f90bf3
Show file tree
Hide file tree
Showing 191 changed files with 195 additions and 61 deletions.
Binary file modified Instabug.bundle/IBG-FloatingButton.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Instabug.bundle/IBG-LogoColored@2x~ipad.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Instabug.bundle/IBG-LogoColored@2x~iphone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Instabug.bundle/IBG-LogoColored~ipad.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Instabug.bundle/IBG-LogoColored~iphone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Instabug.bundle/IBG-T@2x~ipad.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Instabug.bundle/IBG-T@2x~iphone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Instabug.bundle/IBG-T~ipad.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Instabug.bundle/IBG-T~iphone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Instabug.bundle/IBG-color1@2x~ipad.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Instabug.bundle/IBG-color1@2x~iphone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Instabug.bundle/IBG-color1~ipad.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Instabug.bundle/IBG-color1~iphone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Instabug.bundle/IBG-color2@2x~ipad.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Instabug.bundle/IBG-color2@2x~iphone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Instabug.bundle/IBG-color2~ipad.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Instabug.bundle/IBG-color2~iphone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Instabug.bundle/IBG-color3@2x~ipad.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Instabug.bundle/IBG-color3@2x~iphone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Instabug.bundle/IBG-color3~ipad.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Instabug.bundle/IBG-color3~iphone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Instabug.bundle/IBG-color4@2x~ipad.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Instabug.bundle/IBG-color4@2x~iphone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Instabug.bundle/IBG-color4~ipad.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Instabug.bundle/IBG-color4~iphone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Instabug.bundle/IBG-color5@2x~ipad.png
Binary file modified Instabug.bundle/IBG-color5@2x~iphone.png
Binary file modified Instabug.bundle/IBG-color5~ipad.png
Binary file modified Instabug.bundle/IBG-color5~iphone.png
Binary file modified Instabug.bundle/IBG-color6@2x~ipad.png
Binary file modified Instabug.bundle/IBG-color6@2x~iphone.png
Binary file modified Instabug.bundle/IBG-color6~ipad.png
Binary file modified Instabug.bundle/IBG-color6~iphone.png
Binary file modified Instabug.bundle/IBG-colorContainer@2x~ipad.png
Binary file modified Instabug.bundle/IBG-colorContainer@2x~iphone.png
Binary file modified Instabug.bundle/IBG-colorContainer~ipad.png
Binary file modified Instabug.bundle/IBG-colorContainer~iphone.png
Binary file modified Instabug.bundle/IBG-delete@2x~ipad.png
Binary file modified Instabug.bundle/IBG-delete@2x~iphone.png
Binary file modified Instabug.bundle/IBG-delete~ipad.png
Binary file modified Instabug.bundle/IBG-delete~iphone.png
Binary file modified Instabug.bundle/IBG-pen@2x~ipad.png
Binary file modified Instabug.bundle/IBG-pen@2x~iphone.png
Binary file modified Instabug.bundle/IBG-pen~ipad.png
Binary file modified Instabug.bundle/IBG-pen~iphone.png
Binary file modified Instabug.bundle/IBG-selected1@2x~ipad.png
Binary file modified Instabug.bundle/IBG-selected1@2x~iphone.png
Binary file modified Instabug.bundle/IBG-selected1~ipad.png
Binary file modified Instabug.bundle/IBG-selected1~iphone.png
Binary file modified Instabug.bundle/IBG-selected2@2x~ipad.png
Binary file modified Instabug.bundle/IBG-selected2@2x~iphone.png
Binary file modified Instabug.bundle/IBG-selected2~ipad.png
Binary file modified Instabug.bundle/IBG-selected2~iphone.png
Binary file modified Instabug.bundle/IBG-selected3@2x~ipad.png
Binary file modified Instabug.bundle/IBG-selected3@2x~iphone.png
Binary file modified Instabug.bundle/IBG-selected3~ipad.png
Binary file modified Instabug.bundle/IBG-selected3~iphone.png
Binary file modified Instabug.bundle/IBG-selected4@2x~ipad.png
Binary file modified Instabug.bundle/IBG-selected4@2x~iphone.png
Binary file modified Instabug.bundle/IBG-selected4~ipad.png
Binary file modified Instabug.bundle/IBG-selected4~iphone.png
Binary file modified Instabug.bundle/IBG-selected5@2x~ipad.png
Binary file modified Instabug.bundle/IBG-selected5@2x~iphone.png
Binary file modified Instabug.bundle/IBG-selected5~ipad.png
Binary file modified Instabug.bundle/IBG-selected5~iphone.png
Binary file modified Instabug.bundle/IBG-selected6@2x~ipad.png
Binary file modified Instabug.bundle/IBG-selected6@2x~iphone.png
Binary file modified Instabug.bundle/IBG-selected6~ipad.png
Binary file modified Instabug.bundle/IBG-selected6~iphone.png
Binary file modified Instabug.bundle/IBG-tick@2x~ipad.png
Binary file modified Instabug.bundle/IBG-tick@2x~iphone.png
Binary file modified Instabug.bundle/IBG-tick~ipad.png
Binary file modified Instabug.bundle/IBG-tick~iphone.png
Binary file modified Instabug.bundle/IBGEdgeSwipe-1.png
Binary file modified Instabug.bundle/IBGEdgeSwipe-10.png
Binary file modified Instabug.bundle/IBGEdgeSwipe-11.png
Binary file modified Instabug.bundle/IBGEdgeSwipe-12.png
Binary file modified Instabug.bundle/IBGEdgeSwipe-13.png
Binary file modified Instabug.bundle/IBGEdgeSwipe-14.png
Binary file modified Instabug.bundle/IBGEdgeSwipe-15.png
Binary file modified Instabug.bundle/IBGEdgeSwipe-16.png
Binary file modified Instabug.bundle/IBGEdgeSwipe-17.png
Binary file modified Instabug.bundle/IBGEdgeSwipe-18.png
Binary file modified Instabug.bundle/IBGEdgeSwipe-19.png
Binary file modified Instabug.bundle/IBGEdgeSwipe-2.png
Binary file modified Instabug.bundle/IBGEdgeSwipe-20.png
Binary file modified Instabug.bundle/IBGEdgeSwipe-21.png
Binary file modified Instabug.bundle/IBGEdgeSwipe-22.png
Binary file modified Instabug.bundle/IBGEdgeSwipe-3.png
Binary file modified Instabug.bundle/IBGEdgeSwipe-4.png
Binary file modified Instabug.bundle/IBGEdgeSwipe-5.png
Binary file modified Instabug.bundle/IBGEdgeSwipe-6.png
Binary file modified Instabug.bundle/IBGEdgeSwipe-7.png
Binary file modified Instabug.bundle/IBGEdgeSwipe-8.png
Binary file modified Instabug.bundle/IBGEdgeSwipe-9.png
Binary file modified Instabug.bundle/IBGScreenshot-1.png
Binary file modified Instabug.bundle/IBGScreenshot-10.png
Binary file modified Instabug.bundle/IBGScreenshot-11.png
Binary file modified Instabug.bundle/IBGScreenshot-12.png
Binary file modified Instabug.bundle/IBGScreenshot-13.png
Binary file modified Instabug.bundle/IBGScreenshot-14.png
Binary file modified Instabug.bundle/IBGScreenshot-15.png
Binary file modified Instabug.bundle/IBGScreenshot-16.png
Binary file modified Instabug.bundle/IBGScreenshot-17.png
Binary file modified Instabug.bundle/IBGScreenshot-18.png
Binary file modified Instabug.bundle/IBGScreenshot-19.png
Binary file modified Instabug.bundle/IBGScreenshot-2.png
Binary file modified Instabug.bundle/IBGScreenshot-20.png
Binary file modified Instabug.bundle/IBGScreenshot-21.png
Binary file modified Instabug.bundle/IBGScreenshot-22.png
Binary file modified Instabug.bundle/IBGScreenshot-23.png
Binary file modified Instabug.bundle/IBGScreenshot-3.png
Binary file modified Instabug.bundle/IBGScreenshot-4.png
Binary file modified Instabug.bundle/IBGScreenshot-5.png
Binary file modified Instabug.bundle/IBGScreenshot-6.png
Binary file modified Instabug.bundle/IBGScreenshot-7.png
Binary file modified Instabug.bundle/IBGScreenshot-8.png
Binary file modified Instabug.bundle/IBGScreenshot-9.png
Binary file modified Instabug.bundle/IBGShake-1.png
Binary file modified Instabug.bundle/IBGShake-10.png
Binary file modified Instabug.bundle/IBGShake-11.png
Binary file modified Instabug.bundle/IBGShake-12.png
Binary file modified Instabug.bundle/IBGShake-13.png
Binary file modified Instabug.bundle/IBGShake-14.png
Binary file modified Instabug.bundle/IBGShake-15.png
Binary file modified Instabug.bundle/IBGShake-16.png
Binary file modified Instabug.bundle/IBGShake-17.png
Binary file modified Instabug.bundle/IBGShake-18.png
Binary file modified Instabug.bundle/IBGShake-19.png
Binary file modified Instabug.bundle/IBGShake-2.png
Binary file modified Instabug.bundle/IBGShake-20.png
Binary file modified Instabug.bundle/IBGShake-21.png
Binary file modified Instabug.bundle/IBGShake-22.png
Binary file modified Instabug.bundle/IBGShake-3.png
Binary file modified Instabug.bundle/IBGShake-4.png
Binary file modified Instabug.bundle/IBGShake-5.png
Binary file modified Instabug.bundle/IBGShake-6.png
Binary file modified Instabug.bundle/IBGShake-7.png
Binary file modified Instabug.bundle/IBGShake-8.png
Binary file modified Instabug.bundle/IBGShake-9.png
Binary file modified Instabug.bundle/IBGSwipe-1.png
Binary file modified Instabug.bundle/IBGSwipe-10.png
Binary file modified Instabug.bundle/IBGSwipe-11.png
Binary file modified Instabug.bundle/IBGSwipe-12.png
Binary file modified Instabug.bundle/IBGSwipe-13.png
Binary file modified Instabug.bundle/IBGSwipe-14.png
Binary file modified Instabug.bundle/IBGSwipe-15.png
Binary file modified Instabug.bundle/IBGSwipe-16.png
Binary file modified Instabug.bundle/IBGSwipe-17.png
Binary file modified Instabug.bundle/IBGSwipe-18.png
Binary file modified Instabug.bundle/IBGSwipe-19.png
Binary file modified Instabug.bundle/IBGSwipe-2.png
Binary file modified Instabug.bundle/IBGSwipe-20.png
Binary file modified Instabug.bundle/IBGSwipe-21.png
Binary file modified Instabug.bundle/IBGSwipe-22.png
Binary file modified Instabug.bundle/IBGSwipe-3.png
Binary file modified Instabug.bundle/IBGSwipe-4.png
Binary file modified Instabug.bundle/IBGSwipe-5.png
Binary file modified Instabug.bundle/IBGSwipe-6.png
Binary file modified Instabug.bundle/IBGSwipe-7.png
Binary file modified Instabug.bundle/IBGSwipe-8.png
Binary file modified Instabug.bundle/IBGSwipe-9.png
Binary file modified Instabug.bundle/IBGTutorial-1.png
Binary file modified Instabug.bundle/IBGTutorial-10.png
Binary file modified Instabug.bundle/IBGTutorial-11.png
Binary file modified Instabug.bundle/IBGTutorial-12.png
Binary file modified Instabug.bundle/IBGTutorial-13.png
Binary file modified Instabug.bundle/IBGTutorial-14.png
Binary file modified Instabug.bundle/IBGTutorial-15.png
Binary file modified Instabug.bundle/IBGTutorial-16.png
Binary file modified Instabug.bundle/IBGTutorial-17.png
Binary file modified Instabug.bundle/IBGTutorial-18.png
Binary file modified Instabug.bundle/IBGTutorial-19.png
Binary file modified Instabug.bundle/IBGTutorial-2.png
Binary file modified Instabug.bundle/IBGTutorial-20.png
Binary file modified Instabug.bundle/IBGTutorial-21.png
Binary file modified Instabug.bundle/IBGTutorial-22.png
Binary file modified Instabug.bundle/IBGTutorial-23.png
Binary file modified Instabug.bundle/IBGTutorial-3.png
Binary file modified Instabug.bundle/IBGTutorial-4.png
Binary file modified Instabug.bundle/IBGTutorial-5.png
Binary file modified Instabug.bundle/IBGTutorial-6.png
Binary file modified Instabug.bundle/IBGTutorial-7.png
Binary file modified Instabug.bundle/IBGTutorial-8.png
Binary file modified Instabug.bundle/IBGTutorial-9.png
Binary file modified Instabug.bundle/Info.plist
Binary file not shown.
2 changes: 1 addition & 1 deletion Instabug.bundle/Instabug_dsym_upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ echo "Instabug: Started uploading dSYM"

# Check to make sure the app token exists
if [ ! "${APP_TOKEN}" ]; then
APP_TOKEN=$(grep -r 'Instabug startWithToken:@\"[0-9a-zA-Z]*\"' ./ | grep -o '\"[0-9a-zA-Z]*\"' | cut -d "\"" -f 2)
APP_TOKEN=$(grep -r 'Instabug startWithToken:@\"[0-9a-zA-Z]*\"' ./ -m 1 | grep -o '\"[0-9a-zA-Z]*\"' | cut -d "\"" -f 2)
fi

if [ ! "${APP_TOKEN}" ] || [ -z "${APP_TOKEN}" ];then
Expand Down
236 changes: 182 additions & 54 deletions Instabug.framework/Versions/A/Headers/Instabug.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Copyright: (c) 2014 by Instabug, Inc., all rights reserved.
Version: 3.5
Version: 3.6
*/

//===========================================================================================================================================
Expand Down Expand Up @@ -38,6 +38,14 @@
//===========================================================================================================================================
/** @name SDK Pro Features */
//===========================================================================================================================================
/**
* Adds custom logs that will be sent with each report
*
* @param format format
* @param ... ...
*/
void IBGLog(NSString *format, ...);

/**
* Sets the user data that's attached with each bug report sent. Maximum size of the string is 1000 characters
* @param userData userData
Expand Down Expand Up @@ -79,7 +87,7 @@
//===========================================================================================================================================

//===========================================================================================================================================
/** @name SDK Parameters' Initialization */
/** @name SDK Functions Customization */
//===========================================================================================================================================
/**
* Sets the event that invocates the feedback form
Expand All @@ -89,14 +97,6 @@
*/
+ (void)setInvocationEvent:(IBGInvocationEvent)invocationEvent;

/**
* Sets the locale used to display the strings in the correct language
*
* Default is fetched from the device locale
* @param locale locale
*/
+ (void)setLocale:(IBGLocale)locale;

/**
* Sets whether to track the crashes in the app or not
*
Expand All @@ -122,13 +122,25 @@
+ (void)setIsTrackingUserSteps:(BOOL)isTrackingUserSteps;

/**
* Sets whether to show a screenshot to be annotated or not
* Sets whether to send the crash report immediatly on crash or not. When set to NO, the crash report is sent on the next app launch.
*
* Default = YES for bug reports, NO for feedback reports
* @param willShowScreenshotAnnotation willShowScreenshotAnnotation
* Default = NO
* @param sendCrashReportsImmendiatly sendCrashReportsImmendiatly
*/
+ (void)setWillShowScreenshotAnnotation:(BOOL)willShowScreenshotAnnotation;
+ (void)setWillSendCrashReportsImmendiatly:(BOOL)sendCrashReportsImmendiatly;

/**
* Sets the default value of the email field
*
* Default = @""
* @param defaultEmail defaultEmail
*/
+ (void)setDefaultEmail:(NSString *)defaultEmail;
//===========================================================================================================================================

//===========================================================================================================================================
/** @name SDK Experience Customization */
//===========================================================================================================================================
/**
* Sets the default SDK mode upon invocation
*
Expand All @@ -137,6 +149,14 @@
*/
+ (void)setDefaultInvocationMode:(IBGInvocationMode)invocationMode;

/**
* Sets whether to show a screenshot to be annotated or not
*
* Default = YES for bug reports, NO for feedback reports
* @param willShowScreenshotAnnotation willShowScreenshotAnnotation
*/
+ (void)setWillShowScreenshotAnnotation:(BOOL)willShowScreenshotAnnotation;

/**
* Sets the default value of whether to ask the user for an email or not
*
Expand All @@ -161,30 +181,6 @@
*/
+ (void)setCommentIsRequired:(BOOL)commentIsRequired;

/**
* Sets the default value of the email field
*
* Default = @""
* @param defaultEmail defaultEmail
*/
+ (void)setDefaultEmail:(NSString *)defaultEmail;

/**
* Sets the placeholder text of the email field
*
* Default = @"Enter your email..."
* @param emailPlaceholder emailPlaceholder
*/
+ (void)setEmailPlaceholder:(NSString *)emailPlaceholder;

/**
* Sets the placeholder text of the comment field
*
* Default = @"Enter your feedback..."
* @param commentPlaceholder commentPlaceholder
*/
+ (void)setCommentPlaceholder:(NSString *)commentPlaceholder;

/**
* Sets the default value of the tutorial alert, that gets shown on launching the first bug report
*
Expand All @@ -209,6 +205,22 @@
*/
+ (void)setWillShowFeedbackSentAlert:(BOOL)willShowFeedbackSentAlert;

/**
* Sets the default offset of the floating button from the top of the screen. Different orientations are already handled
*
* Default = 50
* @param floatingButtonOffsetFromTop floatingButtonOffsetFromTop
*/
+ (void)setFloatingButtonOffsetFromTop:(double)floatingButtonOffsetFromTop;

/**
* Sets the default edge at which the floating button will be shown. Use CGRectMaxXEdge(right) or CGRectMinXEdge(left). Different orientations are already handled
*
* Default = CGRectMaxXEdge
* @param floatingButtonEdge floatingButtonEdge
*/
+ (void)setFloatingButtonEdge:(CGRectEdge)floatingButtonEdge;

/**
* Sets the threshold value of the shake gesture on iPhone/iPod Touch
*
Expand All @@ -232,22 +244,6 @@
* @param willVibrateOnInvocation willVibrateOnInvocation
*/
+ (void)setWillVibrateOnInvocation:(BOOL)willVibrateOnInvocation;

/**
* Sets the default offset of the floating button from the top of the screen. Different orientations are already handled
*
* Default = 50
* @param floatingButtonOffsetFromTop floatingButtonOffsetFromTop
*/
+ (void)setFloatingButtonOffsetFromTop:(double)floatingButtonOffsetFromTop;

/**
* Sets the default edge at which the floating button will be shown. Use CGRectMaxXEdge(right) or CGRectMinXEdge(left). Different orientations are already handled
*
* Default = CGRectMaxXEdge
* @param floatingButtonEdge floatingButtonEdge
*/
+ (void)setFloatingButtonEdge:(CGRectEdge)floatingButtonEdge;
//===========================================================================================================================================

//===========================================================================================================================================
Expand Down Expand Up @@ -316,4 +312,136 @@
*/
+ (void)setFloatingButtonBackColor:(UIColor *)color;
//===========================================================================================================================================

//===========================================================================================================================================
/** @name SDK Strings Customization */
//===========================================================================================================================================
/**
* Sets the locale used to display the strings in the correct language
*
* Default is fetched from the device locale
* @param locale locale
*/
+ (void)setLocale:(IBGLocale)locale;

/**
* Sets the text displayed in the header and the action sheet representing bug reports
*
* Default = @"Report a bug"
* @param bugHeaderText bugHeaderText
*/
+ (void)setBugHeaderText:(NSString *)bugHeaderText;

/**
* Sets the text displayed in the header and the action sheet representing feedback reports
*
* Default = @"Send Feedback"
* @param feedbackHeaderText feedbackHeaderText
*/
+ (void)setFeedbackHeaderText:(NSString *)feedbackHeaderText;

/**
* Sets the placeholder text of the email field
*
* Default = @"Enter your email..."
* @param emailPlaceholder emailPlaceholder
*/
+ (void)setEmailPlaceholder:(NSString *)emailPlaceholder;

/**
* Sets the placeholder text of the comment field
*
* Default = @"Enter your feedback..."
* @param commentPlaceholder commentPlaceholder
*/
+ (void)setCommentPlaceholder:(NSString *)commentPlaceholder;

/**
* Sets the text displayed in the alert shown on startup
*
* Default = @"Shake to send feedback"
* @param startAlertText startAlertText
*/
+ (void)setStartAlertText:(NSString *)startAlertText;

/**
* Sets the text displayed in the alert shown on sending the first report
*
* Default = @"Draw on screenshot then add text"
* @param tutorialAlertText tutorialAlertText
*/
+ (void)setTutorialAlertText:(NSString *)tutorialAlertText;

/**
* Sets the title displayed in the alert shown after sending reports
*
* Default = @"Feedback Sent"
* @param feedbackSentAlertTitle feedbackSentAlertTitle
*/
+ (void)setFeedbackSentAlertTitle:(NSString *)feedbackSentAlertTitle;

/**
* Sets the text displayed in the alert shown after sending reports
*
* Default = @"Thank you for helping us improve <App Name>!"
* @param feedbackSentAlertText feedbackSentAlertText
*/
+ (void)setFeedbackSentAlertText:(NSString *)feedbackSentAlertText;

/**
* Sets the title displayed in the alert shown when an invalid email is entered, and the email field is required
*
* Default = @"Invalid Email"
* @param invalidEmailAlertTitle invalidEmailAlertTitle
*/
+ (void)setInvalidEmailAlertTitle:(NSString *)invalidEmailAlertTitle;

/**
* Sets the text displayed in the alert shown when an invalid email is entered, and the email field is required
*
* Default = @"Please enter a valid email"
* @param invalidEmailAlertText invalidEmailAlertText
*/
+ (void)setInvalidEmailAlertText:(NSString *)invalidEmailAlertText;

/**
* Sets the title displayed in the alert shown when no comment is entered, and the comment field is required
*
* Default = @"Invalid Comment"
* @param invalidCommentAlertTitle invalidCommentAlertTitle
*/
+ (void)setInvalidCommentAlertTitle:(NSString *)invalidCommentAlertTitle;

/**
* Sets the text displayed in the alert shown when no comment is entered, and the comment field is required
*
* Default = @"Please enter a valid comment"
* @param invalidCommentAlertText invalidCommentAlertText
*/
+ (void)setInvalidCommentAlertText:(NSString *)invalidCommentAlertText;

/**
* Sets the text of the OK button that dismisses alerts
*
* Default = @"OK"
* @param okButtonText okButtonText
*/
+ (void)setOkButtonText:(NSString *)okButtonText;

/**
* Sets the text of the submit button that sends reports
*
* Default = @"Send"
* @param submitButtonText submitButtonText
*/
+ (void)setSubmitButtonText:(NSString *)submitButtonText;

/**
* Sets the text of the cancel button that dismisses sending reports
*
* Default = @"Cancel"
* @param cancelButtonText cancelButtonText
*/
+ (void)setCancelButtonText:(NSString *)cancelButtonText;
//===========================================================================================================================================
@end
Binary file modified Instabug.framework/Versions/A/Instabug
Binary file not shown.
4 changes: 2 additions & 2 deletions Instabug.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "Instabug"
s.version = "3.5"
s.version = "3.6"
s.summary = "Bug reporting for mobile apps. Learn more at http://instabug.com"
s.homepage = "http://instabug.com"
s.license = {
Expand All @@ -23,7 +23,7 @@ Pod::Spec.new do |s|
}
s.author = { "Instabug" => "contactus@instabug.com" }
s.platform = :ios, '5.0'
s.source = { :git => "https://github.com/Instabug/Instabug-iOS.git", :tag => "3.5" }
s.source = { :git => "https://github.com/Instabug/Instabug-iOS.git", :tag => "3.6" }
s.source_files = 'Instabug.framework/Versions/A/Headers/*.{h}'
s.resources = 'Instabug.bundle'
s.preserve_paths = 'Instabug.framework/*', 'Instabug.bundle'
Expand Down
14 changes: 10 additions & 4 deletions add_instabug_build_script.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,16 @@

unless project_path.first.nil?
project = Xcodeproj::Project.open(project_path.first)
main_target = project.targets.first
phase = main_target.new_shell_script_build_phase(INSTABUG_PHASE_NAME)
phase.shell_script = INSTABUG_PHASE_SCRIPT
project.save()
targets = project.targets

targets.each do |target|
if target.product_type == "com.apple.product-type.application" or target.product_type == "com.apple.product-type.app-extension"
phase = target.new_shell_script_build_phase(INSTABUG_PHASE_NAME)
phase.shell_script = INSTABUG_PHASE_SCRIPT
project.save()
end
end

break
end

Expand Down

0 comments on commit 7f90bf3

Please sign in to comment.