diff --git a/README.md b/README.md index 3719015..0ba6d75 100644 --- a/README.md +++ b/README.md @@ -7,17 +7,18 @@ ### Mostly automatic installation -`$ react-native link instabug-reactnative` +`$ rnpm link instabug-reactnative` ### Manual installation #### iOS -1. In XCode, in the project navigator, right click `Libraries` ➜ `Add Files to [your project's name]` -2. Go to `node_modules` ➜ `instabug-reactnative` and add `RNInstabugReactnative.xcodeproj` -3. In XCode, in the project navigator, select your project. Add `libRNInstabugReactnative.a` to your project's `Build Phases` ➜ `Link Binary With Libraries` -4. Run your project (`Cmd+R`)< +1. Open your app `.xcodeproj` file +2. Add `instabug.framework` and `instabug.bundle` from 'instabug-reactnative/ios' to the app project directory. +3. In XCode, in the project navigator, select your project. Add `instabug.framework` to your project's `Build Phases` ➜ `Link Binary With Libraries` +4. 3. In XCode, in the project navigator, select your project. Add `instabug.bundle` to your project's `Build Phases` ➜ `Copy Bundle Resources` +5. Run your project (`Cmd+R`)< #### Android @@ -34,13 +35,17 @@ compile project(':instabug-reactnative') ``` - ## Usage ```javascript import RNInstabugReactnative from 'instabug-reactnative'; -// TODO: What do with the module? -RNInstabugReactnative; +class testApp extends Component { + constructor() { + super(); + Instabug.startWithToken('0f0dc916bd9175e3b5d2fdf0cfa49a69', Instabug.IBGConstants.invocationEvent.FloatingButton); + } + ... +} ``` ## License diff --git a/index.js b/index.android.js similarity index 100% rename from index.js rename to index.android.js diff --git a/index.ios.js b/index.ios.js new file mode 100644 index 0000000..f3302c4 --- /dev/null +++ b/index.ios.js @@ -0,0 +1,227 @@ +/** + * Sample React Native App + * https://github.com/facebook/react-native + * @flow + */ + +import { NativeModules } from 'react-native'; + +let {Instabug} = NativeModules; + +module.exports = { + startWithToken: function(toke, invocationEvent) { + Instabug.startWithToken(token, invocationEvent); + }, + + invoke: function() { + Instabug.invoke(); + }, + + invokeWithInvocationMode: function(invocationMode) { + Instabug.invokeWithInvocationMode(invocationMode); + }, + + dismiss: function () { + Instabug.dismiss(); + }, + + setFileAttachment: function(fileLocation) { + Instabug.setFileAttachment(fileLocation); + }, + + setUserData: function(userData) { + Instabug.setUserData(userData); + }, + + IBGLog: function(log) { + Instabug.IBGLog(log); + }, + + setUserStepsEnabled: function(isUserStepsEnabled) { + Instabug.setUserStepsEnabled(isUserStepsEnabled); + }, + + setPreSendingHandler: function(handler) { + Instabug.setPreSendingHandler(handler); + }, + + setPreInvocationHandler: function(handler) { + Instabug.setPreInvocationHandler(handler); + }, + + setPostInvocatioHandler: function(handler) { + Instabug.setPostInvocatioHandler(handler); + }, + + showIntroMessage: function() { + Instabug.showIntroMessage(); + }, + + setUserEmail: function(userEmail) { + Instabug.setUserEmail(userEmail); + }, + + setUserName: function(userName) { + Instabug.setUserName(userName); + }, + + setWillSkipScreenshotAnnotation: function(willSkipeScreenshotAnnotation) { + Instabug.setWillSkipScreenshotAnnotation(willSkipeScreenshotAnnotation); + }, + + getUnreadMessagesCount: function() { + var count = 0; + returnCallBack = function(response) { + count = response; + } + + Instabug.getUnreadMessagesCount(returnCallBack); + + return count; + }, + + setInvocationEvent: function(invocationEvent) { + Instabug.setInvocationEvent(invocationEvent); + }, + + setPushNotificationsEnabled: function(isPushNotificationEnabled) { + Instabug.setPushNotificationsEnabled(isPushNotificationEnabled); + }, + + setEmailFieldRequired: function(isEmailFieldRequired) { + Instabug.setEmailFieldRequired(isEmailFieldRequired); + }, + + setCommentFieldRequired: function(isCommentFieldRequired) { + Instabug.setCommentFieldRequired(isCommentFieldRequired); + }, + + setShakingThresholdForiPhone: function(iphoneThreshold, ipadThreshold) { + Instabug.setShakingThresholdForiPhone(iphoneThreshold, ipadThreshold); + }, + + setFloatingButtonEdge: function(floatingButtonEdge, offsetFromTop) { + Instabug.setFloatingButtonEdge(floatingButtonEdge, offsetFromTop); + }, + + setLocal: function(local) { + Instabug.setLocal(local); + }, + + setIntroMessageEnabled: function(isIntroMessageEnabled) { + Instabug.setIntroMessageEnabled(isIntroMessageEnabled); + }, + + setColorTheme: function(colorTheme) { + Instabug.setColorTheme(colorTheme); + }, + + // Make sure to test it + setPrimaryColor: function(primaryColor) { + Instabug.setPrimaryColor(primaryColor); + }, + + addTags: function(tags) { + Instabug.addTags(tags); + }, + + // TODO: research this: vvvv + // + (void)setScreenshotCapturingHandler:(UIImage *(^)())screenshotCapturingHandler; + + resetTags: function () { + Instabug.resetTags(); + }, + + getTags: function() { + var tags = []; + returnCallBack = function(response) { + tags = response; + } + + Instabug.getUnreadMessagesCount(returnCallBack); + + return tags; + }, + + setStringToKey: function(string, key) { + Instabug.setString(string, key); + } + + replaceKeyWithString: function(string, key) { + Instabug.setString(string, key); + }, + + // TODO: investigate doing it in more like JS pattern + setAttachmentTypesEnabled: function(screenshot, extraScreenshot, galleryImage, screenRecording) { + Instabug.setAttachmentTypesEnabledScreenShot(screenshot, extraScreenshot, galleryImage, screenRecording); + }, + + setChatNotificationEnabled: function(isChatNotificationEnabled) { + Instabug.setChatNotificationEnabled(isChatNotificationEnabled); + }, + +// TODO: investigate doing it in more like JS pattern + setPromptOptions: function(isBugReportingEnabled, isFeedbackReportingEnabled, isChatEnabled) { + Instabug.setPromptOptionsEnabledWithBug(isBugReportingEnabled, isFeedbackReportingEnabled, isChatEnabled); + }, + + isInstabugNotification: function(notification) { + var ibgNotifcation = false; + returnCallBack = function(response) { + ibgNotifcation = response; + } + + Instabug.isInstabugNotification(returnCallBack); + + return ibgNotifcation; + }, + + IBGConstants: { + invocationEvent: { + None: Instabug.invocationEventNone, + Shake: Instabug.invocationEventShake, + Screenshot: Instabug.invocationEventScreenshot, + TwoFingersSwipe: Instabug.invocationEventTwoFingersSwipe, + RightEdgePan: Instabug.invocationEventRightEdgePan, + FloatingButton: Instabug.invocationEventFloatingButton + }, + dismissType: { + Submit: Instabug.dismissTypeSubmit, + Cancel: Instabug.dismissTypeCancel, + AddAttachment: Instabug.dismissTypeAddAttachment + }, + reportType: { + Bug: Instabug.reportTypeBug, + Feedback: Instabug.reportTypeFeedback + }, + invocationMode: { + NA: Instabug.invocationModeNA, + NewBug: Instabug.invocationModeNewBug, + NewFeedback: Instabug.invocationModeNewFeedback, + NewChat: Instabug.invocationModeNewChat, + ChatsList: Instabug.invocationModeChatsList + }, + local: { + Arabic: Instabug.localArabic, + ChineseSimplified: Instabug.localChineseSimplified, + ChineseTraditional: Instabug.localChineseTraditional, + Czech: Instabug.localCzech, + Danish: Instabug.localDanish, + English: Instabug.localEnglish, + French: Instabug.localFrench, + German: Instabug.localGerman, + Italian: Instabug.localItalian, + Japanese: Instabug.localJapanese, + Polish: Instabug.localPolish, + PortugueseBrazil: Instabug.localPortugueseBrazil, + Russian: Instabug.localRussian, + Spanish: Instabug.localSpanish, + Swedish: Instabug.localSwedish, + Turkish: Instabug.localTurkish + }, + colorTheme: { + Light: Instabug.colorThemeLight, + Dark: Instabug.colorThemeDark + } + } +} \ No newline at end of file diff --git a/ios/Instabug.bundle/Add_Attachment.png b/ios/Instabug.bundle/Add_Attachment.png new file mode 100644 index 0000000..f7410aa Binary files /dev/null and b/ios/Instabug.bundle/Add_Attachment.png differ diff --git a/ios/Instabug.bundle/Add_Attachment@2x.png b/ios/Instabug.bundle/Add_Attachment@2x.png new file mode 100644 index 0000000..543610f Binary files /dev/null and b/ios/Instabug.bundle/Add_Attachment@2x.png differ diff --git a/ios/Instabug.bundle/Add_Attachment@3x.png b/ios/Instabug.bundle/Add_Attachment@3x.png new file mode 100644 index 0000000..3092c7d Binary files /dev/null and b/ios/Instabug.bundle/Add_Attachment@3x.png differ diff --git a/ios/Instabug.bundle/IBG-FloatingButton.png b/ios/Instabug.bundle/IBG-FloatingButton.png new file mode 100644 index 0000000..c8952c2 Binary files /dev/null and b/ios/Instabug.bundle/IBG-FloatingButton.png differ diff --git a/ios/Instabug.bundle/IBG-FloatingButton@2x.png b/ios/Instabug.bundle/IBG-FloatingButton@2x.png new file mode 100644 index 0000000..54982de Binary files /dev/null and b/ios/Instabug.bundle/IBG-FloatingButton@2x.png differ diff --git a/ios/Instabug.bundle/IBG-FloatingButton@3x.png b/ios/Instabug.bundle/IBG-FloatingButton@3x.png new file mode 100644 index 0000000..77211d4 Binary files /dev/null and b/ios/Instabug.bundle/IBG-FloatingButton@3x.png differ diff --git a/ios/Instabug.bundle/IBG-record-IBGColorThemeDark.png b/ios/Instabug.bundle/IBG-record-IBGColorThemeDark.png new file mode 100644 index 0000000..b7cfff5 Binary files /dev/null and b/ios/Instabug.bundle/IBG-record-IBGColorThemeDark.png differ diff --git a/ios/Instabug.bundle/IBG-record-IBGColorThemeDark@2x.png b/ios/Instabug.bundle/IBG-record-IBGColorThemeDark@2x.png new file mode 100644 index 0000000..dde5052 Binary files /dev/null and b/ios/Instabug.bundle/IBG-record-IBGColorThemeDark@2x.png differ diff --git a/ios/Instabug.bundle/IBG-record-IBGColorThemeDark@3x.png b/ios/Instabug.bundle/IBG-record-IBGColorThemeDark@3x.png new file mode 100644 index 0000000..80925d0 Binary files /dev/null and b/ios/Instabug.bundle/IBG-record-IBGColorThemeDark@3x.png differ diff --git a/ios/Instabug.bundle/IBG-record.png b/ios/Instabug.bundle/IBG-record.png new file mode 100644 index 0000000..27e7b7f Binary files /dev/null and b/ios/Instabug.bundle/IBG-record.png differ diff --git a/ios/Instabug.bundle/IBG-record@2x.png b/ios/Instabug.bundle/IBG-record@2x.png new file mode 100644 index 0000000..3098a00 Binary files /dev/null and b/ios/Instabug.bundle/IBG-record@2x.png differ diff --git a/ios/Instabug.bundle/IBG-record@3x.png b/ios/Instabug.bundle/IBG-record@3x.png new file mode 100644 index 0000000..e4b3623 Binary files /dev/null and b/ios/Instabug.bundle/IBG-record@3x.png differ diff --git a/ios/Instabug.bundle/IBG-stop-record-IBGColorThemeDark.png b/ios/Instabug.bundle/IBG-stop-record-IBGColorThemeDark.png new file mode 100644 index 0000000..0db8c3f Binary files /dev/null and b/ios/Instabug.bundle/IBG-stop-record-IBGColorThemeDark.png differ diff --git a/ios/Instabug.bundle/IBG-stop-record-IBGColorThemeDark@2x.png b/ios/Instabug.bundle/IBG-stop-record-IBGColorThemeDark@2x.png new file mode 100644 index 0000000..69f1d0a Binary files /dev/null and b/ios/Instabug.bundle/IBG-stop-record-IBGColorThemeDark@2x.png differ diff --git a/ios/Instabug.bundle/IBG-stop-record-IBGColorThemeDark@3x.png b/ios/Instabug.bundle/IBG-stop-record-IBGColorThemeDark@3x.png new file mode 100644 index 0000000..817e20b Binary files /dev/null and b/ios/Instabug.bundle/IBG-stop-record-IBGColorThemeDark@3x.png differ diff --git a/ios/Instabug.bundle/IBG-stop-record.png b/ios/Instabug.bundle/IBG-stop-record.png new file mode 100644 index 0000000..93c1907 Binary files /dev/null and b/ios/Instabug.bundle/IBG-stop-record.png differ diff --git a/ios/Instabug.bundle/IBG-stop-record@2x.png b/ios/Instabug.bundle/IBG-stop-record@2x.png new file mode 100644 index 0000000..ebd516d Binary files /dev/null and b/ios/Instabug.bundle/IBG-stop-record@2x.png differ diff --git a/ios/Instabug.bundle/IBG-stop-record@3x.png b/ios/Instabug.bundle/IBG-stop-record@3x.png new file mode 100644 index 0000000..7b29873 Binary files /dev/null and b/ios/Instabug.bundle/IBG-stop-record@3x.png differ diff --git a/ios/Instabug.bundle/IBGActionSheetCell.nib b/ios/Instabug.bundle/IBGActionSheetCell.nib new file mode 100644 index 0000000..15990ad Binary files /dev/null and b/ios/Instabug.bundle/IBGActionSheetCell.nib differ diff --git a/ios/Instabug.bundle/IBGActionSheetView-iPhone.nib b/ios/Instabug.bundle/IBGActionSheetView-iPhone.nib new file mode 100644 index 0000000..cb98e18 Binary files /dev/null and b/ios/Instabug.bundle/IBGActionSheetView-iPhone.nib differ diff --git a/ios/Instabug.bundle/IBGAttachmentButton.nib b/ios/Instabug.bundle/IBGAttachmentButton.nib new file mode 100644 index 0000000..46f3715 Binary files /dev/null and b/ios/Instabug.bundle/IBGAttachmentButton.nib differ diff --git a/ios/Instabug.bundle/IBGBugVC-iPhone.nib b/ios/Instabug.bundle/IBGBugVC-iPhone.nib new file mode 100644 index 0000000..5eb4267 Binary files /dev/null and b/ios/Instabug.bundle/IBGBugVC-iPhone.nib differ diff --git a/ios/Instabug.bundle/IBGChatCell-iPad.nib b/ios/Instabug.bundle/IBGChatCell-iPad.nib new file mode 100644 index 0000000..815a34e Binary files /dev/null and b/ios/Instabug.bundle/IBGChatCell-iPad.nib differ diff --git a/ios/Instabug.bundle/IBGChatCell.nib b/ios/Instabug.bundle/IBGChatCell.nib new file mode 100644 index 0000000..5af3eac Binary files /dev/null and b/ios/Instabug.bundle/IBGChatCell.nib differ diff --git a/ios/Instabug.bundle/IBGChatVC-iPhone.nib b/ios/Instabug.bundle/IBGChatVC-iPhone.nib new file mode 100644 index 0000000..c1d4cbf Binary files /dev/null and b/ios/Instabug.bundle/IBGChatVC-iPhone.nib differ diff --git a/ios/Instabug.bundle/IBGChatsVC-iPhone.nib b/ios/Instabug.bundle/IBGChatsVC-iPhone.nib new file mode 100644 index 0000000..5b2c886 Binary files /dev/null and b/ios/Instabug.bundle/IBGChatsVC-iPhone.nib differ diff --git a/ios/Instabug.bundle/IBGErrorOverlayView.nib b/ios/Instabug.bundle/IBGErrorOverlayView.nib new file mode 100644 index 0000000..db98913 Binary files /dev/null and b/ios/Instabug.bundle/IBGErrorOverlayView.nib differ diff --git a/ios/Instabug.bundle/IBGFullScreenImageView.nib b/ios/Instabug.bundle/IBGFullScreenImageView.nib new file mode 100644 index 0000000..1610b82 Binary files /dev/null and b/ios/Instabug.bundle/IBGFullScreenImageView.nib differ diff --git a/ios/Instabug.bundle/IBGInboundCell.nib b/ios/Instabug.bundle/IBGInboundCell.nib new file mode 100644 index 0000000..d75308a Binary files /dev/null and b/ios/Instabug.bundle/IBGInboundCell.nib differ diff --git a/ios/Instabug.bundle/IBGMessageTableViewCell.nib b/ios/Instabug.bundle/IBGMessageTableViewCell.nib new file mode 100644 index 0000000..3c10724 Binary files /dev/null and b/ios/Instabug.bundle/IBGMessageTableViewCell.nib differ diff --git a/ios/Instabug.bundle/IBGMessagesView.nib b/ios/Instabug.bundle/IBGMessagesView.nib new file mode 100644 index 0000000..8f9c4e7 Binary files /dev/null and b/ios/Instabug.bundle/IBGMessagesView.nib differ diff --git a/ios/Instabug.bundle/IBGOutboundCell.nib b/ios/Instabug.bundle/IBGOutboundCell.nib new file mode 100644 index 0000000..320b8f4 Binary files /dev/null and b/ios/Instabug.bundle/IBGOutboundCell.nib differ diff --git a/ios/Instabug.bundle/IBGPoweredByView.nib b/ios/Instabug.bundle/IBGPoweredByView.nib new file mode 100644 index 0000000..ba92316 Binary files /dev/null and b/ios/Instabug.bundle/IBGPoweredByView.nib differ diff --git a/ios/Instabug.bundle/IBGPromptCell.nib b/ios/Instabug.bundle/IBGPromptCell.nib new file mode 100644 index 0000000..7a8792c Binary files /dev/null and b/ios/Instabug.bundle/IBGPromptCell.nib differ diff --git a/ios/Instabug.bundle/IBGPromptVC-iPhone.nib b/ios/Instabug.bundle/IBGPromptVC-iPhone.nib new file mode 100644 index 0000000..1253802 Binary files /dev/null and b/ios/Instabug.bundle/IBGPromptVC-iPhone.nib differ diff --git a/ios/Instabug.bundle/IBGReplyView-iPhone.nib b/ios/Instabug.bundle/IBGReplyView-iPhone.nib new file mode 100644 index 0000000..3652c56 Binary files /dev/null and b/ios/Instabug.bundle/IBGReplyView-iPhone.nib differ diff --git a/ios/Instabug.bundle/IBGScreenshotVC-iPhone.nib b/ios/Instabug.bundle/IBGScreenshotVC-iPhone.nib new file mode 100644 index 0000000..c11141a Binary files /dev/null and b/ios/Instabug.bundle/IBGScreenshotVC-iPhone.nib differ diff --git a/ios/Instabug.bundle/IBGUnnotifiedMessagesAlertView.nib b/ios/Instabug.bundle/IBGUnnotifiedMessagesAlertView.nib new file mode 100644 index 0000000..d0ff85d Binary files /dev/null and b/ios/Instabug.bundle/IBGUnnotifiedMessagesAlertView.nib differ diff --git a/ios/Instabug.bundle/IBGVideoPlaybackView.nib b/ios/Instabug.bundle/IBGVideoPlaybackView.nib new file mode 100644 index 0000000..c891993 Binary files /dev/null and b/ios/Instabug.bundle/IBGVideoPlaybackView.nib differ diff --git a/ios/Instabug.bundle/IBGVoiceNoteRecordingView-iPhone.nib b/ios/Instabug.bundle/IBGVoiceNoteRecordingView-iPhone.nib new file mode 100644 index 0000000..e62fb86 Binary files /dev/null and b/ios/Instabug.bundle/IBGVoiceNoteRecordingView-iPhone.nib differ diff --git a/ios/Instabug.bundle/InAppBug-IBGColorThemeDark.png b/ios/Instabug.bundle/InAppBug-IBGColorThemeDark.png new file mode 100644 index 0000000..2a80d14 Binary files /dev/null and b/ios/Instabug.bundle/InAppBug-IBGColorThemeDark.png differ diff --git a/ios/Instabug.bundle/InAppBug-IBGColorThemeDark@2x.png b/ios/Instabug.bundle/InAppBug-IBGColorThemeDark@2x.png new file mode 100644 index 0000000..2b73746 Binary files /dev/null and b/ios/Instabug.bundle/InAppBug-IBGColorThemeDark@2x.png differ diff --git a/ios/Instabug.bundle/InAppBug-IBGColorThemeDark@3x.png b/ios/Instabug.bundle/InAppBug-IBGColorThemeDark@3x.png new file mode 100644 index 0000000..ddac9e5 Binary files /dev/null and b/ios/Instabug.bundle/InAppBug-IBGColorThemeDark@3x.png differ diff --git a/ios/Instabug.bundle/InAppBug.png b/ios/Instabug.bundle/InAppBug.png new file mode 100644 index 0000000..1ec2304 Binary files /dev/null and b/ios/Instabug.bundle/InAppBug.png differ diff --git a/ios/Instabug.bundle/InAppBug@2x.png b/ios/Instabug.bundle/InAppBug@2x.png new file mode 100644 index 0000000..695817b Binary files /dev/null and b/ios/Instabug.bundle/InAppBug@2x.png differ diff --git a/ios/Instabug.bundle/InAppBug@3x.png b/ios/Instabug.bundle/InAppBug@3x.png new file mode 100644 index 0000000..5b4016e Binary files /dev/null and b/ios/Instabug.bundle/InAppBug@3x.png differ diff --git a/ios/Instabug.bundle/InAppFeedback-IBGColorThemeDark.png b/ios/Instabug.bundle/InAppFeedback-IBGColorThemeDark.png new file mode 100644 index 0000000..80d87de Binary files /dev/null and b/ios/Instabug.bundle/InAppFeedback-IBGColorThemeDark.png differ diff --git a/ios/Instabug.bundle/InAppFeedback-IBGColorThemeDark@2x.png b/ios/Instabug.bundle/InAppFeedback-IBGColorThemeDark@2x.png new file mode 100644 index 0000000..55806d2 Binary files /dev/null and b/ios/Instabug.bundle/InAppFeedback-IBGColorThemeDark@2x.png differ diff --git a/ios/Instabug.bundle/InAppFeedback-IBGColorThemeDark@3x.png b/ios/Instabug.bundle/InAppFeedback-IBGColorThemeDark@3x.png new file mode 100644 index 0000000..c384408 Binary files /dev/null and b/ios/Instabug.bundle/InAppFeedback-IBGColorThemeDark@3x.png differ diff --git a/ios/Instabug.bundle/InAppFeedback.png b/ios/Instabug.bundle/InAppFeedback.png new file mode 100644 index 0000000..f9cad8d Binary files /dev/null and b/ios/Instabug.bundle/InAppFeedback.png differ diff --git a/ios/Instabug.bundle/InAppFeedback@2x.png b/ios/Instabug.bundle/InAppFeedback@2x.png new file mode 100644 index 0000000..35e9daf Binary files /dev/null and b/ios/Instabug.bundle/InAppFeedback@2x.png differ diff --git a/ios/Instabug.bundle/InAppFeedback@3x.png b/ios/Instabug.bundle/InAppFeedback@3x.png new file mode 100644 index 0000000..3149585 Binary files /dev/null and b/ios/Instabug.bundle/InAppFeedback@3x.png differ diff --git a/ios/Instabug.bundle/InAppGrayAvatar.png b/ios/Instabug.bundle/InAppGrayAvatar.png new file mode 100644 index 0000000..ae962bd Binary files /dev/null and b/ios/Instabug.bundle/InAppGrayAvatar.png differ diff --git a/ios/Instabug.bundle/InAppGrayAvatar@2x.png b/ios/Instabug.bundle/InAppGrayAvatar@2x.png new file mode 100644 index 0000000..9393c42 Binary files /dev/null and b/ios/Instabug.bundle/InAppGrayAvatar@2x.png differ diff --git a/ios/Instabug.bundle/InAppGrayAvatar@3x.png b/ios/Instabug.bundle/InAppGrayAvatar@3x.png new file mode 100644 index 0000000..5afdeac Binary files /dev/null and b/ios/Instabug.bundle/InAppGrayAvatar@3x.png differ diff --git a/ios/Instabug.bundle/InAppScreenshotPlaceholder.png b/ios/Instabug.bundle/InAppScreenshotPlaceholder.png new file mode 100644 index 0000000..2134926 Binary files /dev/null and b/ios/Instabug.bundle/InAppScreenshotPlaceholder.png differ diff --git a/ios/Instabug.bundle/InAppScreenshotPlaceholder@2x.png b/ios/Instabug.bundle/InAppScreenshotPlaceholder@2x.png new file mode 100644 index 0000000..973308a Binary files /dev/null and b/ios/Instabug.bundle/InAppScreenshotPlaceholder@2x.png differ diff --git a/ios/Instabug.bundle/InAppScreenshotPlaceholder@3x.png b/ios/Instabug.bundle/InAppScreenshotPlaceholder@3x.png new file mode 100644 index 0000000..787b32a Binary files /dev/null and b/ios/Instabug.bundle/InAppScreenshotPlaceholder@3x.png differ diff --git a/ios/Instabug.bundle/InAppVideoPlaceholder.png b/ios/Instabug.bundle/InAppVideoPlaceholder.png new file mode 100644 index 0000000..385d848 Binary files /dev/null and b/ios/Instabug.bundle/InAppVideoPlaceholder.png differ diff --git a/ios/Instabug.bundle/InAppVideoPlaceholder@2x.png b/ios/Instabug.bundle/InAppVideoPlaceholder@2x.png new file mode 100644 index 0000000..999ebf1 Binary files /dev/null and b/ios/Instabug.bundle/InAppVideoPlaceholder@2x.png differ diff --git a/ios/Instabug.bundle/InAppVideoPlaceholder@3x.png b/ios/Instabug.bundle/InAppVideoPlaceholder@3x.png new file mode 100644 index 0000000..fc86944 Binary files /dev/null and b/ios/Instabug.bundle/InAppVideoPlaceholder@3x.png differ diff --git a/ios/Instabug.bundle/Info.plist b/ios/Instabug.bundle/Info.plist new file mode 100644 index 0000000..711bff6 Binary files /dev/null and b/ios/Instabug.bundle/Info.plist differ diff --git a/ios/Instabug.bundle/Instabug_dsym_upload.sh b/ios/Instabug.bundle/Instabug_dsym_upload.sh new file mode 100755 index 0000000..a92b074 --- /dev/null +++ b/ios/Instabug.bundle/Instabug_dsym_upload.sh @@ -0,0 +1,115 @@ +# Copyright 2014 Instabug, Inc. All rights reserved. +# +# Usage: +# * In the project editor, select your target. +# * Click "Build Phases" at the top of the project editor. +# * Click "+" button in the top left corner. +# * Choose "New Run Script Build Phase." +# * Uncomment and paste the following script. +# +# --- INVOCATION SCRIPT BEGIN --- +# # SKIP_SIMULATOR_BUILDS=1 +# SCRIPT_SRC=$(find "$PROJECT_DIR" -name 'Instabug_dsym_upload.sh' | head -1) +# if [ ! "${SCRIPT_SRC}" ]; then +# echo "Instabug: err: script not found. Make sure that you're including Instabug.bundle in your project directory" +# exit 1 +# fi +# source "${SCRIPT_SRC}" +# --- INVOCATION SCRIPT END --- + +echo "Instabug: Started uploading dSYM" + +# Check for simulator builds +if [ "$EFFECTIVE_PLATFORM_NAME" == "-iphonesimulator" ]; then + if [ "${SKIP_SIMULATOR_BUILDS}" ] && [ "${SKIP_SIMULATOR_BUILDS}" -eq 1 ]; then + echo "Instabug: Skipping simulator build" + exit 0 + fi +fi + +# Check to make sure the app token exists +if [ ! "${APP_TOKEN}" ]; then + 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}" ]; then + 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 + echo "Instabug: err: APP_TOKEN not found. Make sure you've added the SDK initialization line [Instabug startWithToken: invocationEvent:]" + exit 1 +fi +echo "Instabug: found APP_TOKEN=${APP_TOKEN}" + +# Check internet connection +if [ "`curl -s https://api.instabug.com | grep status | grep -c OK`" != "1" ]; then + echo "ERROR connecting to api.instabug.com." + exit 0 +fi + +# Create temp directory if not exists +CURRENT_USER=$(whoami| tr -dc '[:alnum:]\n\r' | tr '[:upper:]' '[:lower:]') +TEMP_ROOT="/tmp/Instabug-${CURRENT_USER}" +if [ ! -d "${TEMP_ROOT}" ]; then +mkdir "${TEMP_ROOT}" +fi +TEMP_DIRECTORY="${TEMP_ROOT}/$EXECUTABLE_NAME" +if [ ! -d "${TEMP_DIRECTORY}" ]; then +mkdir "${TEMP_DIRECTORY}" +fi + +# Check dSYM file +if [ ! "${DSYM_PATH}" ]; then + if [ ! "${DWARF_DSYM_FOLDER_PATH}" ] || [ ! "${DWARF_DSYM_FILE_NAME}" ]; then + echo "Instabug: err: DWARF_DSYM_FOLDER_PATH or DWARF_DSYM_FILE_NAME not defined" + exit 0 + fi + DSYM_PATH=${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME} +fi +echo "Instabug: found DSYM_PATH=${DSYM_PATH}" + +# Check if UUIDs exists +DSYM_UUIDs=$(dwarfdump --uuid "${DSYM_PATH}" | cut -d' ' -f2) +DSYM_UUIDs_PATH="${TEMP_DIRECTORY}/UUIDs.dat" +DSYM_UUIDs_TOKEN="${DSYM_UUIDs//$'\n'/-${APP_TOKEN}$'\n'}"-${APP_TOKEN} + +if [ -f "${DSYM_UUIDs_PATH}" ]; then + if grep -Fxq "${DSYM_UUIDs_TOKEN}" "${DSYM_UUIDs_PATH}"; then + exit 0 + fi +fi + +# Create dSYM .zip file +DSYM_PATH_ZIP="${TEMP_DIRECTORY}/$DWARF_DSYM_FILE_NAME.zip" +if [ ! -d "$DSYM_PATH" ]; then + echo "Instabug: err: dSYM not found: ${DSYM_PATH}" + exit 0 +fi +echo "Instabug: Compressing dSYM file..." +(/usr/bin/zip --recurse-paths --quiet "${DSYM_PATH_ZIP}" "${DSYM_PATH}") || exit 0 + +# Upload dSYM +echo "Instabug: Uploading dSYM file..." +ENDPOINT="https://api.instabug.com/api/ios/v1/dsym" +STATUS=$(curl "${ENDPOINT}" --write-out %{http_code} --silent --output /dev/null -F dsym=@"${DSYM_PATH_ZIP}" -F token="${APP_TOKEN}") +if [ $STATUS -ne 200 ]; then + echo "Instabug: err: dSYM archive not succesfully uploaded." + echo "Instabug: deleting temporary dSYM archive..." + /bin/rm -f "${DSYM_PATH_ZIP}" + exit 0 +fi + +# Remove temp dSYM archive +echo "Instabug: deleting temporary dSYM archive..." +/bin/rm -f "${DSYM_PATH_ZIP}" + +# Save UUIDs +echo "${DSYM_UUIDs_TOKEN}" >> "${DSYM_UUIDs_PATH}" + +# Finalize +echo "Instabug: dSYM upload complete." +if [ "$?" -ne 0 ]; then + echo "Instabug: err: an error was encountered uploading dSYM" + exit 0 +fi diff --git a/ios/Instabug.bundle/NoConnection-IBGColorThemeDark.png b/ios/Instabug.bundle/NoConnection-IBGColorThemeDark.png new file mode 100644 index 0000000..7f16b8a Binary files /dev/null and b/ios/Instabug.bundle/NoConnection-IBGColorThemeDark.png differ diff --git a/ios/Instabug.bundle/NoConnection-IBGColorThemeDark@2x.png b/ios/Instabug.bundle/NoConnection-IBGColorThemeDark@2x.png new file mode 100644 index 0000000..3d5d433 Binary files /dev/null and b/ios/Instabug.bundle/NoConnection-IBGColorThemeDark@2x.png differ diff --git a/ios/Instabug.bundle/NoConnection-IBGColorThemeDark@3x.png b/ios/Instabug.bundle/NoConnection-IBGColorThemeDark@3x.png new file mode 100644 index 0000000..c98bb1f Binary files /dev/null and b/ios/Instabug.bundle/NoConnection-IBGColorThemeDark@3x.png differ diff --git a/ios/Instabug.bundle/NoConnection.png b/ios/Instabug.bundle/NoConnection.png new file mode 100644 index 0000000..625be08 Binary files /dev/null and b/ios/Instabug.bundle/NoConnection.png differ diff --git a/ios/Instabug.bundle/NoConnection@2x.png b/ios/Instabug.bundle/NoConnection@2x.png new file mode 100644 index 0000000..d145c13 Binary files /dev/null and b/ios/Instabug.bundle/NoConnection@2x.png differ diff --git a/ios/Instabug.bundle/NoConnection@3x.png b/ios/Instabug.bundle/NoConnection@3x.png new file mode 100644 index 0000000..1b8ee69 Binary files /dev/null and b/ios/Instabug.bundle/NoConnection@3x.png differ diff --git a/ios/Instabug.bundle/NoMessages-IBGColorThemeDark.png b/ios/Instabug.bundle/NoMessages-IBGColorThemeDark.png new file mode 100644 index 0000000..a02f02a Binary files /dev/null and b/ios/Instabug.bundle/NoMessages-IBGColorThemeDark.png differ diff --git a/ios/Instabug.bundle/NoMessages-IBGColorThemeDark@2x.png b/ios/Instabug.bundle/NoMessages-IBGColorThemeDark@2x.png new file mode 100644 index 0000000..49e48e6 Binary files /dev/null and b/ios/Instabug.bundle/NoMessages-IBGColorThemeDark@2x.png differ diff --git a/ios/Instabug.bundle/NoMessages-IBGColorThemeDark@3x.png b/ios/Instabug.bundle/NoMessages-IBGColorThemeDark@3x.png new file mode 100644 index 0000000..6691d7b Binary files /dev/null and b/ios/Instabug.bundle/NoMessages-IBGColorThemeDark@3x.png differ diff --git a/ios/Instabug.bundle/NoMessages.png b/ios/Instabug.bundle/NoMessages.png new file mode 100644 index 0000000..c4ba70e Binary files /dev/null and b/ios/Instabug.bundle/NoMessages.png differ diff --git a/ios/Instabug.bundle/NoMessages@2x.png b/ios/Instabug.bundle/NoMessages@2x.png new file mode 100644 index 0000000..c4b5683 Binary files /dev/null and b/ios/Instabug.bundle/NoMessages@2x.png differ diff --git a/ios/Instabug.bundle/NoMessages@3x.png b/ios/Instabug.bundle/NoMessages@3x.png new file mode 100644 index 0000000..b67ab5c Binary files /dev/null and b/ios/Instabug.bundle/NoMessages@3x.png differ diff --git a/ios/Instabug.bundle/Shake-43.png b/ios/Instabug.bundle/Shake-43.png new file mode 100644 index 0000000..fd251c6 Binary files /dev/null and b/ios/Instabug.bundle/Shake-43.png differ diff --git a/ios/Instabug.bundle/Whitebubble-IBGColorThemeDark.png b/ios/Instabug.bundle/Whitebubble-IBGColorThemeDark.png new file mode 100644 index 0000000..ed31c03 Binary files /dev/null and b/ios/Instabug.bundle/Whitebubble-IBGColorThemeDark.png differ diff --git a/ios/Instabug.bundle/Whitebubble-IBGColorThemeDark@2x.png b/ios/Instabug.bundle/Whitebubble-IBGColorThemeDark@2x.png new file mode 100644 index 0000000..72db9ee Binary files /dev/null and b/ios/Instabug.bundle/Whitebubble-IBGColorThemeDark@2x.png differ diff --git a/ios/Instabug.bundle/Whitebubble-IBGColorThemeDark@3x.png b/ios/Instabug.bundle/Whitebubble-IBGColorThemeDark@3x.png new file mode 100644 index 0000000..61e223c Binary files /dev/null and b/ios/Instabug.bundle/Whitebubble-IBGColorThemeDark@3x.png differ diff --git a/ios/Instabug.bundle/ar.lproj/InfoPlist.strings b/ios/Instabug.bundle/ar.lproj/InfoPlist.strings new file mode 100644 index 0000000..3967e06 Binary files /dev/null and b/ios/Instabug.bundle/ar.lproj/InfoPlist.strings differ diff --git a/ios/Instabug.bundle/ar.lproj/Localizable.strings b/ios/Instabug.bundle/ar.lproj/Localizable.strings new file mode 100644 index 0000000..466b650 Binary files /dev/null and b/ios/Instabug.bundle/ar.lproj/Localizable.strings differ diff --git a/ios/Instabug.bundle/audio_placeholder.png b/ios/Instabug.bundle/audio_placeholder.png new file mode 100644 index 0000000..83f7a1b Binary files /dev/null and b/ios/Instabug.bundle/audio_placeholder.png differ diff --git a/ios/Instabug.bundle/audio_placeholder@2x.png b/ios/Instabug.bundle/audio_placeholder@2x.png new file mode 100644 index 0000000..3620edb Binary files /dev/null and b/ios/Instabug.bundle/audio_placeholder@2x.png differ diff --git a/ios/Instabug.bundle/audio_placeholder_3x.png b/ios/Instabug.bundle/audio_placeholder_3x.png new file mode 100644 index 0000000..cccbcc7 Binary files /dev/null and b/ios/Instabug.bundle/audio_placeholder_3x.png differ diff --git a/ios/Instabug.bundle/backbtn.png b/ios/Instabug.bundle/backbtn.png new file mode 100644 index 0000000..a6912c1 Binary files /dev/null and b/ios/Instabug.bundle/backbtn.png differ diff --git a/ios/Instabug.bundle/backbtn@2x.png b/ios/Instabug.bundle/backbtn@2x.png new file mode 100644 index 0000000..e8afb21 Binary files /dev/null and b/ios/Instabug.bundle/backbtn@2x.png differ diff --git a/ios/Instabug.bundle/backbtn@3x.png b/ios/Instabug.bundle/backbtn@3x.png new file mode 100644 index 0000000..711fe3b Binary files /dev/null and b/ios/Instabug.bundle/backbtn@3x.png differ diff --git a/ios/Instabug.bundle/bug.png b/ios/Instabug.bundle/bug.png new file mode 100644 index 0000000..4d8ff71 Binary files /dev/null and b/ios/Instabug.bundle/bug.png differ diff --git a/ios/Instabug.bundle/bug@2x.png b/ios/Instabug.bundle/bug@2x.png new file mode 100644 index 0000000..880db48 Binary files /dev/null and b/ios/Instabug.bundle/bug@2x.png differ diff --git a/ios/Instabug.bundle/bug@3x.png b/ios/Instabug.bundle/bug@3x.png new file mode 100644 index 0000000..00e69f0 Binary files /dev/null and b/ios/Instabug.bundle/bug@3x.png differ diff --git a/ios/Instabug.bundle/cancel_attachment-IBGColorThemeDark.png b/ios/Instabug.bundle/cancel_attachment-IBGColorThemeDark.png new file mode 100644 index 0000000..c0103c6 Binary files /dev/null and b/ios/Instabug.bundle/cancel_attachment-IBGColorThemeDark.png differ diff --git a/ios/Instabug.bundle/cancel_attachment-IBGColorThemeDark@2x.png b/ios/Instabug.bundle/cancel_attachment-IBGColorThemeDark@2x.png new file mode 100644 index 0000000..75d3965 Binary files /dev/null and b/ios/Instabug.bundle/cancel_attachment-IBGColorThemeDark@2x.png differ diff --git a/ios/Instabug.bundle/cancel_attachment-IBGColorThemeDark@3x.png b/ios/Instabug.bundle/cancel_attachment-IBGColorThemeDark@3x.png new file mode 100644 index 0000000..ab79c3c Binary files /dev/null and b/ios/Instabug.bundle/cancel_attachment-IBGColorThemeDark@3x.png differ diff --git a/ios/Instabug.bundle/cancel_attachment.png b/ios/Instabug.bundle/cancel_attachment.png new file mode 100644 index 0000000..be97de7 Binary files /dev/null and b/ios/Instabug.bundle/cancel_attachment.png differ diff --git a/ios/Instabug.bundle/cancel_attachment@2x.png b/ios/Instabug.bundle/cancel_attachment@2x.png new file mode 100644 index 0000000..603f6c8 Binary files /dev/null and b/ios/Instabug.bundle/cancel_attachment@2x.png differ diff --git a/ios/Instabug.bundle/cancel_attachment@3x.png b/ios/Instabug.bundle/cancel_attachment@3x.png new file mode 100644 index 0000000..fd41119 Binary files /dev/null and b/ios/Instabug.bundle/cancel_attachment@3x.png differ diff --git a/ios/Instabug.bundle/capture_image.png b/ios/Instabug.bundle/capture_image.png new file mode 100644 index 0000000..357a05a Binary files /dev/null and b/ios/Instabug.bundle/capture_image.png differ diff --git a/ios/Instabug.bundle/capture_image@2x.png b/ios/Instabug.bundle/capture_image@2x.png new file mode 100644 index 0000000..2d58b07 Binary files /dev/null and b/ios/Instabug.bundle/capture_image@2x.png differ diff --git a/ios/Instabug.bundle/capture_image@3x.png b/ios/Instabug.bundle/capture_image@3x.png new file mode 100644 index 0000000..e3e34d4 Binary files /dev/null and b/ios/Instabug.bundle/capture_image@3x.png differ diff --git a/ios/Instabug.bundle/capture_stop.png b/ios/Instabug.bundle/capture_stop.png new file mode 100644 index 0000000..269874d Binary files /dev/null and b/ios/Instabug.bundle/capture_stop.png differ diff --git a/ios/Instabug.bundle/capture_stop@2x.png b/ios/Instabug.bundle/capture_stop@2x.png new file mode 100644 index 0000000..9e6cc57 Binary files /dev/null and b/ios/Instabug.bundle/capture_stop@2x.png differ diff --git a/ios/Instabug.bundle/capture_stop@3x.png b/ios/Instabug.bundle/capture_stop@3x.png new file mode 100644 index 0000000..d55ba87 Binary files /dev/null and b/ios/Instabug.bundle/capture_stop@3x.png differ diff --git a/ios/Instabug.bundle/capture_voice.png b/ios/Instabug.bundle/capture_voice.png new file mode 100644 index 0000000..fcca92d Binary files /dev/null and b/ios/Instabug.bundle/capture_voice.png differ diff --git a/ios/Instabug.bundle/capture_voice@2x.png b/ios/Instabug.bundle/capture_voice@2x.png new file mode 100644 index 0000000..18ae162 Binary files /dev/null and b/ios/Instabug.bundle/capture_voice@2x.png differ diff --git a/ios/Instabug.bundle/capture_voice@3x.png b/ios/Instabug.bundle/capture_voice@3x.png new file mode 100644 index 0000000..68cd800 Binary files /dev/null and b/ios/Instabug.bundle/capture_voice@3x.png differ diff --git a/ios/Instabug.bundle/close.png b/ios/Instabug.bundle/close.png new file mode 100644 index 0000000..63cc5f4 Binary files /dev/null and b/ios/Instabug.bundle/close.png differ diff --git a/ios/Instabug.bundle/close@2x.png b/ios/Instabug.bundle/close@2x.png new file mode 100644 index 0000000..799d06c Binary files /dev/null and b/ios/Instabug.bundle/close@2x.png differ diff --git a/ios/Instabug.bundle/close@3x.png b/ios/Instabug.bundle/close@3x.png new file mode 100644 index 0000000..0e4b66e Binary files /dev/null and b/ios/Instabug.bundle/close@3x.png differ diff --git a/ios/Instabug.bundle/colordarkblue.png b/ios/Instabug.bundle/colordarkblue.png new file mode 100644 index 0000000..83758b0 Binary files /dev/null and b/ios/Instabug.bundle/colordarkblue.png differ diff --git a/ios/Instabug.bundle/colordarkblue@2x.png b/ios/Instabug.bundle/colordarkblue@2x.png new file mode 100644 index 0000000..fddfb33 Binary files /dev/null and b/ios/Instabug.bundle/colordarkblue@2x.png differ diff --git a/ios/Instabug.bundle/colordarkblue@3x.png b/ios/Instabug.bundle/colordarkblue@3x.png new file mode 100644 index 0000000..8067268 Binary files /dev/null and b/ios/Instabug.bundle/colordarkblue@3x.png differ diff --git a/ios/Instabug.bundle/colorgreen.png b/ios/Instabug.bundle/colorgreen.png new file mode 100644 index 0000000..3d30200 Binary files /dev/null and b/ios/Instabug.bundle/colorgreen.png differ diff --git a/ios/Instabug.bundle/colorgreen@2x.png b/ios/Instabug.bundle/colorgreen@2x.png new file mode 100644 index 0000000..c72abfc Binary files /dev/null and b/ios/Instabug.bundle/colorgreen@2x.png differ diff --git a/ios/Instabug.bundle/colorgreen@3x.png b/ios/Instabug.bundle/colorgreen@3x.png new file mode 100644 index 0000000..90f2595 Binary files /dev/null and b/ios/Instabug.bundle/colorgreen@3x.png differ diff --git a/ios/Instabug.bundle/colorlightblue.png b/ios/Instabug.bundle/colorlightblue.png new file mode 100644 index 0000000..b9b3c25 Binary files /dev/null and b/ios/Instabug.bundle/colorlightblue.png differ diff --git a/ios/Instabug.bundle/colorlightblue@2x.png b/ios/Instabug.bundle/colorlightblue@2x.png new file mode 100644 index 0000000..f11a6b8 Binary files /dev/null and b/ios/Instabug.bundle/colorlightblue@2x.png differ diff --git a/ios/Instabug.bundle/colorlightblue@3x.png b/ios/Instabug.bundle/colorlightblue@3x.png new file mode 100644 index 0000000..e308166 Binary files /dev/null and b/ios/Instabug.bundle/colorlightblue@3x.png differ diff --git a/ios/Instabug.bundle/colorred.png b/ios/Instabug.bundle/colorred.png new file mode 100644 index 0000000..372df29 Binary files /dev/null and b/ios/Instabug.bundle/colorred.png differ diff --git a/ios/Instabug.bundle/colorred@2x.png b/ios/Instabug.bundle/colorred@2x.png new file mode 100644 index 0000000..ce30dfd Binary files /dev/null and b/ios/Instabug.bundle/colorred@2x.png differ diff --git a/ios/Instabug.bundle/colorred@3x.png b/ios/Instabug.bundle/colorred@3x.png new file mode 100644 index 0000000..ce9e91d Binary files /dev/null and b/ios/Instabug.bundle/colorred@3x.png differ diff --git a/ios/Instabug.bundle/coloryellow.png b/ios/Instabug.bundle/coloryellow.png new file mode 100644 index 0000000..d3fe606 Binary files /dev/null and b/ios/Instabug.bundle/coloryellow.png differ diff --git a/ios/Instabug.bundle/coloryellow@2x.png b/ios/Instabug.bundle/coloryellow@2x.png new file mode 100644 index 0000000..699d0f2 Binary files /dev/null and b/ios/Instabug.bundle/coloryellow@2x.png differ diff --git a/ios/Instabug.bundle/coloryellow@3x.png b/ios/Instabug.bundle/coloryellow@3x.png new file mode 100644 index 0000000..d8383cd Binary files /dev/null and b/ios/Instabug.bundle/coloryellow@3x.png differ diff --git a/ios/Instabug.bundle/coloselected.png b/ios/Instabug.bundle/coloselected.png new file mode 100644 index 0000000..c767e8f Binary files /dev/null and b/ios/Instabug.bundle/coloselected.png differ diff --git a/ios/Instabug.bundle/coloselected@2x.png b/ios/Instabug.bundle/coloselected@2x.png new file mode 100644 index 0000000..3a3a0f5 Binary files /dev/null and b/ios/Instabug.bundle/coloselected@2x.png differ diff --git a/ios/Instabug.bundle/coloselected@3x.png b/ios/Instabug.bundle/coloselected@3x.png new file mode 100644 index 0000000..da8647e Binary files /dev/null and b/ios/Instabug.bundle/coloselected@3x.png differ diff --git a/ios/Instabug.bundle/de.lproj/InfoPlist.strings b/ios/Instabug.bundle/de.lproj/InfoPlist.strings new file mode 100644 index 0000000..3967e06 Binary files /dev/null and b/ios/Instabug.bundle/de.lproj/InfoPlist.strings differ diff --git a/ios/Instabug.bundle/de.lproj/Localizable.strings b/ios/Instabug.bundle/de.lproj/Localizable.strings new file mode 100644 index 0000000..400ae00 Binary files /dev/null and b/ios/Instabug.bundle/de.lproj/Localizable.strings differ diff --git a/ios/Instabug.bundle/done.png b/ios/Instabug.bundle/done.png new file mode 100644 index 0000000..b7e376d Binary files /dev/null and b/ios/Instabug.bundle/done.png differ diff --git a/ios/Instabug.bundle/done@2x.png b/ios/Instabug.bundle/done@2x.png new file mode 100644 index 0000000..3e27790 Binary files /dev/null and b/ios/Instabug.bundle/done@2x.png differ diff --git a/ios/Instabug.bundle/done@3x.png b/ios/Instabug.bundle/done@3x.png new file mode 100644 index 0000000..e8816fe Binary files /dev/null and b/ios/Instabug.bundle/done@3x.png differ diff --git a/ios/Instabug.bundle/en.lproj/InfoPlist.strings b/ios/Instabug.bundle/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..3967e06 Binary files /dev/null and b/ios/Instabug.bundle/en.lproj/InfoPlist.strings differ diff --git a/ios/Instabug.bundle/en.lproj/Localizable.strings b/ios/Instabug.bundle/en.lproj/Localizable.strings new file mode 100644 index 0000000..6d43942 Binary files /dev/null and b/ios/Instabug.bundle/en.lproj/Localizable.strings differ diff --git a/ios/Instabug.bundle/eraser.png b/ios/Instabug.bundle/eraser.png new file mode 100644 index 0000000..d9bdde9 Binary files /dev/null and b/ios/Instabug.bundle/eraser.png differ diff --git a/ios/Instabug.bundle/eraser@2x.png b/ios/Instabug.bundle/eraser@2x.png new file mode 100644 index 0000000..699273f Binary files /dev/null and b/ios/Instabug.bundle/eraser@2x.png differ diff --git a/ios/Instabug.bundle/eraser@3x.png b/ios/Instabug.bundle/eraser@3x.png new file mode 100644 index 0000000..91c3da7 Binary files /dev/null and b/ios/Instabug.bundle/eraser@3x.png differ diff --git a/ios/Instabug.bundle/es.lproj/InfoPlist.strings b/ios/Instabug.bundle/es.lproj/InfoPlist.strings new file mode 100644 index 0000000..3967e06 Binary files /dev/null and b/ios/Instabug.bundle/es.lproj/InfoPlist.strings differ diff --git a/ios/Instabug.bundle/es.lproj/Localizable.strings b/ios/Instabug.bundle/es.lproj/Localizable.strings new file mode 100644 index 0000000..79599fc Binary files /dev/null and b/ios/Instabug.bundle/es.lproj/Localizable.strings differ diff --git a/ios/Instabug.bundle/feedback.png b/ios/Instabug.bundle/feedback.png new file mode 100644 index 0000000..adfb716 Binary files /dev/null and b/ios/Instabug.bundle/feedback.png differ diff --git a/ios/Instabug.bundle/feedback@2x.png b/ios/Instabug.bundle/feedback@2x.png new file mode 100644 index 0000000..d372022 Binary files /dev/null and b/ios/Instabug.bundle/feedback@2x.png differ diff --git a/ios/Instabug.bundle/feedback@3x.png b/ios/Instabug.bundle/feedback@3x.png new file mode 100644 index 0000000..1f0bd02 Binary files /dev/null and b/ios/Instabug.bundle/feedback@3x.png differ diff --git a/ios/Instabug.bundle/fr.lproj/InfoPlist.strings b/ios/Instabug.bundle/fr.lproj/InfoPlist.strings new file mode 100644 index 0000000..3967e06 Binary files /dev/null and b/ios/Instabug.bundle/fr.lproj/InfoPlist.strings differ diff --git a/ios/Instabug.bundle/fr.lproj/Localizable.strings b/ios/Instabug.bundle/fr.lproj/Localizable.strings new file mode 100644 index 0000000..b52de72 Binary files /dev/null and b/ios/Instabug.bundle/fr.lproj/Localizable.strings differ diff --git a/ios/Instabug.bundle/graybubble.png b/ios/Instabug.bundle/graybubble.png new file mode 100644 index 0000000..92b5d3a Binary files /dev/null and b/ios/Instabug.bundle/graybubble.png differ diff --git a/ios/Instabug.bundle/graybubble@2x.png b/ios/Instabug.bundle/graybubble@2x.png new file mode 100644 index 0000000..718a49d Binary files /dev/null and b/ios/Instabug.bundle/graybubble@2x.png differ diff --git a/ios/Instabug.bundle/graybubble@3x.png b/ios/Instabug.bundle/graybubble@3x.png new file mode 100644 index 0000000..d43d65f Binary files /dev/null and b/ios/Instabug.bundle/graybubble@3x.png differ diff --git a/ios/Instabug.bundle/heartforyou.png b/ios/Instabug.bundle/heartforyou.png new file mode 100644 index 0000000..d493d4f Binary files /dev/null and b/ios/Instabug.bundle/heartforyou.png differ diff --git a/ios/Instabug.bundle/heartforyou@2x.png b/ios/Instabug.bundle/heartforyou@2x.png new file mode 100644 index 0000000..d62b84e Binary files /dev/null and b/ios/Instabug.bundle/heartforyou@2x.png differ diff --git a/ios/Instabug.bundle/heartforyou@3x.png b/ios/Instabug.bundle/heartforyou@3x.png new file mode 100644 index 0000000..2257c8a Binary files /dev/null and b/ios/Instabug.bundle/heartforyou@3x.png differ diff --git a/ios/Instabug.bundle/image.png b/ios/Instabug.bundle/image.png new file mode 100644 index 0000000..4af3ffc Binary files /dev/null and b/ios/Instabug.bundle/image.png differ diff --git a/ios/Instabug.bundle/image@2x.png b/ios/Instabug.bundle/image@2x.png new file mode 100644 index 0000000..87a2d7e Binary files /dev/null and b/ios/Instabug.bundle/image@2x.png differ diff --git a/ios/Instabug.bundle/image@3x.png b/ios/Instabug.bundle/image@3x.png new file mode 100644 index 0000000..89197c9 Binary files /dev/null and b/ios/Instabug.bundle/image@3x.png differ diff --git a/ios/Instabug.bundle/instabuglogo.png b/ios/Instabug.bundle/instabuglogo.png new file mode 100644 index 0000000..653d7ec Binary files /dev/null and b/ios/Instabug.bundle/instabuglogo.png differ diff --git a/ios/Instabug.bundle/instabuglogo@2x.png b/ios/Instabug.bundle/instabuglogo@2x.png new file mode 100644 index 0000000..91220be Binary files /dev/null and b/ios/Instabug.bundle/instabuglogo@2x.png differ diff --git a/ios/Instabug.bundle/instabuglogo@3x.png b/ios/Instabug.bundle/instabuglogo@3x.png new file mode 100644 index 0000000..d6249c0 Binary files /dev/null and b/ios/Instabug.bundle/instabuglogo@3x.png differ diff --git a/ios/Instabug.bundle/it.lproj/InfoPlist.strings b/ios/Instabug.bundle/it.lproj/InfoPlist.strings new file mode 100644 index 0000000..3967e06 Binary files /dev/null and b/ios/Instabug.bundle/it.lproj/InfoPlist.strings differ diff --git a/ios/Instabug.bundle/it.lproj/Localizable.strings b/ios/Instabug.bundle/it.lproj/Localizable.strings new file mode 100644 index 0000000..859ccfd Binary files /dev/null and b/ios/Instabug.bundle/it.lproj/Localizable.strings differ diff --git a/ios/Instabug.bundle/ja.lproj/InfoPlist.strings b/ios/Instabug.bundle/ja.lproj/InfoPlist.strings new file mode 100644 index 0000000..3967e06 Binary files /dev/null and b/ios/Instabug.bundle/ja.lproj/InfoPlist.strings differ diff --git a/ios/Instabug.bundle/ja.lproj/Localizable.strings b/ios/Instabug.bundle/ja.lproj/Localizable.strings new file mode 100644 index 0000000..b47c8d2 Binary files /dev/null and b/ios/Instabug.bundle/ja.lproj/Localizable.strings differ diff --git a/ios/Instabug.bundle/ko.lproj/InfoPlist.strings b/ios/Instabug.bundle/ko.lproj/InfoPlist.strings new file mode 100644 index 0000000..3967e06 Binary files /dev/null and b/ios/Instabug.bundle/ko.lproj/InfoPlist.strings differ diff --git a/ios/Instabug.bundle/ko.lproj/Localizable.strings b/ios/Instabug.bundle/ko.lproj/Localizable.strings new file mode 100644 index 0000000..562f48c Binary files /dev/null and b/ios/Instabug.bundle/ko.lproj/Localizable.strings differ diff --git a/ios/Instabug.bundle/new_message.png b/ios/Instabug.bundle/new_message.png new file mode 100644 index 0000000..f3dc9b8 Binary files /dev/null and b/ios/Instabug.bundle/new_message.png differ diff --git a/ios/Instabug.bundle/new_message@2x.png b/ios/Instabug.bundle/new_message@2x.png new file mode 100644 index 0000000..3d40dad Binary files /dev/null and b/ios/Instabug.bundle/new_message@2x.png differ diff --git a/ios/Instabug.bundle/new_message@3x.png b/ios/Instabug.bundle/new_message@3x.png new file mode 100644 index 0000000..b2b3e99 Binary files /dev/null and b/ios/Instabug.bundle/new_message@3x.png differ diff --git a/ios/Instabug.bundle/next.png b/ios/Instabug.bundle/next.png new file mode 100644 index 0000000..25a6885 Binary files /dev/null and b/ios/Instabug.bundle/next.png differ diff --git a/ios/Instabug.bundle/next@2x.png b/ios/Instabug.bundle/next@2x.png new file mode 100644 index 0000000..b1a0e7b Binary files /dev/null and b/ios/Instabug.bundle/next@2x.png differ diff --git a/ios/Instabug.bundle/next@3x.png b/ios/Instabug.bundle/next@3x.png new file mode 100644 index 0000000..d902264 Binary files /dev/null and b/ios/Instabug.bundle/next@3x.png differ diff --git a/ios/Instabug.bundle/onefinger-1.png b/ios/Instabug.bundle/onefinger-1.png new file mode 100644 index 0000000..fcc3691 Binary files /dev/null and b/ios/Instabug.bundle/onefinger-1.png differ diff --git a/ios/Instabug.bundle/onefinger-10.png b/ios/Instabug.bundle/onefinger-10.png new file mode 100644 index 0000000..ac5268b Binary files /dev/null and b/ios/Instabug.bundle/onefinger-10.png differ diff --git a/ios/Instabug.bundle/onefinger-11.png b/ios/Instabug.bundle/onefinger-11.png new file mode 100644 index 0000000..404ba89 Binary files /dev/null and b/ios/Instabug.bundle/onefinger-11.png differ diff --git a/ios/Instabug.bundle/onefinger-12.png b/ios/Instabug.bundle/onefinger-12.png new file mode 100644 index 0000000..3e59044 Binary files /dev/null and b/ios/Instabug.bundle/onefinger-12.png differ diff --git a/ios/Instabug.bundle/onefinger-13.png b/ios/Instabug.bundle/onefinger-13.png new file mode 100644 index 0000000..e6e31bc Binary files /dev/null and b/ios/Instabug.bundle/onefinger-13.png differ diff --git a/ios/Instabug.bundle/onefinger-14.png b/ios/Instabug.bundle/onefinger-14.png new file mode 100644 index 0000000..bfce40a Binary files /dev/null and b/ios/Instabug.bundle/onefinger-14.png differ diff --git a/ios/Instabug.bundle/onefinger-15.png b/ios/Instabug.bundle/onefinger-15.png new file mode 100644 index 0000000..8219ba4 Binary files /dev/null and b/ios/Instabug.bundle/onefinger-15.png differ diff --git a/ios/Instabug.bundle/onefinger-16.png b/ios/Instabug.bundle/onefinger-16.png new file mode 100644 index 0000000..85e6e56 Binary files /dev/null and b/ios/Instabug.bundle/onefinger-16.png differ diff --git a/ios/Instabug.bundle/onefinger-17.png b/ios/Instabug.bundle/onefinger-17.png new file mode 100644 index 0000000..85e6e56 Binary files /dev/null and b/ios/Instabug.bundle/onefinger-17.png differ diff --git a/ios/Instabug.bundle/onefinger-18.png b/ios/Instabug.bundle/onefinger-18.png new file mode 100644 index 0000000..65230bc Binary files /dev/null and b/ios/Instabug.bundle/onefinger-18.png differ diff --git a/ios/Instabug.bundle/onefinger-19.png b/ios/Instabug.bundle/onefinger-19.png new file mode 100644 index 0000000..95a1a8f Binary files /dev/null and b/ios/Instabug.bundle/onefinger-19.png differ diff --git a/ios/Instabug.bundle/onefinger-2.png b/ios/Instabug.bundle/onefinger-2.png new file mode 100644 index 0000000..fcc3691 Binary files /dev/null and b/ios/Instabug.bundle/onefinger-2.png differ diff --git a/ios/Instabug.bundle/onefinger-20.png b/ios/Instabug.bundle/onefinger-20.png new file mode 100644 index 0000000..b740e19 Binary files /dev/null and b/ios/Instabug.bundle/onefinger-20.png differ diff --git a/ios/Instabug.bundle/onefinger-21.png b/ios/Instabug.bundle/onefinger-21.png new file mode 100644 index 0000000..7a47f09 Binary files /dev/null and b/ios/Instabug.bundle/onefinger-21.png differ diff --git a/ios/Instabug.bundle/onefinger-22.png b/ios/Instabug.bundle/onefinger-22.png new file mode 100644 index 0000000..7a47f09 Binary files /dev/null and b/ios/Instabug.bundle/onefinger-22.png differ diff --git a/ios/Instabug.bundle/onefinger-23.png b/ios/Instabug.bundle/onefinger-23.png new file mode 100644 index 0000000..4353a50 Binary files /dev/null and b/ios/Instabug.bundle/onefinger-23.png differ diff --git a/ios/Instabug.bundle/onefinger-24.png b/ios/Instabug.bundle/onefinger-24.png new file mode 100644 index 0000000..f5dddda Binary files /dev/null and b/ios/Instabug.bundle/onefinger-24.png differ diff --git a/ios/Instabug.bundle/onefinger-25.png b/ios/Instabug.bundle/onefinger-25.png new file mode 100644 index 0000000..f621ea3 Binary files /dev/null and b/ios/Instabug.bundle/onefinger-25.png differ diff --git a/ios/Instabug.bundle/onefinger-26.png b/ios/Instabug.bundle/onefinger-26.png new file mode 100644 index 0000000..9b98706 Binary files /dev/null and b/ios/Instabug.bundle/onefinger-26.png differ diff --git a/ios/Instabug.bundle/onefinger-27.png b/ios/Instabug.bundle/onefinger-27.png new file mode 100644 index 0000000..9b98706 Binary files /dev/null and b/ios/Instabug.bundle/onefinger-27.png differ diff --git a/ios/Instabug.bundle/onefinger-28.png b/ios/Instabug.bundle/onefinger-28.png new file mode 100644 index 0000000..ffe0680 Binary files /dev/null and b/ios/Instabug.bundle/onefinger-28.png differ diff --git a/ios/Instabug.bundle/onefinger-29.png b/ios/Instabug.bundle/onefinger-29.png new file mode 100644 index 0000000..3d6cbba Binary files /dev/null and b/ios/Instabug.bundle/onefinger-29.png differ diff --git a/ios/Instabug.bundle/onefinger-3.png b/ios/Instabug.bundle/onefinger-3.png new file mode 100644 index 0000000..456dbd1 Binary files /dev/null and b/ios/Instabug.bundle/onefinger-3.png differ diff --git a/ios/Instabug.bundle/onefinger-30.png b/ios/Instabug.bundle/onefinger-30.png new file mode 100644 index 0000000..89e82f3 Binary files /dev/null and b/ios/Instabug.bundle/onefinger-30.png differ diff --git a/ios/Instabug.bundle/onefinger-31.png b/ios/Instabug.bundle/onefinger-31.png new file mode 100644 index 0000000..89e82f3 Binary files /dev/null and b/ios/Instabug.bundle/onefinger-31.png differ diff --git a/ios/Instabug.bundle/onefinger-32.png b/ios/Instabug.bundle/onefinger-32.png new file mode 100644 index 0000000..89e82f3 Binary files /dev/null and b/ios/Instabug.bundle/onefinger-32.png differ diff --git a/ios/Instabug.bundle/onefinger-33.png b/ios/Instabug.bundle/onefinger-33.png new file mode 100644 index 0000000..89e82f3 Binary files /dev/null and b/ios/Instabug.bundle/onefinger-33.png differ diff --git a/ios/Instabug.bundle/onefinger-34.png b/ios/Instabug.bundle/onefinger-34.png new file mode 100644 index 0000000..89e82f3 Binary files /dev/null and b/ios/Instabug.bundle/onefinger-34.png differ diff --git a/ios/Instabug.bundle/onefinger-35.png b/ios/Instabug.bundle/onefinger-35.png new file mode 100644 index 0000000..89e82f3 Binary files /dev/null and b/ios/Instabug.bundle/onefinger-35.png differ diff --git a/ios/Instabug.bundle/onefinger-36.png b/ios/Instabug.bundle/onefinger-36.png new file mode 100644 index 0000000..89e82f3 Binary files /dev/null and b/ios/Instabug.bundle/onefinger-36.png differ diff --git a/ios/Instabug.bundle/onefinger-4.png b/ios/Instabug.bundle/onefinger-4.png new file mode 100644 index 0000000..012f80e Binary files /dev/null and b/ios/Instabug.bundle/onefinger-4.png differ diff --git a/ios/Instabug.bundle/onefinger-5.png b/ios/Instabug.bundle/onefinger-5.png new file mode 100644 index 0000000..a433ab7 Binary files /dev/null and b/ios/Instabug.bundle/onefinger-5.png differ diff --git a/ios/Instabug.bundle/onefinger-6.png b/ios/Instabug.bundle/onefinger-6.png new file mode 100644 index 0000000..0c8eec0 Binary files /dev/null and b/ios/Instabug.bundle/onefinger-6.png differ diff --git a/ios/Instabug.bundle/onefinger-7.png b/ios/Instabug.bundle/onefinger-7.png new file mode 100644 index 0000000..0c8eec0 Binary files /dev/null and b/ios/Instabug.bundle/onefinger-7.png differ diff --git a/ios/Instabug.bundle/onefinger-8.png b/ios/Instabug.bundle/onefinger-8.png new file mode 100644 index 0000000..552ce98 Binary files /dev/null and b/ios/Instabug.bundle/onefinger-8.png differ diff --git a/ios/Instabug.bundle/onefinger-9.png b/ios/Instabug.bundle/onefinger-9.png new file mode 100644 index 0000000..5f2be39 Binary files /dev/null and b/ios/Instabug.bundle/onefinger-9.png differ diff --git a/ios/Instabug.bundle/pl.lproj/InfoPlist.strings b/ios/Instabug.bundle/pl.lproj/InfoPlist.strings new file mode 100644 index 0000000..3967e06 Binary files /dev/null and b/ios/Instabug.bundle/pl.lproj/InfoPlist.strings differ diff --git a/ios/Instabug.bundle/pl.lproj/Localizable.strings b/ios/Instabug.bundle/pl.lproj/Localizable.strings new file mode 100644 index 0000000..7dc932f Binary files /dev/null and b/ios/Instabug.bundle/pl.lproj/Localizable.strings differ diff --git a/ios/Instabug.bundle/plus.png b/ios/Instabug.bundle/plus.png new file mode 100644 index 0000000..c7c7f50 Binary files /dev/null and b/ios/Instabug.bundle/plus.png differ diff --git a/ios/Instabug.bundle/plus@2x.png b/ios/Instabug.bundle/plus@2x.png new file mode 100644 index 0000000..bf04453 Binary files /dev/null and b/ios/Instabug.bundle/plus@2x.png differ diff --git a/ios/Instabug.bundle/plus@3x.png b/ios/Instabug.bundle/plus@3x.png new file mode 100644 index 0000000..e049a6b Binary files /dev/null and b/ios/Instabug.bundle/plus@3x.png differ diff --git a/ios/Instabug.bundle/powerplushome-1.png b/ios/Instabug.bundle/powerplushome-1.png new file mode 100644 index 0000000..61eb7fb Binary files /dev/null and b/ios/Instabug.bundle/powerplushome-1.png differ diff --git a/ios/Instabug.bundle/powerplushome-10.png b/ios/Instabug.bundle/powerplushome-10.png new file mode 100644 index 0000000..33b47a4 Binary files /dev/null and b/ios/Instabug.bundle/powerplushome-10.png differ diff --git a/ios/Instabug.bundle/powerplushome-11.png b/ios/Instabug.bundle/powerplushome-11.png new file mode 100644 index 0000000..d088358 Binary files /dev/null and b/ios/Instabug.bundle/powerplushome-11.png differ diff --git a/ios/Instabug.bundle/powerplushome-12.png b/ios/Instabug.bundle/powerplushome-12.png new file mode 100644 index 0000000..d088358 Binary files /dev/null and b/ios/Instabug.bundle/powerplushome-12.png differ diff --git a/ios/Instabug.bundle/powerplushome-13.png b/ios/Instabug.bundle/powerplushome-13.png new file mode 100644 index 0000000..c1d8e9e Binary files /dev/null and b/ios/Instabug.bundle/powerplushome-13.png differ diff --git a/ios/Instabug.bundle/powerplushome-14.png b/ios/Instabug.bundle/powerplushome-14.png new file mode 100644 index 0000000..645b08b Binary files /dev/null and b/ios/Instabug.bundle/powerplushome-14.png differ diff --git a/ios/Instabug.bundle/powerplushome-15.png b/ios/Instabug.bundle/powerplushome-15.png new file mode 100644 index 0000000..7b55976 Binary files /dev/null and b/ios/Instabug.bundle/powerplushome-15.png differ diff --git a/ios/Instabug.bundle/powerplushome-16.png b/ios/Instabug.bundle/powerplushome-16.png new file mode 100644 index 0000000..b8e89fd Binary files /dev/null and b/ios/Instabug.bundle/powerplushome-16.png differ diff --git a/ios/Instabug.bundle/powerplushome-17.png b/ios/Instabug.bundle/powerplushome-17.png new file mode 100644 index 0000000..b8e89fd Binary files /dev/null and b/ios/Instabug.bundle/powerplushome-17.png differ diff --git a/ios/Instabug.bundle/powerplushome-18.png b/ios/Instabug.bundle/powerplushome-18.png new file mode 100644 index 0000000..61eb7fb Binary files /dev/null and b/ios/Instabug.bundle/powerplushome-18.png differ diff --git a/ios/Instabug.bundle/powerplushome-19.png b/ios/Instabug.bundle/powerplushome-19.png new file mode 100644 index 0000000..61eb7fb Binary files /dev/null and b/ios/Instabug.bundle/powerplushome-19.png differ diff --git a/ios/Instabug.bundle/powerplushome-2.png b/ios/Instabug.bundle/powerplushome-2.png new file mode 100644 index 0000000..61eb7fb Binary files /dev/null and b/ios/Instabug.bundle/powerplushome-2.png differ diff --git a/ios/Instabug.bundle/powerplushome-20.png b/ios/Instabug.bundle/powerplushome-20.png new file mode 100644 index 0000000..61eb7fb Binary files /dev/null and b/ios/Instabug.bundle/powerplushome-20.png differ diff --git a/ios/Instabug.bundle/powerplushome-21.png b/ios/Instabug.bundle/powerplushome-21.png new file mode 100644 index 0000000..61eb7fb Binary files /dev/null and b/ios/Instabug.bundle/powerplushome-21.png differ diff --git a/ios/Instabug.bundle/powerplushome-22.png b/ios/Instabug.bundle/powerplushome-22.png new file mode 100644 index 0000000..61eb7fb Binary files /dev/null and b/ios/Instabug.bundle/powerplushome-22.png differ diff --git a/ios/Instabug.bundle/powerplushome-23.png b/ios/Instabug.bundle/powerplushome-23.png new file mode 100644 index 0000000..61eb7fb Binary files /dev/null and b/ios/Instabug.bundle/powerplushome-23.png differ diff --git a/ios/Instabug.bundle/powerplushome-24.png b/ios/Instabug.bundle/powerplushome-24.png new file mode 100644 index 0000000..61eb7fb Binary files /dev/null and b/ios/Instabug.bundle/powerplushome-24.png differ diff --git a/ios/Instabug.bundle/powerplushome-25.png b/ios/Instabug.bundle/powerplushome-25.png new file mode 100644 index 0000000..61eb7fb Binary files /dev/null and b/ios/Instabug.bundle/powerplushome-25.png differ diff --git a/ios/Instabug.bundle/powerplushome-26.png b/ios/Instabug.bundle/powerplushome-26.png new file mode 100644 index 0000000..61eb7fb Binary files /dev/null and b/ios/Instabug.bundle/powerplushome-26.png differ diff --git a/ios/Instabug.bundle/powerplushome-27.png b/ios/Instabug.bundle/powerplushome-27.png new file mode 100644 index 0000000..61eb7fb Binary files /dev/null and b/ios/Instabug.bundle/powerplushome-27.png differ diff --git a/ios/Instabug.bundle/powerplushome-28.png b/ios/Instabug.bundle/powerplushome-28.png new file mode 100644 index 0000000..61eb7fb Binary files /dev/null and b/ios/Instabug.bundle/powerplushome-28.png differ diff --git a/ios/Instabug.bundle/powerplushome-29.png b/ios/Instabug.bundle/powerplushome-29.png new file mode 100644 index 0000000..61eb7fb Binary files /dev/null and b/ios/Instabug.bundle/powerplushome-29.png differ diff --git a/ios/Instabug.bundle/powerplushome-3.png b/ios/Instabug.bundle/powerplushome-3.png new file mode 100644 index 0000000..61eb7fb Binary files /dev/null and b/ios/Instabug.bundle/powerplushome-3.png differ diff --git a/ios/Instabug.bundle/powerplushome-30.png b/ios/Instabug.bundle/powerplushome-30.png new file mode 100644 index 0000000..61eb7fb Binary files /dev/null and b/ios/Instabug.bundle/powerplushome-30.png differ diff --git a/ios/Instabug.bundle/powerplushome-4.png b/ios/Instabug.bundle/powerplushome-4.png new file mode 100644 index 0000000..61eb7fb Binary files /dev/null and b/ios/Instabug.bundle/powerplushome-4.png differ diff --git a/ios/Instabug.bundle/powerplushome-5.png b/ios/Instabug.bundle/powerplushome-5.png new file mode 100644 index 0000000..61eb7fb Binary files /dev/null and b/ios/Instabug.bundle/powerplushome-5.png differ diff --git a/ios/Instabug.bundle/powerplushome-6.png b/ios/Instabug.bundle/powerplushome-6.png new file mode 100644 index 0000000..61eb7fb Binary files /dev/null and b/ios/Instabug.bundle/powerplushome-6.png differ diff --git a/ios/Instabug.bundle/powerplushome-7.png b/ios/Instabug.bundle/powerplushome-7.png new file mode 100644 index 0000000..61eb7fb Binary files /dev/null and b/ios/Instabug.bundle/powerplushome-7.png differ diff --git a/ios/Instabug.bundle/powerplushome-8.png b/ios/Instabug.bundle/powerplushome-8.png new file mode 100644 index 0000000..6f8cfff Binary files /dev/null and b/ios/Instabug.bundle/powerplushome-8.png differ diff --git a/ios/Instabug.bundle/powerplushome-9.png b/ios/Instabug.bundle/powerplushome-9.png new file mode 100644 index 0000000..d71e759 Binary files /dev/null and b/ios/Instabug.bundle/powerplushome-9.png differ diff --git a/ios/Instabug.bundle/pt-BR.lproj/InfoPlist.strings b/ios/Instabug.bundle/pt-BR.lproj/InfoPlist.strings new file mode 100644 index 0000000..3967e06 Binary files /dev/null and b/ios/Instabug.bundle/pt-BR.lproj/InfoPlist.strings differ diff --git a/ios/Instabug.bundle/pt-BR.lproj/Localizable.strings b/ios/Instabug.bundle/pt-BR.lproj/Localizable.strings new file mode 100644 index 0000000..095b585 Binary files /dev/null and b/ios/Instabug.bundle/pt-BR.lproj/Localizable.strings differ diff --git a/ios/Instabug.bundle/ru.lproj/InfoPlist.strings b/ios/Instabug.bundle/ru.lproj/InfoPlist.strings new file mode 100644 index 0000000..3967e06 Binary files /dev/null and b/ios/Instabug.bundle/ru.lproj/InfoPlist.strings differ diff --git a/ios/Instabug.bundle/ru.lproj/Localizable.strings b/ios/Instabug.bundle/ru.lproj/Localizable.strings new file mode 100644 index 0000000..e8837c6 Binary files /dev/null and b/ios/Instabug.bundle/ru.lproj/Localizable.strings differ diff --git a/ios/Instabug.bundle/screenshotIcon.png b/ios/Instabug.bundle/screenshotIcon.png new file mode 100644 index 0000000..7e6f43e Binary files /dev/null and b/ios/Instabug.bundle/screenshotIcon.png differ diff --git a/ios/Instabug.bundle/screenshotIcon@2x.png b/ios/Instabug.bundle/screenshotIcon@2x.png new file mode 100644 index 0000000..814bd73 Binary files /dev/null and b/ios/Instabug.bundle/screenshotIcon@2x.png differ diff --git a/ios/Instabug.bundle/screenshotIcon@3x.png b/ios/Instabug.bundle/screenshotIcon@3x.png new file mode 100644 index 0000000..fd3e3b5 Binary files /dev/null and b/ios/Instabug.bundle/screenshotIcon@3x.png differ diff --git a/ios/Instabug.bundle/send.png b/ios/Instabug.bundle/send.png new file mode 100644 index 0000000..3278a99 Binary files /dev/null and b/ios/Instabug.bundle/send.png differ diff --git a/ios/Instabug.bundle/send@2x.png b/ios/Instabug.bundle/send@2x.png new file mode 100644 index 0000000..6e0e730 Binary files /dev/null and b/ios/Instabug.bundle/send@2x.png differ diff --git a/ios/Instabug.bundle/send@3x.png b/ios/Instabug.bundle/send@3x.png new file mode 100644 index 0000000..870872e Binary files /dev/null and b/ios/Instabug.bundle/send@3x.png differ diff --git a/ios/Instabug.bundle/shake-1.png b/ios/Instabug.bundle/shake-1.png new file mode 100644 index 0000000..89b3984 Binary files /dev/null and b/ios/Instabug.bundle/shake-1.png differ diff --git a/ios/Instabug.bundle/shake-10.png b/ios/Instabug.bundle/shake-10.png new file mode 100644 index 0000000..d4b339f Binary files /dev/null and b/ios/Instabug.bundle/shake-10.png differ diff --git a/ios/Instabug.bundle/shake-11.png b/ios/Instabug.bundle/shake-11.png new file mode 100644 index 0000000..2dd10e6 Binary files /dev/null and b/ios/Instabug.bundle/shake-11.png differ diff --git a/ios/Instabug.bundle/shake-12.png b/ios/Instabug.bundle/shake-12.png new file mode 100644 index 0000000..2dd10e6 Binary files /dev/null and b/ios/Instabug.bundle/shake-12.png differ diff --git a/ios/Instabug.bundle/shake-13.png b/ios/Instabug.bundle/shake-13.png new file mode 100644 index 0000000..e8c15ad Binary files /dev/null and b/ios/Instabug.bundle/shake-13.png differ diff --git a/ios/Instabug.bundle/shake-14.png b/ios/Instabug.bundle/shake-14.png new file mode 100644 index 0000000..504b94d Binary files /dev/null and b/ios/Instabug.bundle/shake-14.png differ diff --git a/ios/Instabug.bundle/shake-15.png b/ios/Instabug.bundle/shake-15.png new file mode 100644 index 0000000..d6d2439 Binary files /dev/null and b/ios/Instabug.bundle/shake-15.png differ diff --git a/ios/Instabug.bundle/shake-16.png b/ios/Instabug.bundle/shake-16.png new file mode 100644 index 0000000..9b5a849 Binary files /dev/null and b/ios/Instabug.bundle/shake-16.png differ diff --git a/ios/Instabug.bundle/shake-17.png b/ios/Instabug.bundle/shake-17.png new file mode 100644 index 0000000..9b5a849 Binary files /dev/null and b/ios/Instabug.bundle/shake-17.png differ diff --git a/ios/Instabug.bundle/shake-18.png b/ios/Instabug.bundle/shake-18.png new file mode 100644 index 0000000..58c49b5 Binary files /dev/null and b/ios/Instabug.bundle/shake-18.png differ diff --git a/ios/Instabug.bundle/shake-19.png b/ios/Instabug.bundle/shake-19.png new file mode 100644 index 0000000..6777704 Binary files /dev/null and b/ios/Instabug.bundle/shake-19.png differ diff --git a/ios/Instabug.bundle/shake-2.png b/ios/Instabug.bundle/shake-2.png new file mode 100644 index 0000000..89b3984 Binary files /dev/null and b/ios/Instabug.bundle/shake-2.png differ diff --git a/ios/Instabug.bundle/shake-20.png b/ios/Instabug.bundle/shake-20.png new file mode 100644 index 0000000..5a0c45a Binary files /dev/null and b/ios/Instabug.bundle/shake-20.png differ diff --git a/ios/Instabug.bundle/shake-21.png b/ios/Instabug.bundle/shake-21.png new file mode 100644 index 0000000..7a20433 Binary files /dev/null and b/ios/Instabug.bundle/shake-21.png differ diff --git a/ios/Instabug.bundle/shake-22.png b/ios/Instabug.bundle/shake-22.png new file mode 100644 index 0000000..7a20433 Binary files /dev/null and b/ios/Instabug.bundle/shake-22.png differ diff --git a/ios/Instabug.bundle/shake-23.png b/ios/Instabug.bundle/shake-23.png new file mode 100644 index 0000000..57b953a Binary files /dev/null and b/ios/Instabug.bundle/shake-23.png differ diff --git a/ios/Instabug.bundle/shake-24.png b/ios/Instabug.bundle/shake-24.png new file mode 100644 index 0000000..7aa892e Binary files /dev/null and b/ios/Instabug.bundle/shake-24.png differ diff --git a/ios/Instabug.bundle/shake-25.png b/ios/Instabug.bundle/shake-25.png new file mode 100644 index 0000000..d4b339f Binary files /dev/null and b/ios/Instabug.bundle/shake-25.png differ diff --git a/ios/Instabug.bundle/shake-26.png b/ios/Instabug.bundle/shake-26.png new file mode 100644 index 0000000..2dd10e6 Binary files /dev/null and b/ios/Instabug.bundle/shake-26.png differ diff --git a/ios/Instabug.bundle/shake-27.png b/ios/Instabug.bundle/shake-27.png new file mode 100644 index 0000000..2dd10e6 Binary files /dev/null and b/ios/Instabug.bundle/shake-27.png differ diff --git a/ios/Instabug.bundle/shake-28.png b/ios/Instabug.bundle/shake-28.png new file mode 100644 index 0000000..e8c15ad Binary files /dev/null and b/ios/Instabug.bundle/shake-28.png differ diff --git a/ios/Instabug.bundle/shake-29.png b/ios/Instabug.bundle/shake-29.png new file mode 100644 index 0000000..a4c73b9 Binary files /dev/null and b/ios/Instabug.bundle/shake-29.png differ diff --git a/ios/Instabug.bundle/shake-3.png b/ios/Instabug.bundle/shake-3.png new file mode 100644 index 0000000..b40f663 Binary files /dev/null and b/ios/Instabug.bundle/shake-3.png differ diff --git a/ios/Instabug.bundle/shake-30.png b/ios/Instabug.bundle/shake-30.png new file mode 100644 index 0000000..8216ace Binary files /dev/null and b/ios/Instabug.bundle/shake-30.png differ diff --git a/ios/Instabug.bundle/shake-31.png b/ios/Instabug.bundle/shake-31.png new file mode 100644 index 0000000..5d8ff72 Binary files /dev/null and b/ios/Instabug.bundle/shake-31.png differ diff --git a/ios/Instabug.bundle/shake-32.png b/ios/Instabug.bundle/shake-32.png new file mode 100644 index 0000000..5d8ff72 Binary files /dev/null and b/ios/Instabug.bundle/shake-32.png differ diff --git a/ios/Instabug.bundle/shake-33.png b/ios/Instabug.bundle/shake-33.png new file mode 100644 index 0000000..fd251c6 Binary files /dev/null and b/ios/Instabug.bundle/shake-33.png differ diff --git a/ios/Instabug.bundle/shake-34.png b/ios/Instabug.bundle/shake-34.png new file mode 100644 index 0000000..fd251c6 Binary files /dev/null and b/ios/Instabug.bundle/shake-34.png differ diff --git a/ios/Instabug.bundle/shake-35.png b/ios/Instabug.bundle/shake-35.png new file mode 100644 index 0000000..fd251c6 Binary files /dev/null and b/ios/Instabug.bundle/shake-35.png differ diff --git a/ios/Instabug.bundle/shake-36.png b/ios/Instabug.bundle/shake-36.png new file mode 100644 index 0000000..fd251c6 Binary files /dev/null and b/ios/Instabug.bundle/shake-36.png differ diff --git a/ios/Instabug.bundle/shake-37.png b/ios/Instabug.bundle/shake-37.png new file mode 100644 index 0000000..fd251c6 Binary files /dev/null and b/ios/Instabug.bundle/shake-37.png differ diff --git a/ios/Instabug.bundle/shake-38.png b/ios/Instabug.bundle/shake-38.png new file mode 100644 index 0000000..fd251c6 Binary files /dev/null and b/ios/Instabug.bundle/shake-38.png differ diff --git a/ios/Instabug.bundle/shake-39.png b/ios/Instabug.bundle/shake-39.png new file mode 100644 index 0000000..fd251c6 Binary files /dev/null and b/ios/Instabug.bundle/shake-39.png differ diff --git a/ios/Instabug.bundle/shake-4.png b/ios/Instabug.bundle/shake-4.png new file mode 100644 index 0000000..e59164d Binary files /dev/null and b/ios/Instabug.bundle/shake-4.png differ diff --git a/ios/Instabug.bundle/shake-40.png b/ios/Instabug.bundle/shake-40.png new file mode 100644 index 0000000..fd251c6 Binary files /dev/null and b/ios/Instabug.bundle/shake-40.png differ diff --git a/ios/Instabug.bundle/shake-41.png b/ios/Instabug.bundle/shake-41.png new file mode 100644 index 0000000..fd251c6 Binary files /dev/null and b/ios/Instabug.bundle/shake-41.png differ diff --git a/ios/Instabug.bundle/shake-42.png b/ios/Instabug.bundle/shake-42.png new file mode 100644 index 0000000..fd251c6 Binary files /dev/null and b/ios/Instabug.bundle/shake-42.png differ diff --git a/ios/Instabug.bundle/shake-5.png b/ios/Instabug.bundle/shake-5.png new file mode 100644 index 0000000..268b6e0 Binary files /dev/null and b/ios/Instabug.bundle/shake-5.png differ diff --git a/ios/Instabug.bundle/shake-6.png b/ios/Instabug.bundle/shake-6.png new file mode 100644 index 0000000..33f2388 Binary files /dev/null and b/ios/Instabug.bundle/shake-6.png differ diff --git a/ios/Instabug.bundle/shake-7.png b/ios/Instabug.bundle/shake-7.png new file mode 100644 index 0000000..33f2388 Binary files /dev/null and b/ios/Instabug.bundle/shake-7.png differ diff --git a/ios/Instabug.bundle/shake-8.png b/ios/Instabug.bundle/shake-8.png new file mode 100644 index 0000000..57b953a Binary files /dev/null and b/ios/Instabug.bundle/shake-8.png differ diff --git a/ios/Instabug.bundle/shake-9.png b/ios/Instabug.bundle/shake-9.png new file mode 100644 index 0000000..7aa892e Binary files /dev/null and b/ios/Instabug.bundle/shake-9.png differ diff --git a/ios/Instabug.bundle/stoprecording.png b/ios/Instabug.bundle/stoprecording.png new file mode 100644 index 0000000..4904eb2 Binary files /dev/null and b/ios/Instabug.bundle/stoprecording.png differ diff --git a/ios/Instabug.bundle/stoprecording@2x.png b/ios/Instabug.bundle/stoprecording@2x.png new file mode 100644 index 0000000..7492e93 Binary files /dev/null and b/ios/Instabug.bundle/stoprecording@2x.png differ diff --git a/ios/Instabug.bundle/stoprecording@3x.png b/ios/Instabug.bundle/stoprecording@3x.png new file mode 100644 index 0000000..3c2c3cb Binary files /dev/null and b/ios/Instabug.bundle/stoprecording@3x.png differ diff --git a/ios/Instabug.bundle/sv.lproj/InfoPlist.strings b/ios/Instabug.bundle/sv.lproj/InfoPlist.strings new file mode 100644 index 0000000..3967e06 Binary files /dev/null and b/ios/Instabug.bundle/sv.lproj/InfoPlist.strings differ diff --git a/ios/Instabug.bundle/sv.lproj/Localizable.strings b/ios/Instabug.bundle/sv.lproj/Localizable.strings new file mode 100644 index 0000000..aa8ecac Binary files /dev/null and b/ios/Instabug.bundle/sv.lproj/Localizable.strings differ diff --git a/ios/Instabug.bundle/talk_to_us.png b/ios/Instabug.bundle/talk_to_us.png new file mode 100644 index 0000000..6ecb1f7 Binary files /dev/null and b/ios/Instabug.bundle/talk_to_us.png differ diff --git a/ios/Instabug.bundle/talk_to_us@2x.png b/ios/Instabug.bundle/talk_to_us@2x.png new file mode 100644 index 0000000..4601403 Binary files /dev/null and b/ios/Instabug.bundle/talk_to_us@2x.png differ diff --git a/ios/Instabug.bundle/talk_to_us@3x.png b/ios/Instabug.bundle/talk_to_us@3x.png new file mode 100644 index 0000000..5594369 Binary files /dev/null and b/ios/Instabug.bundle/talk_to_us@3x.png differ diff --git a/ios/Instabug.bundle/tap.png b/ios/Instabug.bundle/tap.png new file mode 100644 index 0000000..e0235df Binary files /dev/null and b/ios/Instabug.bundle/tap.png differ diff --git a/ios/Instabug.bundle/tap@2x.png b/ios/Instabug.bundle/tap@2x.png new file mode 100644 index 0000000..b71a7ac Binary files /dev/null and b/ios/Instabug.bundle/tap@2x.png differ diff --git a/ios/Instabug.bundle/tap@3x.png b/ios/Instabug.bundle/tap@3x.png new file mode 100644 index 0000000..ae559c1 Binary files /dev/null and b/ios/Instabug.bundle/tap@3x.png differ diff --git a/ios/Instabug.bundle/tr.lproj/InfoPlist.strings b/ios/Instabug.bundle/tr.lproj/InfoPlist.strings new file mode 100644 index 0000000..3967e06 Binary files /dev/null and b/ios/Instabug.bundle/tr.lproj/InfoPlist.strings differ diff --git a/ios/Instabug.bundle/tr.lproj/Localizable.strings b/ios/Instabug.bundle/tr.lproj/Localizable.strings new file mode 100644 index 0000000..c8466c8 Binary files /dev/null and b/ios/Instabug.bundle/tr.lproj/Localizable.strings differ diff --git a/ios/Instabug.bundle/twofingers-1.png b/ios/Instabug.bundle/twofingers-1.png new file mode 100644 index 0000000..e609e2a Binary files /dev/null and b/ios/Instabug.bundle/twofingers-1.png differ diff --git a/ios/Instabug.bundle/twofingers-10.png b/ios/Instabug.bundle/twofingers-10.png new file mode 100644 index 0000000..20007e4 Binary files /dev/null and b/ios/Instabug.bundle/twofingers-10.png differ diff --git a/ios/Instabug.bundle/twofingers-11.png b/ios/Instabug.bundle/twofingers-11.png new file mode 100644 index 0000000..13cbb26 Binary files /dev/null and b/ios/Instabug.bundle/twofingers-11.png differ diff --git a/ios/Instabug.bundle/twofingers-12.png b/ios/Instabug.bundle/twofingers-12.png new file mode 100644 index 0000000..13cbb26 Binary files /dev/null and b/ios/Instabug.bundle/twofingers-12.png differ diff --git a/ios/Instabug.bundle/twofingers-13.png b/ios/Instabug.bundle/twofingers-13.png new file mode 100644 index 0000000..d70d484 Binary files /dev/null and b/ios/Instabug.bundle/twofingers-13.png differ diff --git a/ios/Instabug.bundle/twofingers-14.png b/ios/Instabug.bundle/twofingers-14.png new file mode 100644 index 0000000..e1d434f Binary files /dev/null and b/ios/Instabug.bundle/twofingers-14.png differ diff --git a/ios/Instabug.bundle/twofingers-15.png b/ios/Instabug.bundle/twofingers-15.png new file mode 100644 index 0000000..0c15b6a Binary files /dev/null and b/ios/Instabug.bundle/twofingers-15.png differ diff --git a/ios/Instabug.bundle/twofingers-16.png b/ios/Instabug.bundle/twofingers-16.png new file mode 100644 index 0000000..56d0e05 Binary files /dev/null and b/ios/Instabug.bundle/twofingers-16.png differ diff --git a/ios/Instabug.bundle/twofingers-17.png b/ios/Instabug.bundle/twofingers-17.png new file mode 100644 index 0000000..56d0e05 Binary files /dev/null and b/ios/Instabug.bundle/twofingers-17.png differ diff --git a/ios/Instabug.bundle/twofingers-18.png b/ios/Instabug.bundle/twofingers-18.png new file mode 100644 index 0000000..1aabbbb Binary files /dev/null and b/ios/Instabug.bundle/twofingers-18.png differ diff --git a/ios/Instabug.bundle/twofingers-19.png b/ios/Instabug.bundle/twofingers-19.png new file mode 100644 index 0000000..874758d Binary files /dev/null and b/ios/Instabug.bundle/twofingers-19.png differ diff --git a/ios/Instabug.bundle/twofingers-2.png b/ios/Instabug.bundle/twofingers-2.png new file mode 100644 index 0000000..e609e2a Binary files /dev/null and b/ios/Instabug.bundle/twofingers-2.png differ diff --git a/ios/Instabug.bundle/twofingers-20.png b/ios/Instabug.bundle/twofingers-20.png new file mode 100644 index 0000000..61b9f48 Binary files /dev/null and b/ios/Instabug.bundle/twofingers-20.png differ diff --git a/ios/Instabug.bundle/twofingers-21.png b/ios/Instabug.bundle/twofingers-21.png new file mode 100644 index 0000000..f0671b7 Binary files /dev/null and b/ios/Instabug.bundle/twofingers-21.png differ diff --git a/ios/Instabug.bundle/twofingers-22.png b/ios/Instabug.bundle/twofingers-22.png new file mode 100644 index 0000000..f0671b7 Binary files /dev/null and b/ios/Instabug.bundle/twofingers-22.png differ diff --git a/ios/Instabug.bundle/twofingers-23.png b/ios/Instabug.bundle/twofingers-23.png new file mode 100644 index 0000000..dc68cff Binary files /dev/null and b/ios/Instabug.bundle/twofingers-23.png differ diff --git a/ios/Instabug.bundle/twofingers-24.png b/ios/Instabug.bundle/twofingers-24.png new file mode 100644 index 0000000..c40fb1f Binary files /dev/null and b/ios/Instabug.bundle/twofingers-24.png differ diff --git a/ios/Instabug.bundle/twofingers-25.png b/ios/Instabug.bundle/twofingers-25.png new file mode 100644 index 0000000..c314d0e Binary files /dev/null and b/ios/Instabug.bundle/twofingers-25.png differ diff --git a/ios/Instabug.bundle/twofingers-26.png b/ios/Instabug.bundle/twofingers-26.png new file mode 100644 index 0000000..368ba37 Binary files /dev/null and b/ios/Instabug.bundle/twofingers-26.png differ diff --git a/ios/Instabug.bundle/twofingers-27.png b/ios/Instabug.bundle/twofingers-27.png new file mode 100644 index 0000000..c30a40e Binary files /dev/null and b/ios/Instabug.bundle/twofingers-27.png differ diff --git a/ios/Instabug.bundle/twofingers-28.png b/ios/Instabug.bundle/twofingers-28.png new file mode 100644 index 0000000..5d2ebf7 Binary files /dev/null and b/ios/Instabug.bundle/twofingers-28.png differ diff --git a/ios/Instabug.bundle/twofingers-29.png b/ios/Instabug.bundle/twofingers-29.png new file mode 100644 index 0000000..4ef5e6a Binary files /dev/null and b/ios/Instabug.bundle/twofingers-29.png differ diff --git a/ios/Instabug.bundle/twofingers-3.png b/ios/Instabug.bundle/twofingers-3.png new file mode 100644 index 0000000..69d3528 Binary files /dev/null and b/ios/Instabug.bundle/twofingers-3.png differ diff --git a/ios/Instabug.bundle/twofingers-30.png b/ios/Instabug.bundle/twofingers-30.png new file mode 100644 index 0000000..89e82f3 Binary files /dev/null and b/ios/Instabug.bundle/twofingers-30.png differ diff --git a/ios/Instabug.bundle/twofingers-31.png b/ios/Instabug.bundle/twofingers-31.png new file mode 100644 index 0000000..89e82f3 Binary files /dev/null and b/ios/Instabug.bundle/twofingers-31.png differ diff --git a/ios/Instabug.bundle/twofingers-32.png b/ios/Instabug.bundle/twofingers-32.png new file mode 100644 index 0000000..89e82f3 Binary files /dev/null and b/ios/Instabug.bundle/twofingers-32.png differ diff --git a/ios/Instabug.bundle/twofingers-33.png b/ios/Instabug.bundle/twofingers-33.png new file mode 100644 index 0000000..89e82f3 Binary files /dev/null and b/ios/Instabug.bundle/twofingers-33.png differ diff --git a/ios/Instabug.bundle/twofingers-34.png b/ios/Instabug.bundle/twofingers-34.png new file mode 100644 index 0000000..89e82f3 Binary files /dev/null and b/ios/Instabug.bundle/twofingers-34.png differ diff --git a/ios/Instabug.bundle/twofingers-35.png b/ios/Instabug.bundle/twofingers-35.png new file mode 100644 index 0000000..89e82f3 Binary files /dev/null and b/ios/Instabug.bundle/twofingers-35.png differ diff --git a/ios/Instabug.bundle/twofingers-36.png b/ios/Instabug.bundle/twofingers-36.png new file mode 100644 index 0000000..89e82f3 Binary files /dev/null and b/ios/Instabug.bundle/twofingers-36.png differ diff --git a/ios/Instabug.bundle/twofingers-37.png b/ios/Instabug.bundle/twofingers-37.png new file mode 100644 index 0000000..d4c9d2d Binary files /dev/null and b/ios/Instabug.bundle/twofingers-37.png differ diff --git a/ios/Instabug.bundle/twofingers-38.png b/ios/Instabug.bundle/twofingers-38.png new file mode 100644 index 0000000..d4c9d2d Binary files /dev/null and b/ios/Instabug.bundle/twofingers-38.png differ diff --git a/ios/Instabug.bundle/twofingers-39.png b/ios/Instabug.bundle/twofingers-39.png new file mode 100644 index 0000000..d4c9d2d Binary files /dev/null and b/ios/Instabug.bundle/twofingers-39.png differ diff --git a/ios/Instabug.bundle/twofingers-4.png b/ios/Instabug.bundle/twofingers-4.png new file mode 100644 index 0000000..aa613c4 Binary files /dev/null and b/ios/Instabug.bundle/twofingers-4.png differ diff --git a/ios/Instabug.bundle/twofingers-5.png b/ios/Instabug.bundle/twofingers-5.png new file mode 100644 index 0000000..f3bc2f3 Binary files /dev/null and b/ios/Instabug.bundle/twofingers-5.png differ diff --git a/ios/Instabug.bundle/twofingers-6.png b/ios/Instabug.bundle/twofingers-6.png new file mode 100644 index 0000000..a9584c8 Binary files /dev/null and b/ios/Instabug.bundle/twofingers-6.png differ diff --git a/ios/Instabug.bundle/twofingers-7.png b/ios/Instabug.bundle/twofingers-7.png new file mode 100644 index 0000000..a9584c8 Binary files /dev/null and b/ios/Instabug.bundle/twofingers-7.png differ diff --git a/ios/Instabug.bundle/twofingers-8.png b/ios/Instabug.bundle/twofingers-8.png new file mode 100644 index 0000000..975079c Binary files /dev/null and b/ios/Instabug.bundle/twofingers-8.png differ diff --git a/ios/Instabug.bundle/twofingers-9.png b/ios/Instabug.bundle/twofingers-9.png new file mode 100644 index 0000000..0a20577 Binary files /dev/null and b/ios/Instabug.bundle/twofingers-9.png differ diff --git a/ios/Instabug.bundle/video.png b/ios/Instabug.bundle/video.png new file mode 100644 index 0000000..090dbc5 Binary files /dev/null and b/ios/Instabug.bundle/video.png differ diff --git a/ios/Instabug.bundle/video@2x.png b/ios/Instabug.bundle/video@2x.png new file mode 100644 index 0000000..8ef855d Binary files /dev/null and b/ios/Instabug.bundle/video@2x.png differ diff --git a/ios/Instabug.bundle/video@3x.png b/ios/Instabug.bundle/video@3x.png new file mode 100644 index 0000000..738d172 Binary files /dev/null and b/ios/Instabug.bundle/video@3x.png differ diff --git a/ios/Instabug.bundle/video_attachment-IBGColorThemeDark.png b/ios/Instabug.bundle/video_attachment-IBGColorThemeDark.png new file mode 100644 index 0000000..f85dde6 Binary files /dev/null and b/ios/Instabug.bundle/video_attachment-IBGColorThemeDark.png differ diff --git a/ios/Instabug.bundle/video_attachment-IBGColorThemeDark@2x.png b/ios/Instabug.bundle/video_attachment-IBGColorThemeDark@2x.png new file mode 100644 index 0000000..2e90b15 Binary files /dev/null and b/ios/Instabug.bundle/video_attachment-IBGColorThemeDark@2x.png differ diff --git a/ios/Instabug.bundle/video_attachment-IBGColorThemeDark@3x.png b/ios/Instabug.bundle/video_attachment-IBGColorThemeDark@3x.png new file mode 100644 index 0000000..6d09643 Binary files /dev/null and b/ios/Instabug.bundle/video_attachment-IBGColorThemeDark@3x.png differ diff --git a/ios/Instabug.bundle/video_attachment.png b/ios/Instabug.bundle/video_attachment.png new file mode 100644 index 0000000..f85dde6 Binary files /dev/null and b/ios/Instabug.bundle/video_attachment.png differ diff --git a/ios/Instabug.bundle/video_attachment@2x.png b/ios/Instabug.bundle/video_attachment@2x.png new file mode 100644 index 0000000..2e90b15 Binary files /dev/null and b/ios/Instabug.bundle/video_attachment@2x.png differ diff --git a/ios/Instabug.bundle/video_attachment@3x.png b/ios/Instabug.bundle/video_attachment@3x.png new file mode 100644 index 0000000..6d09643 Binary files /dev/null and b/ios/Instabug.bundle/video_attachment@3x.png differ diff --git a/ios/Instabug.bundle/voice.png b/ios/Instabug.bundle/voice.png new file mode 100644 index 0000000..9518395 Binary files /dev/null and b/ios/Instabug.bundle/voice.png differ diff --git a/ios/Instabug.bundle/voice@2x.png b/ios/Instabug.bundle/voice@2x.png new file mode 100644 index 0000000..bf2d506 Binary files /dev/null and b/ios/Instabug.bundle/voice@2x.png differ diff --git a/ios/Instabug.bundle/voice@3x.png b/ios/Instabug.bundle/voice@3x.png new file mode 100644 index 0000000..9617586 Binary files /dev/null and b/ios/Instabug.bundle/voice@3x.png differ diff --git a/ios/Instabug.bundle/voice_attachment-IBGColorThemeDark.png b/ios/Instabug.bundle/voice_attachment-IBGColorThemeDark.png new file mode 100644 index 0000000..181234f Binary files /dev/null and b/ios/Instabug.bundle/voice_attachment-IBGColorThemeDark.png differ diff --git a/ios/Instabug.bundle/voice_attachment-IBGColorThemeDark@2x.png b/ios/Instabug.bundle/voice_attachment-IBGColorThemeDark@2x.png new file mode 100644 index 0000000..bfb2930 Binary files /dev/null and b/ios/Instabug.bundle/voice_attachment-IBGColorThemeDark@2x.png differ diff --git a/ios/Instabug.bundle/voice_attachment-IBGColorThemeDark@3x.png b/ios/Instabug.bundle/voice_attachment-IBGColorThemeDark@3x.png new file mode 100644 index 0000000..33c97d2 Binary files /dev/null and b/ios/Instabug.bundle/voice_attachment-IBGColorThemeDark@3x.png differ diff --git a/ios/Instabug.bundle/voice_attachment.png b/ios/Instabug.bundle/voice_attachment.png new file mode 100644 index 0000000..181234f Binary files /dev/null and b/ios/Instabug.bundle/voice_attachment.png differ diff --git a/ios/Instabug.bundle/voice_attachment@2x.png b/ios/Instabug.bundle/voice_attachment@2x.png new file mode 100644 index 0000000..bfb2930 Binary files /dev/null and b/ios/Instabug.bundle/voice_attachment@2x.png differ diff --git a/ios/Instabug.bundle/voice_attachment@3x.png b/ios/Instabug.bundle/voice_attachment@3x.png new file mode 100644 index 0000000..33c97d2 Binary files /dev/null and b/ios/Instabug.bundle/voice_attachment@3x.png differ diff --git a/ios/Instabug.bundle/zh-Hans.lproj/InfoPlist.strings b/ios/Instabug.bundle/zh-Hans.lproj/InfoPlist.strings new file mode 100644 index 0000000..3967e06 Binary files /dev/null and b/ios/Instabug.bundle/zh-Hans.lproj/InfoPlist.strings differ diff --git a/ios/Instabug.bundle/zh-Hans.lproj/Localizable.strings b/ios/Instabug.bundle/zh-Hans.lproj/Localizable.strings new file mode 100644 index 0000000..47368a7 Binary files /dev/null and b/ios/Instabug.bundle/zh-Hans.lproj/Localizable.strings differ diff --git a/ios/Instabug.bundle/zh-Hant.lproj/InfoPlist.strings b/ios/Instabug.bundle/zh-Hant.lproj/InfoPlist.strings new file mode 100644 index 0000000..3967e06 Binary files /dev/null and b/ios/Instabug.bundle/zh-Hant.lproj/InfoPlist.strings differ diff --git a/ios/Instabug.bundle/zh-Hant.lproj/Localizable.strings b/ios/Instabug.bundle/zh-Hant.lproj/Localizable.strings new file mode 100644 index 0000000..f0cd943 Binary files /dev/null and b/ios/Instabug.bundle/zh-Hant.lproj/Localizable.strings differ diff --git a/ios/Instabug.framework/Headers/IBGEnums.h b/ios/Instabug.framework/Headers/IBGEnums.h new file mode 100644 index 0000000..f8f3579 --- /dev/null +++ b/ios/Instabug.framework/Headers/IBGEnums.h @@ -0,0 +1,190 @@ +// +// IBGEnums.h +// IBGSDK +// +// Created by Instabug on 7/21/14. +// Copyright (c) 2014 Instabug. All rights reserved. +// + +//=========================================================================================================================================== +// Enums +//=========================================================================================================================================== +/** + * The event used to invoke the feedback form + */ +typedef NS_ENUM(NSInteger, IBGInvocationEvent) { + // No event will be registered to show the feedback form, you'll need to code your own and call the method showFeedbackForm + IBGInvocationEventNone, + // Shaking the device while in any screen to show the feedback form + IBGInvocationEventShake, + // Taking a screenshot using the Home+Lock buttons while in any screen to show the feedback form, substituted with IBGInvocationEventShake on iOS 6.1.3 and earlier + IBGInvocationEventScreenshot, + // Swiping two fingers left while in any screen to show the feedback form + IBGInvocationEventTwoFingersSwipeLeft, + // Swiping one finger left from the right edge of the screen to show the feedback form, substituted with IBGInvocationEventTwoFingersSwipeLeft on iOS 6.1.3 and earlier + IBGInvocationEventRightEdgePan, + // Shows a floating button on top of all views, when pressed it takes a screenshot + IBGInvocationEventFloatingButton +}; + +/** + * The color theme of the different UI elements + */ +typedef NS_ENUM(NSInteger, IBGColorTheme) { + IBGColorThemeLight, + IBGColorThemeDark +}; + +/** + * The mode used upon invocating the SDK + */ +typedef NS_ENUM(NSInteger, IBGInvocationMode) { + IBGInvocationModeNA, + IBGInvocationModeBugReporter __attribute__((deprecated)), + IBGInvocationModeFeedbackSender __attribute__((deprecated)), + IBGInvocationModeNewBug, + IBGInvocationModeNewFeedback, + IBGInvocationModeNewChat, + IBGInvocationModeChatsList +}; + +/** + * Type of report to be submit + */ +typedef NS_ENUM(NSInteger, IBGReportType) { + IBGReportTypeBug, + IBGReportTypeFeedback +}; + +/** + * Type of feedback to be submit + */ +__attribute__((deprecated)) +typedef NS_ENUM(NSInteger, IBGFeedbackType) { + IBGFeedbackTypeBug, + IBGFeedbackTypeFeedback, + IBGFeedbackTypeCrash +}; + +/** + * State of Issue after SDK dismiss + */ +__attribute__((deprecated)) +typedef NS_ENUM(NSInteger, IBGIssueState) { + // Issue is submitted + IBGIssueSubmitted, + // Issue is cancelled + IBGIssueCancelled, + // Issue is in progress, adding extra screenshot + IBGIssueInProgress +}; + +/** + * Type of SDK dismiss + */ +typedef NS_ENUM(NSInteger, IBGDismissType) { + // Dismissed after report submit + IBGDismissTypeSubmit, + // Dismissed via cancel + IBGDismissTypeCancel, + // Dismissed while taking screenshot + IBGDismissTypeAddAttachment +}; + +/** + * The supported locales + */ +typedef NS_ENUM(NSInteger, IBGLocale) { + IBGLocaleArabic, + IBGLocaleChineseSimplified, + IBGLocaleChineseTraditional, + IBGLocaleCzech, + IBGLocaleDanish, + IBGLocaleEnglish, + IBGLocaleFrench, + IBGLocaleGerman, + IBGLocaleItalian, + IBGLocaleJapanese, + IBGLocaleKorean, + IBGLocalePolish, + IBGLocalePortugueseBrazil, + IBGLocaleRussian, + IBGLocaleSpanish, + IBGLocaleSwedish, + IBGLocaleTurkish +}; + +/** + * Instabug strings + */ +typedef NS_ENUM(NSInteger, IBGString) { + //" your device to talk to us" + IBGShakeHint, + //" to talk to us" + IBGSwipeHint, + //" to talk to us" + IBGEdgeSwipeStartHint, + //"We love to hear your feedback" + IBGStartAlertText, + //"Please enter a valid email" + IBGInvalidEmailMessage, + //"Invalid Email" + IBGInvalidEmailTitle, + //"Please enter a valid comment" + IBGInvalidCommentMessage, + //"Invalid Comment" + IBGInvalidCommentTitle, + //"Help & Feedback" + IBGInvocationHeader, + //"Talk to us" + IBGTalkToUs, + //"Report bug" + IBGReportBug, + //"Suggest an Improvement" + IBGReportFeedback, + //"Enter your Email" + IBGEmailFieldHint, + //"What went wrong?" + IBGCommentFieldHintForBugReport, + //"How can we improve?" + IBGCommentFieldHintForFeedback, + //"Record a Video Note" + IBGAddVideoMessage, + //"Record a Voice Note" + IBGAddVoiceMessage, + //"Select Image from Gallery" + IBGAddImageFromGallery, + //"Take a Screenshot" + IBGAddExtraScreenshot, + //"Microphone Access Denied" + IBGAudioRecordingPermissionDeniedTitle, + //"You can enable access in Privacy Settings" + IBGAudioRecordingPermissionDeniedMessage, + //"Settings" + IBGMicrophonePermissionAlertSettingsButtonText, + //"Press and Hold to Record" + IBGRecordingMessageToHoldText, + //"Release to Attach" + IBGRecordingMessageToReleaseText, + //"Conversations" + IBGConversationsHeaderTitle, + //"Draw on screenshot" + IBGScreenshotHeaderTitle, + //"No Conversations Yet" + IBGChatsNoConversationsHeadlineText, + //"Done" + IBGDoneButtonText, + //"OK" + IBGOkButtonText, + //"Cancel" + IBGCancelButtonText, + //"Thank you" + IBGThankYouText, + //"Audio" + IBGAudio, + //"Video" + IBGVideo, + //"Image" + IBGImage +}; +//=========================================================================================================================================== diff --git a/ios/Instabug.framework/Headers/Instabug.h b/ios/Instabug.framework/Headers/Instabug.h new file mode 100644 index 0000000..987c191 --- /dev/null +++ b/ios/Instabug.framework/Headers/Instabug.h @@ -0,0 +1,602 @@ +/* + File: Instabug/Instabug.h + + Contains: API for using Instabug's SDK. + + Copyright: (c) 2013-2016 by Instabug, Inc., all rights reserved. + + Version: 5.3.2 + */ + +#import +#import +#import "IBGEnums.h" + +/** + This is the API for using Instabug's SDK. For more details about the SDK integration, + please visit https://instabug.com/developers + */ + +NS_ASSUME_NONNULL_BEGIN +@interface Instabug : NSObject + +/// ------------------------ +/// @name SDK Initialization +/// ------------------------ + +/** + @brief Starts the SDK. + + @discussion This is the main SDK method that does all the magic. This is the only method that SHOULD be called. + Should be called at the end of `-[UIApplicationDelegate application:didFinishLaunchingWithOptions:]`. + + @param token The token that identifies the app, you can find it on your dashboard. + @param invocationEvent The event that invokes the SDK's UI. + + @see IBGInvocationEvent + */ ++ (void)startWithToken:(NSString *)token invocationEvent:(IBGInvocationEvent)invocationEvent; + +/// --------------------------- +/// @name SDK Manual Invocation +/// --------------------------- + +/** + @brief Invokes the SDK manually with the default invocation mode. + + @discussion Shows a view that asks the user whether they want to start a chat, report a problem or suggest an improvement. + */ ++ (void)invoke; + +/** + @brief Invokes the SDK with a specific mode. + + @discussion Invokes the SDK and show a specific view, instead of showing a prompt for users to choose from. + + @param invocationMode Specifies which mode the SDK is going to start with. + + @see IBGInvocationMode + */ ++ (void)invokeWithInvocationMode:(IBGInvocationMode)invocationMode; + +/** + @brief Dismisses any Instabug views that are currently being shown. + */ ++ (void)dismiss; + +/// ---------------------- +/// @name SDK Pro Features +/// ---------------------- + +/** + @brief Attaches a file to each report being sent. + + @discussion A new copy of the file at fileLocation will be attached with each bug report being sent. + Each call to this method overrides the file to be attached. + The file has to be available locally at the provided path. + + @param fileLocation Path to a file that's going to be attached to each report. + */ ++ (void)setFileAttachment:(NSString *)fileLocation; + +/** + @brief Attaches user data to each report being sent. + + @discussion Each call to this method overrides the user data to be attached. + Maximum size of the string is 1,000 characters. + + @param userData A string to be attached to each report, with a maximum size of 1,000 characters. + */ ++ (void)setUserData:(NSString *)userData; + +/** + @brief Adds custom logs that will be sent with each report. + + @discussion Can be used in a similar fashion to NSLog. For usage in Swift, see `Instabug.ibgLog()`. + * + * @param format Format string. + * @param ... Optional varargs arguments. + */ +OBJC_EXTERN void IBGLog(NSString *format, ...) NS_FORMAT_FUNCTION(1, 2); + +/** + @brief Adds custom logs that will be sent with each report. + + @param log Message to be logged. + */ ++ (void)IBGLog:(NSString *)log; + +/** + @brief Sets whether the SDK is tracking user steps or not. + + @discussion Enabling user steps would give you an insight on the scenario a user has performed before encountering a + bug or a crash. User steps are attached with each report being sent. + + User Steps tracking is enabled by default if it's available in your current plan. + + @param isUserStepsEnabled A boolean to set user steps tracking to being enabled or disabled. + */ ++ (void)setUserStepsEnabled:(BOOL)isUserStepsEnabled; + +/** + @brief Sets whether to track and report crashes or not. + + @discussion When enabled, Instabug will automatically report crashes, which can be viewed later on from your dashboard. + + Crash reporting is enabled by default if it's available in your current plan. + + @param isReportingCrashes A boolean to set crash reporting to being enabled or disabled. + */ ++ (void)setCrashReportingEnabled:(BOOL)isReportingCrashes; + +/** + @brief Sets whether In-App Conversations button and notifications are displayed or not. + + @deprecated Starting from v6.0, use `setPromptOptionsEnabled:` instead. + + @discussion When In-App Conversations are disabled, push notifications are disabled as well. + + In-App Conversations is enabled by default if it's available in your current plan. + + @param isInAppConversationsEnabled A boolean to set In-App Conversations to being enabled or disabled. + */ ++ (void)setInAppConversationsEnabled:(BOOL)isInAppConversationsEnabled DEPRECATED_MSG_ATTRIBUTE("Starting from v6.0, use setPromptOptionsEnabled: instead."); + +/** + @brief Sets a block of code to be executed before sending each report. + + @deprecated Starting from v6.0, use `setPreSendingHandler:` instead. + + @discussion This block is executed in the background before sending each report. Could be useful for attaching logs + and extra data to reports. + + @param preSendingBlock A block of code that gets executed before sending each bug report. + */ ++ (void)setPreSendingBlock:(void (^)())preSendingBlock DEPRECATED_MSG_ATTRIBUTE("Starting from v6.0, use setPreSendingHandler: instead."); + +/** + @brief Sets a block of code to be executed before sending each report. + + @discussion This block is executed in the background before sending each report. Could be used for attaching logs + and extra data to reports. + + @param preSendingHandler A block of code that gets executed before sending each bug report. + */ ++ (void)setPreSendingHandler:(void (^)())preSendingHandler; + +/** + @brief Sets a block of code to be executed just before the SDK's UI is presented. + + @deprecated Starting from v6.0, use `setPreInvocationHandler:` instead. + + @discussion This block is executed on the UI thread. Could be used for performing any UI changes before the SDK's UI + is shown. + + @param preInvocationBlock A block of code that gets executed before presenting the SDK's UI. + */ ++ (void)setPreInvocationBlock:(void (^)())preInvocationBlock DEPRECATED_MSG_ATTRIBUTE("Starting from v6.0, use setPreInvocationHandler: instead."); + +/** + @brief Sets a block of code to be executed just before the SDK's UI is presented. + + @discussion This block is executed on the UI thread. Could be used for performing any UI changes before the SDK's UI + is shown. + + @param preInvocationHandler A block of code that gets executed before presenting the SDK's UI. + */ ++ (void)setPreInvocationHandler:(void (^)())preInvocationHandler; + +/** + @brief Sets a block of code to be executed right after the SDK's UI is dismissed. + + @deprecated Starting from v6.0, use `setPostInvocatioHandler:` instead. + + @discussion This block is executed on the UI thread. Could be used for performing any UI changes after the SDK's UI + is dismissed. + + @param postInvocationBlock A block of code that gets executed after the SDK's UI is dismissed. + + The block has the following parameters: + + - issueState: The state of the issue after the SDK has been dismissed. Indicates whether the issues has been submitted, + cancelled, or still in progress. + - feedbackType: Type of feedback that has been sent. Will be set to IBGFeedbackTypeBug in case the SDK has been + dismissed without selecting a report type, so you might need to check issueState before feedbackType. + + @see IBGIssueState, IBGFeedbackType + */ ++ (void)setPostInvocationBlock:(void (^)(IBGIssueState issueState, IBGFeedbackType feedbackType))postInvocationBlock DEPRECATED_MSG_ATTRIBUTE("Starting from v6.0, use setPostInvocatioHandler: instead."); + +/** + @brief Sets a block of code to be executed right after the SDK's UI is dismissed. + + @discussion This block is executed on the UI thread. Could be used for performing any UI changes after the SDK's UI + is dismissed. + + @param postInvocationHandler A block of code that gets executed after the SDK's UI is dismissed. + + The block has the following parameters: + + - dismissType: How the SDK was dismissed. + - reportType: Type of report that has been sent. Will be set to IBGReportTypeBug in case the SDK has been dismissed + without selecting a report type, so you might need to check issueState before reportType + + @see IBGReportType, IBGDismissType + */ ++ (void)setPostInvocatioHandler:(void (^)(IBGDismissType dismissType, IBGReportType reportType))postInvocationHandler; + +/** + @brief Present a view that educates the user on how to invoke the SDK with the currently set invocation event. + */ ++ (void)showIntroMessage; + +/** + @brief Enables/disables the attachment of an initial screenshot when reporting a bug/improvement. + + @deprecated Starting from v6.0, use + `setAttachmentTypesEnabledScreenShot:extraScreenShot:galleryImage:voiceNote:screenRecording:` instead. + + @param willTakeScreenshot A boolean to set whether attachment of an initial screenshot is enabled or disabled. + */ ++ (void)setWillTakeScreenshot:(BOOL)willTakeScreenshot DEPRECATED_MSG_ATTRIBUTE("Starting from v6.0, use setAttachmentTypesEnabledScreenShot:extraScreenShot:galleryImage:voiceNote:screenRecording: instead."); + +/** + @brief Sets the default value of the user's email and hides the email field from the reporting UI. + + @discussion Defaults to an empty string. + + @param userEmail An email address to be set as the user's email. + */ ++ (void)setUserEmail:(NSString *)userEmail; + +/** + @brief Sets the default value of the user's name to be included with all reports. + + @discussion Defaults to an empty string. + + @param userName Name of the user to be set. + */ ++ (void)setUserName:(NSString *)userName; + +/** + @brief Enables/disables screenshot view when reporting a bug/improvement. + + @deprecated Starting from v6.0, use `setWillSkipScreenshotAnnotation:` instead. + + @discussion By default, screenshot view is shown when reporting a bug, but not when sending feedback. + + @param willShowScreenshotView A boolean to set whether screenshot view is shown or not. Passing YES will show + screenshot view for both feedback and bug reporting, while passing NO will disable it for both. + */ ++ (void)setWillShowScreenshotView:(BOOL)willShowScreenshotView DEPRECATED_MSG_ATTRIBUTE("Starting from v6.0, use setWillSkipScreenshotAnnotation: instead."); + +/** + @brief Enables/disables screenshot view when reporting a bug/improvement. + + @discussion By default, screenshot view is shown when reporting a bug, but not when sending feedback. + + @param willSkipScreenShot A boolean to set whether screenshot view is shown or not. Passing YES will show + screenshot view for both feedback and bug reporting, while passing NO will disable it for both. + */ ++ (void)setWillSkipScreenshotAnnotation:(BOOL)willSkipScreenShot; + +/** + @brief Returns the number of unread messages the user currently has. + + @discussion Use this method to get the number of unread messages the user has, then possibly notify them about it with + your own UI. + + @return Notifications count, or -1 incase the SDK has not been initialized. + */ ++ (NSInteger)getUnreadMessagesCount; + +/// ------------------ +/// @name SDK Settings +/// ------------------ + +/** + @brief Sets the event that invoke the feedback form. + + @discussion Default is set by `startWithToken:invocationEvent:`. + + @param invocationEvent Event that invokes the feedback form. + + @see IBGInvocationEvent + */ ++ (void)setInvocationEvent:(IBGInvocationEvent)invocationEvent; + +/** + @brief Sets the default SDK invocation mode. + + @deprecated Starting from v6.0, use `setPromptOptionsEnabledWithBug:feedback:chat:` instead. + + @discussion Defaults to IBGInvocationModeNA. + + @param invocationMode A mode that's used to invoke the SDK. + + @see IBGInvocationMode + */ ++ (void)setDefaultInvocationMode:(IBGInvocationMode)invocationMode DEPRECATED_MSG_ATTRIBUTE("Starting from v6.0, use setPromptOptionsEnabledWithBug:feedback:chat: instead"); + +/** + @brief Enables/disables the use of push notifications in the SDK. + + @discussion In order to enable push notifications, implement + `-[UIApplicationDelegate application:didRegisterForRemoteNotificationsWithDeviceToken:]` and either + `-[UIApplicationDelegate application:didReceiveRemoteNotification]` or + `-[UIApplicationDelegate application:didReceiveRemoteNotification:fetchCompletionHandler:]`. + + Defaults to YES. + + @param isPushNotificationsEnabled A boolean to indicate whether push notifications are enabled or disabled. + */ ++ (void)setPushNotificationsEnabled:(BOOL)isPushNotificationsEnabled; + +/** + @brief Sets whether users are required to enter an email address or not when sending reports. + + @discussion Defaults to YES. + + @param isEmailFieldRequired A boolean to indicate whether email field is required or not. + */ ++ (void)setEmailFieldRequired:(BOOL)isEmailFieldRequired; + +/** + @brief Sets whether users are required to enter a comment or not when sending reports. + + @discussion Defaults to NO. + + @param isCommentFieldRequired A boolean to indicate whether comment field is required or not. + */ ++ (void)setCommentFieldRequired:(BOOL)isCommentFieldRequired; + +/** + @brief Sets the threshold value of the shake gesture for iPhone/iPod Touch and iPad. + + @discussion Default for iPhone is 2.5. + Default for iPad is 0.6. + + @param iPhoneShakingThreshold Threshold for iPhone. + @param iPadShakingThreshold Threshold for iPad. + */ ++ (void)setShakingThresholdForiPhone:(double)iPhoneShakingThreshold foriPad:(double)iPadShakingThreshold; + +/** + @brief Sets the default edge and offset from the top at which the floating button will be shown. Different orientations + are already handled. + + @discussion Default for `floatingButtonEdge` is `CGRectMaxXEdge`. + Default for `floatingButtonOffsetFromTop` is 50 + + @param floatingButtonEdge `CGRectMaxXEdge` to show on the right, or `CGRectMinXEdge` to show on the left. + @param floatingButtonOffsetFromTop Top offset for floating button. + */ ++ (void)setFloatingButtonEdge:(CGRectEdge)floatingButtonEdge withTopOffset:(double)floatingButtonOffsetFromTop; + +/** + @brief Sets the SDK's locale. + + @discussion Use to change the SDK's UI to different language. + Defaults to the device's current locale. + + @param locale A locale to set the SDK to. + + @see IBGLocale + */ ++ (void)setLocale:(IBGLocale)locale; + +/** + @brief Sets whether the intro message that gets shown on launching the app is enabled or not. + + @discussion Defaults to YES. + + @param isIntroMessageEnabled A boolean to indicate whether the intro message is enabled or not. + */ ++ (void)setIntroMessageEnabled:(BOOL)isIntroMessageEnabled; + +/** + @brief Sets the color theme of the SDK's whole UI. + + @param colorTheme An `IBGColorTheme` to set the SDK's UI to. + + @see IBGColorTheme + */ ++ (void)setColorTheme:(IBGColorTheme)colorTheme; + +/** + @brief Sets the primary color of the SDK's UI. + + @discussion Sets the color of UI elements indicating interactivity or call to action. + + @param color A color to set the UI elements of the SDK to. + */ ++ (void)setPrimaryColor:(UIColor *)color; + +/** + @brief Sets a block of code that is used to capture a screenshot. + + @deprecated Starting from v6.0, use `setScreenshotCapturingHandler:` instead. + + @discussion Should only be used if your app uses OpenGL. + + @param screenshotCapturingBlock A block of code that's going to be used to capture screenshots. + */ ++ (void)setScreenshotCapturingBlock:(UIImage *(^)())screenshotCapturingBlock DEPRECATED_MSG_ATTRIBUTE("Starting from v6.0, use setScreenshotCapturingHandler: instead."); + +/** + @brief Sets a block of code that is used to capture a screenshot. + + @discussion Should only be used if your app uses OpenGL. + + @param screenshotCapturingHandler A block of code that's going to be used to capture screenshots. + */ ++ (void)setScreenshotCapturingHandler:(UIImage *(^)())screenshotCapturingHandler; + +/** + @brief Appends a set of tags to previously added tags of reported feedback, bug or crash. + + @deprecated Starting from v6.0, use `appendTags:` instead. + + @param tag A set of tags. + @param ... ... + */ ++ (void)addTags:(NSString *)tag, ... NS_REQUIRES_NIL_TERMINATION DEPRECATED_MSG_ATTRIBUTE("Starting from v6.0, use appendTags: instead."); + +/** + @brief Appends a set of tags to previously added tags of reported feedback, bug or crash. + + @deprecated Starting from v6.0, use `appendTags:` instead. + + @discussion This method is identical to `+[Instabug addtags:]`, but is meant to be used from Swift. + + To use this method from Swift, you will need to add the following code to the class that's going to call it. + + ``` + func addTags(str: String, _ arguments: CVarArgType...) -> Void { + return withVaList(arguments) { Instabug.addTags(str, withArguments :$0) } + } + ``` + And then call addTags("tag 1", "tag 2", "tag 3"). + + @param tag tag + @param arguments arguments + */ ++ (void)addTags:(NSString *)tag withArguments:(va_list)arguments DEPRECATED_MSG_ATTRIBUTE("Starting from v6.0, use appendTags: instead."); + +/** + @brief Appends a set of tags to previously added tags of reported feedback, bug or crash. + + @param tags An array of tags to append to current tags. +*/ ++ (void)appendTags:(NSArray *)tags; + +/** + @brief Manually removes all tags of reported feedback, bug or crash. + */ ++ (void)resetTags; + +/** + @brief Gets all tags of reported feedback, bug or crash. + */ ++ (NSArray *)getTags; + +/** + @brief Overrides any of the strings shown in the SDK with custom ones. + + @discussion Allows you to customize any of the strings shown to users in the SDK. + + @param value String value to override the default one. + @param key Key of string to override. + + @see IBGString + */ ++ (void)setString:(NSString*)value withKey:(IBGString)key; + +/** + @brief Sets whether attachments in bug reporting and in-app messaging are enabled or not. + + @param screenShot A boolean to enable or disable screenshot attachments. + @param extraScreenShot A boolean to enable or disable extra screenshot attachments. + @param galleryImage A boolean to enable or disable gallery image attachments. In iOS 10+, NSPhotoLibraryUsageDescription should be set in info.plist to enable gallery image attachments. + @param voiceNote A boolean to enable or disable voice note attachments. In iOS 10+, NSMicrophoneUsageDescription should be set in info.plist to enable voiceNote attachments. + @param screenRecording A boolean to enable or disable screen recording attachments. + */ ++ (void)setAttachmentTypesEnabledScreenShot:(BOOL)screenShot + extraScreenShot:(BOOL)extraScreenShot + galleryImage:(BOOL)galleryImage + voiceNote:(BOOL)voiceNote + screenRecording:(BOOL)screenRecording; + +/** + @brief Enables/disables showing in-app notifications when the user receives a new message. + + @param chatNotificationEnabled A boolean to set whether notifications are enabled or disabled. + */ ++ (void)setChatNotificationEnabled:(BOOL)chatNotificationEnabled; + +/** + @brief Sets a block of code that gets executed when a new message is received. + + @param onNewMessageHandler A block of code that gets executed when a new message is received. + */ ++ (void)setOnNewMessageHandler:(void (^)())onNewMessageHandler; + +/** + @brief Enables/disables prompt options when SDK is invoked. + + @discussion When only a single option is enabled, it become the default invocation mode. + If all options are disabled, bug reporting becomes the default invocation mode. + + By default, all three options are enabled. + + @param bugReportEnabled A boolean to indicate whether bug reports are enabled or disabled. + @param feedbackEnabled A boolean to indicate whether feedback is enabled or disabled. + @param chatEnabled A boolean to indicate whether chat is enabled or disabled. + */ ++ (void)setPromptOptionsEnabledWithBug:(BOOL)bugReportEnabled feedback:(BOOL)feedbackEnabled chat:(BOOL)chatEnabled; + +/// ------------------- +/// @name SDK Reporting +/// ------------------- + +/** + @brief Report an exception manually. + + @param exception Exception to be reported. + */ ++ (void)reportException:(NSException *)exception; + +/// -------------------------- +/// @name In-App Conversations +/// -------------------------- + +/** + @brief Invokes the SDK and shows the conversations view. + + @deprecated Starting from v6.0, use `invokeWithInvocationMode:` instead. + */ ++ (void)invokeConversations DEPRECATED_MSG_ATTRIBUTE("Starting from v6.0, use invokeWithInvocationMode: instead."); + +/// ------------------------ +/// @name Push Notifications +/// ------------------------ + +/** + @brief Checks if a notification is from Instabug. + + @discussion If you are using push notifications, use this method to check whether an incoming notification is from + Instabug or not. If this method returns YES, you should call didReceiveRemoteNotification: to let the Instabug handle + the notification. Otherwise, handle the notification on your own. + + @param notification userInfo dictionary received in `-[UIApplicationDelegate application:didReceiveRemoteNotification:]`. + + @return YES if notification is from Instabug. + */ ++ (BOOL)isInstabugNotification:(NSDictionary *)notification; + +/** + @brief Use this method to set Apple Push Notification token to enable receiving Instabug push notifications. + + @discussion You should call this method after receiving token in + `-[UIApplicationDelegate didRegisterForRemoteNotificationsWithDeviceToken:]` and pass received token. + + @param deviceToken Device token received in `-[UIApplicationDelegate didRegisterForRemoteNotificationsWithDeviceToken:]` + */ ++ (void)didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken; + +/** + @brief Call this method and pass the notification's userInfo dictionary to allow Instabug to handle its remote notifications. + + @discussion Instabug will check if notification is from Instabug's servers and only handle it if it is. + You should call this method in -[UIApplicationDelegate application:didReceiveRemoteNotification:] and pass received userInfo + dictionary, or `-[UIApplicationDelegate application:didFinishLaunchingWithOptions:]` and pass + `[launchOptions objectForKey:UIApplicationLaunchOptionsRemoteNotificationKey]`. + + @param userInfo userInfo dictionary from `-[UIApplicationDelegate application:didReceiveRemoteNotification:]` or + `[launchOptions objectForKey:UIApplicationLaunchOptionsRemoteNotificationKey]` from + `-[UIApplicationDelegate application:didFinishLaunchingWithOptions:]`. + */ ++ (void)didReceiveRemoteNotification:(NSDictionary *)userInfo; + +@end +NS_ASSUME_NONNULL_END diff --git a/ios/Instabug.framework/Instabug b/ios/Instabug.framework/Instabug new file mode 100644 index 0000000..e16849c Binary files /dev/null and b/ios/Instabug.framework/Instabug differ diff --git a/ios/Instabug.framework/Modules/module.modulemap b/ios/Instabug.framework/Modules/module.modulemap new file mode 100644 index 0000000..f1b35e1 --- /dev/null +++ b/ios/Instabug.framework/Modules/module.modulemap @@ -0,0 +1,6 @@ +framework module Instabug { + umbrella header "Instabug.h" + + export * + module * { export * } +} diff --git a/ios/Instabug.framework/Versions/A/Headers/IBGEnums.h b/ios/Instabug.framework/Versions/A/Headers/IBGEnums.h new file mode 100644 index 0000000..f8f3579 --- /dev/null +++ b/ios/Instabug.framework/Versions/A/Headers/IBGEnums.h @@ -0,0 +1,190 @@ +// +// IBGEnums.h +// IBGSDK +// +// Created by Instabug on 7/21/14. +// Copyright (c) 2014 Instabug. All rights reserved. +// + +//=========================================================================================================================================== +// Enums +//=========================================================================================================================================== +/** + * The event used to invoke the feedback form + */ +typedef NS_ENUM(NSInteger, IBGInvocationEvent) { + // No event will be registered to show the feedback form, you'll need to code your own and call the method showFeedbackForm + IBGInvocationEventNone, + // Shaking the device while in any screen to show the feedback form + IBGInvocationEventShake, + // Taking a screenshot using the Home+Lock buttons while in any screen to show the feedback form, substituted with IBGInvocationEventShake on iOS 6.1.3 and earlier + IBGInvocationEventScreenshot, + // Swiping two fingers left while in any screen to show the feedback form + IBGInvocationEventTwoFingersSwipeLeft, + // Swiping one finger left from the right edge of the screen to show the feedback form, substituted with IBGInvocationEventTwoFingersSwipeLeft on iOS 6.1.3 and earlier + IBGInvocationEventRightEdgePan, + // Shows a floating button on top of all views, when pressed it takes a screenshot + IBGInvocationEventFloatingButton +}; + +/** + * The color theme of the different UI elements + */ +typedef NS_ENUM(NSInteger, IBGColorTheme) { + IBGColorThemeLight, + IBGColorThemeDark +}; + +/** + * The mode used upon invocating the SDK + */ +typedef NS_ENUM(NSInteger, IBGInvocationMode) { + IBGInvocationModeNA, + IBGInvocationModeBugReporter __attribute__((deprecated)), + IBGInvocationModeFeedbackSender __attribute__((deprecated)), + IBGInvocationModeNewBug, + IBGInvocationModeNewFeedback, + IBGInvocationModeNewChat, + IBGInvocationModeChatsList +}; + +/** + * Type of report to be submit + */ +typedef NS_ENUM(NSInteger, IBGReportType) { + IBGReportTypeBug, + IBGReportTypeFeedback +}; + +/** + * Type of feedback to be submit + */ +__attribute__((deprecated)) +typedef NS_ENUM(NSInteger, IBGFeedbackType) { + IBGFeedbackTypeBug, + IBGFeedbackTypeFeedback, + IBGFeedbackTypeCrash +}; + +/** + * State of Issue after SDK dismiss + */ +__attribute__((deprecated)) +typedef NS_ENUM(NSInteger, IBGIssueState) { + // Issue is submitted + IBGIssueSubmitted, + // Issue is cancelled + IBGIssueCancelled, + // Issue is in progress, adding extra screenshot + IBGIssueInProgress +}; + +/** + * Type of SDK dismiss + */ +typedef NS_ENUM(NSInteger, IBGDismissType) { + // Dismissed after report submit + IBGDismissTypeSubmit, + // Dismissed via cancel + IBGDismissTypeCancel, + // Dismissed while taking screenshot + IBGDismissTypeAddAttachment +}; + +/** + * The supported locales + */ +typedef NS_ENUM(NSInteger, IBGLocale) { + IBGLocaleArabic, + IBGLocaleChineseSimplified, + IBGLocaleChineseTraditional, + IBGLocaleCzech, + IBGLocaleDanish, + IBGLocaleEnglish, + IBGLocaleFrench, + IBGLocaleGerman, + IBGLocaleItalian, + IBGLocaleJapanese, + IBGLocaleKorean, + IBGLocalePolish, + IBGLocalePortugueseBrazil, + IBGLocaleRussian, + IBGLocaleSpanish, + IBGLocaleSwedish, + IBGLocaleTurkish +}; + +/** + * Instabug strings + */ +typedef NS_ENUM(NSInteger, IBGString) { + //" your device to talk to us" + IBGShakeHint, + //" to talk to us" + IBGSwipeHint, + //" to talk to us" + IBGEdgeSwipeStartHint, + //"We love to hear your feedback" + IBGStartAlertText, + //"Please enter a valid email" + IBGInvalidEmailMessage, + //"Invalid Email" + IBGInvalidEmailTitle, + //"Please enter a valid comment" + IBGInvalidCommentMessage, + //"Invalid Comment" + IBGInvalidCommentTitle, + //"Help & Feedback" + IBGInvocationHeader, + //"Talk to us" + IBGTalkToUs, + //"Report bug" + IBGReportBug, + //"Suggest an Improvement" + IBGReportFeedback, + //"Enter your Email" + IBGEmailFieldHint, + //"What went wrong?" + IBGCommentFieldHintForBugReport, + //"How can we improve?" + IBGCommentFieldHintForFeedback, + //"Record a Video Note" + IBGAddVideoMessage, + //"Record a Voice Note" + IBGAddVoiceMessage, + //"Select Image from Gallery" + IBGAddImageFromGallery, + //"Take a Screenshot" + IBGAddExtraScreenshot, + //"Microphone Access Denied" + IBGAudioRecordingPermissionDeniedTitle, + //"You can enable access in Privacy Settings" + IBGAudioRecordingPermissionDeniedMessage, + //"Settings" + IBGMicrophonePermissionAlertSettingsButtonText, + //"Press and Hold to Record" + IBGRecordingMessageToHoldText, + //"Release to Attach" + IBGRecordingMessageToReleaseText, + //"Conversations" + IBGConversationsHeaderTitle, + //"Draw on screenshot" + IBGScreenshotHeaderTitle, + //"No Conversations Yet" + IBGChatsNoConversationsHeadlineText, + //"Done" + IBGDoneButtonText, + //"OK" + IBGOkButtonText, + //"Cancel" + IBGCancelButtonText, + //"Thank you" + IBGThankYouText, + //"Audio" + IBGAudio, + //"Video" + IBGVideo, + //"Image" + IBGImage +}; +//=========================================================================================================================================== diff --git a/ios/Instabug.framework/Versions/A/Headers/Instabug.h b/ios/Instabug.framework/Versions/A/Headers/Instabug.h new file mode 100644 index 0000000..987c191 --- /dev/null +++ b/ios/Instabug.framework/Versions/A/Headers/Instabug.h @@ -0,0 +1,602 @@ +/* + File: Instabug/Instabug.h + + Contains: API for using Instabug's SDK. + + Copyright: (c) 2013-2016 by Instabug, Inc., all rights reserved. + + Version: 5.3.2 + */ + +#import +#import +#import "IBGEnums.h" + +/** + This is the API for using Instabug's SDK. For more details about the SDK integration, + please visit https://instabug.com/developers + */ + +NS_ASSUME_NONNULL_BEGIN +@interface Instabug : NSObject + +/// ------------------------ +/// @name SDK Initialization +/// ------------------------ + +/** + @brief Starts the SDK. + + @discussion This is the main SDK method that does all the magic. This is the only method that SHOULD be called. + Should be called at the end of `-[UIApplicationDelegate application:didFinishLaunchingWithOptions:]`. + + @param token The token that identifies the app, you can find it on your dashboard. + @param invocationEvent The event that invokes the SDK's UI. + + @see IBGInvocationEvent + */ ++ (void)startWithToken:(NSString *)token invocationEvent:(IBGInvocationEvent)invocationEvent; + +/// --------------------------- +/// @name SDK Manual Invocation +/// --------------------------- + +/** + @brief Invokes the SDK manually with the default invocation mode. + + @discussion Shows a view that asks the user whether they want to start a chat, report a problem or suggest an improvement. + */ ++ (void)invoke; + +/** + @brief Invokes the SDK with a specific mode. + + @discussion Invokes the SDK and show a specific view, instead of showing a prompt for users to choose from. + + @param invocationMode Specifies which mode the SDK is going to start with. + + @see IBGInvocationMode + */ ++ (void)invokeWithInvocationMode:(IBGInvocationMode)invocationMode; + +/** + @brief Dismisses any Instabug views that are currently being shown. + */ ++ (void)dismiss; + +/// ---------------------- +/// @name SDK Pro Features +/// ---------------------- + +/** + @brief Attaches a file to each report being sent. + + @discussion A new copy of the file at fileLocation will be attached with each bug report being sent. + Each call to this method overrides the file to be attached. + The file has to be available locally at the provided path. + + @param fileLocation Path to a file that's going to be attached to each report. + */ ++ (void)setFileAttachment:(NSString *)fileLocation; + +/** + @brief Attaches user data to each report being sent. + + @discussion Each call to this method overrides the user data to be attached. + Maximum size of the string is 1,000 characters. + + @param userData A string to be attached to each report, with a maximum size of 1,000 characters. + */ ++ (void)setUserData:(NSString *)userData; + +/** + @brief Adds custom logs that will be sent with each report. + + @discussion Can be used in a similar fashion to NSLog. For usage in Swift, see `Instabug.ibgLog()`. + * + * @param format Format string. + * @param ... Optional varargs arguments. + */ +OBJC_EXTERN void IBGLog(NSString *format, ...) NS_FORMAT_FUNCTION(1, 2); + +/** + @brief Adds custom logs that will be sent with each report. + + @param log Message to be logged. + */ ++ (void)IBGLog:(NSString *)log; + +/** + @brief Sets whether the SDK is tracking user steps or not. + + @discussion Enabling user steps would give you an insight on the scenario a user has performed before encountering a + bug or a crash. User steps are attached with each report being sent. + + User Steps tracking is enabled by default if it's available in your current plan. + + @param isUserStepsEnabled A boolean to set user steps tracking to being enabled or disabled. + */ ++ (void)setUserStepsEnabled:(BOOL)isUserStepsEnabled; + +/** + @brief Sets whether to track and report crashes or not. + + @discussion When enabled, Instabug will automatically report crashes, which can be viewed later on from your dashboard. + + Crash reporting is enabled by default if it's available in your current plan. + + @param isReportingCrashes A boolean to set crash reporting to being enabled or disabled. + */ ++ (void)setCrashReportingEnabled:(BOOL)isReportingCrashes; + +/** + @brief Sets whether In-App Conversations button and notifications are displayed or not. + + @deprecated Starting from v6.0, use `setPromptOptionsEnabled:` instead. + + @discussion When In-App Conversations are disabled, push notifications are disabled as well. + + In-App Conversations is enabled by default if it's available in your current plan. + + @param isInAppConversationsEnabled A boolean to set In-App Conversations to being enabled or disabled. + */ ++ (void)setInAppConversationsEnabled:(BOOL)isInAppConversationsEnabled DEPRECATED_MSG_ATTRIBUTE("Starting from v6.0, use setPromptOptionsEnabled: instead."); + +/** + @brief Sets a block of code to be executed before sending each report. + + @deprecated Starting from v6.0, use `setPreSendingHandler:` instead. + + @discussion This block is executed in the background before sending each report. Could be useful for attaching logs + and extra data to reports. + + @param preSendingBlock A block of code that gets executed before sending each bug report. + */ ++ (void)setPreSendingBlock:(void (^)())preSendingBlock DEPRECATED_MSG_ATTRIBUTE("Starting from v6.0, use setPreSendingHandler: instead."); + +/** + @brief Sets a block of code to be executed before sending each report. + + @discussion This block is executed in the background before sending each report. Could be used for attaching logs + and extra data to reports. + + @param preSendingHandler A block of code that gets executed before sending each bug report. + */ ++ (void)setPreSendingHandler:(void (^)())preSendingHandler; + +/** + @brief Sets a block of code to be executed just before the SDK's UI is presented. + + @deprecated Starting from v6.0, use `setPreInvocationHandler:` instead. + + @discussion This block is executed on the UI thread. Could be used for performing any UI changes before the SDK's UI + is shown. + + @param preInvocationBlock A block of code that gets executed before presenting the SDK's UI. + */ ++ (void)setPreInvocationBlock:(void (^)())preInvocationBlock DEPRECATED_MSG_ATTRIBUTE("Starting from v6.0, use setPreInvocationHandler: instead."); + +/** + @brief Sets a block of code to be executed just before the SDK's UI is presented. + + @discussion This block is executed on the UI thread. Could be used for performing any UI changes before the SDK's UI + is shown. + + @param preInvocationHandler A block of code that gets executed before presenting the SDK's UI. + */ ++ (void)setPreInvocationHandler:(void (^)())preInvocationHandler; + +/** + @brief Sets a block of code to be executed right after the SDK's UI is dismissed. + + @deprecated Starting from v6.0, use `setPostInvocatioHandler:` instead. + + @discussion This block is executed on the UI thread. Could be used for performing any UI changes after the SDK's UI + is dismissed. + + @param postInvocationBlock A block of code that gets executed after the SDK's UI is dismissed. + + The block has the following parameters: + + - issueState: The state of the issue after the SDK has been dismissed. Indicates whether the issues has been submitted, + cancelled, or still in progress. + - feedbackType: Type of feedback that has been sent. Will be set to IBGFeedbackTypeBug in case the SDK has been + dismissed without selecting a report type, so you might need to check issueState before feedbackType. + + @see IBGIssueState, IBGFeedbackType + */ ++ (void)setPostInvocationBlock:(void (^)(IBGIssueState issueState, IBGFeedbackType feedbackType))postInvocationBlock DEPRECATED_MSG_ATTRIBUTE("Starting from v6.0, use setPostInvocatioHandler: instead."); + +/** + @brief Sets a block of code to be executed right after the SDK's UI is dismissed. + + @discussion This block is executed on the UI thread. Could be used for performing any UI changes after the SDK's UI + is dismissed. + + @param postInvocationHandler A block of code that gets executed after the SDK's UI is dismissed. + + The block has the following parameters: + + - dismissType: How the SDK was dismissed. + - reportType: Type of report that has been sent. Will be set to IBGReportTypeBug in case the SDK has been dismissed + without selecting a report type, so you might need to check issueState before reportType + + @see IBGReportType, IBGDismissType + */ ++ (void)setPostInvocatioHandler:(void (^)(IBGDismissType dismissType, IBGReportType reportType))postInvocationHandler; + +/** + @brief Present a view that educates the user on how to invoke the SDK with the currently set invocation event. + */ ++ (void)showIntroMessage; + +/** + @brief Enables/disables the attachment of an initial screenshot when reporting a bug/improvement. + + @deprecated Starting from v6.0, use + `setAttachmentTypesEnabledScreenShot:extraScreenShot:galleryImage:voiceNote:screenRecording:` instead. + + @param willTakeScreenshot A boolean to set whether attachment of an initial screenshot is enabled or disabled. + */ ++ (void)setWillTakeScreenshot:(BOOL)willTakeScreenshot DEPRECATED_MSG_ATTRIBUTE("Starting from v6.0, use setAttachmentTypesEnabledScreenShot:extraScreenShot:galleryImage:voiceNote:screenRecording: instead."); + +/** + @brief Sets the default value of the user's email and hides the email field from the reporting UI. + + @discussion Defaults to an empty string. + + @param userEmail An email address to be set as the user's email. + */ ++ (void)setUserEmail:(NSString *)userEmail; + +/** + @brief Sets the default value of the user's name to be included with all reports. + + @discussion Defaults to an empty string. + + @param userName Name of the user to be set. + */ ++ (void)setUserName:(NSString *)userName; + +/** + @brief Enables/disables screenshot view when reporting a bug/improvement. + + @deprecated Starting from v6.0, use `setWillSkipScreenshotAnnotation:` instead. + + @discussion By default, screenshot view is shown when reporting a bug, but not when sending feedback. + + @param willShowScreenshotView A boolean to set whether screenshot view is shown or not. Passing YES will show + screenshot view for both feedback and bug reporting, while passing NO will disable it for both. + */ ++ (void)setWillShowScreenshotView:(BOOL)willShowScreenshotView DEPRECATED_MSG_ATTRIBUTE("Starting from v6.0, use setWillSkipScreenshotAnnotation: instead."); + +/** + @brief Enables/disables screenshot view when reporting a bug/improvement. + + @discussion By default, screenshot view is shown when reporting a bug, but not when sending feedback. + + @param willSkipScreenShot A boolean to set whether screenshot view is shown or not. Passing YES will show + screenshot view for both feedback and bug reporting, while passing NO will disable it for both. + */ ++ (void)setWillSkipScreenshotAnnotation:(BOOL)willSkipScreenShot; + +/** + @brief Returns the number of unread messages the user currently has. + + @discussion Use this method to get the number of unread messages the user has, then possibly notify them about it with + your own UI. + + @return Notifications count, or -1 incase the SDK has not been initialized. + */ ++ (NSInteger)getUnreadMessagesCount; + +/// ------------------ +/// @name SDK Settings +/// ------------------ + +/** + @brief Sets the event that invoke the feedback form. + + @discussion Default is set by `startWithToken:invocationEvent:`. + + @param invocationEvent Event that invokes the feedback form. + + @see IBGInvocationEvent + */ ++ (void)setInvocationEvent:(IBGInvocationEvent)invocationEvent; + +/** + @brief Sets the default SDK invocation mode. + + @deprecated Starting from v6.0, use `setPromptOptionsEnabledWithBug:feedback:chat:` instead. + + @discussion Defaults to IBGInvocationModeNA. + + @param invocationMode A mode that's used to invoke the SDK. + + @see IBGInvocationMode + */ ++ (void)setDefaultInvocationMode:(IBGInvocationMode)invocationMode DEPRECATED_MSG_ATTRIBUTE("Starting from v6.0, use setPromptOptionsEnabledWithBug:feedback:chat: instead"); + +/** + @brief Enables/disables the use of push notifications in the SDK. + + @discussion In order to enable push notifications, implement + `-[UIApplicationDelegate application:didRegisterForRemoteNotificationsWithDeviceToken:]` and either + `-[UIApplicationDelegate application:didReceiveRemoteNotification]` or + `-[UIApplicationDelegate application:didReceiveRemoteNotification:fetchCompletionHandler:]`. + + Defaults to YES. + + @param isPushNotificationsEnabled A boolean to indicate whether push notifications are enabled or disabled. + */ ++ (void)setPushNotificationsEnabled:(BOOL)isPushNotificationsEnabled; + +/** + @brief Sets whether users are required to enter an email address or not when sending reports. + + @discussion Defaults to YES. + + @param isEmailFieldRequired A boolean to indicate whether email field is required or not. + */ ++ (void)setEmailFieldRequired:(BOOL)isEmailFieldRequired; + +/** + @brief Sets whether users are required to enter a comment or not when sending reports. + + @discussion Defaults to NO. + + @param isCommentFieldRequired A boolean to indicate whether comment field is required or not. + */ ++ (void)setCommentFieldRequired:(BOOL)isCommentFieldRequired; + +/** + @brief Sets the threshold value of the shake gesture for iPhone/iPod Touch and iPad. + + @discussion Default for iPhone is 2.5. + Default for iPad is 0.6. + + @param iPhoneShakingThreshold Threshold for iPhone. + @param iPadShakingThreshold Threshold for iPad. + */ ++ (void)setShakingThresholdForiPhone:(double)iPhoneShakingThreshold foriPad:(double)iPadShakingThreshold; + +/** + @brief Sets the default edge and offset from the top at which the floating button will be shown. Different orientations + are already handled. + + @discussion Default for `floatingButtonEdge` is `CGRectMaxXEdge`. + Default for `floatingButtonOffsetFromTop` is 50 + + @param floatingButtonEdge `CGRectMaxXEdge` to show on the right, or `CGRectMinXEdge` to show on the left. + @param floatingButtonOffsetFromTop Top offset for floating button. + */ ++ (void)setFloatingButtonEdge:(CGRectEdge)floatingButtonEdge withTopOffset:(double)floatingButtonOffsetFromTop; + +/** + @brief Sets the SDK's locale. + + @discussion Use to change the SDK's UI to different language. + Defaults to the device's current locale. + + @param locale A locale to set the SDK to. + + @see IBGLocale + */ ++ (void)setLocale:(IBGLocale)locale; + +/** + @brief Sets whether the intro message that gets shown on launching the app is enabled or not. + + @discussion Defaults to YES. + + @param isIntroMessageEnabled A boolean to indicate whether the intro message is enabled or not. + */ ++ (void)setIntroMessageEnabled:(BOOL)isIntroMessageEnabled; + +/** + @brief Sets the color theme of the SDK's whole UI. + + @param colorTheme An `IBGColorTheme` to set the SDK's UI to. + + @see IBGColorTheme + */ ++ (void)setColorTheme:(IBGColorTheme)colorTheme; + +/** + @brief Sets the primary color of the SDK's UI. + + @discussion Sets the color of UI elements indicating interactivity or call to action. + + @param color A color to set the UI elements of the SDK to. + */ ++ (void)setPrimaryColor:(UIColor *)color; + +/** + @brief Sets a block of code that is used to capture a screenshot. + + @deprecated Starting from v6.0, use `setScreenshotCapturingHandler:` instead. + + @discussion Should only be used if your app uses OpenGL. + + @param screenshotCapturingBlock A block of code that's going to be used to capture screenshots. + */ ++ (void)setScreenshotCapturingBlock:(UIImage *(^)())screenshotCapturingBlock DEPRECATED_MSG_ATTRIBUTE("Starting from v6.0, use setScreenshotCapturingHandler: instead."); + +/** + @brief Sets a block of code that is used to capture a screenshot. + + @discussion Should only be used if your app uses OpenGL. + + @param screenshotCapturingHandler A block of code that's going to be used to capture screenshots. + */ ++ (void)setScreenshotCapturingHandler:(UIImage *(^)())screenshotCapturingHandler; + +/** + @brief Appends a set of tags to previously added tags of reported feedback, bug or crash. + + @deprecated Starting from v6.0, use `appendTags:` instead. + + @param tag A set of tags. + @param ... ... + */ ++ (void)addTags:(NSString *)tag, ... NS_REQUIRES_NIL_TERMINATION DEPRECATED_MSG_ATTRIBUTE("Starting from v6.0, use appendTags: instead."); + +/** + @brief Appends a set of tags to previously added tags of reported feedback, bug or crash. + + @deprecated Starting from v6.0, use `appendTags:` instead. + + @discussion This method is identical to `+[Instabug addtags:]`, but is meant to be used from Swift. + + To use this method from Swift, you will need to add the following code to the class that's going to call it. + + ``` + func addTags(str: String, _ arguments: CVarArgType...) -> Void { + return withVaList(arguments) { Instabug.addTags(str, withArguments :$0) } + } + ``` + And then call addTags("tag 1", "tag 2", "tag 3"). + + @param tag tag + @param arguments arguments + */ ++ (void)addTags:(NSString *)tag withArguments:(va_list)arguments DEPRECATED_MSG_ATTRIBUTE("Starting from v6.0, use appendTags: instead."); + +/** + @brief Appends a set of tags to previously added tags of reported feedback, bug or crash. + + @param tags An array of tags to append to current tags. +*/ ++ (void)appendTags:(NSArray *)tags; + +/** + @brief Manually removes all tags of reported feedback, bug or crash. + */ ++ (void)resetTags; + +/** + @brief Gets all tags of reported feedback, bug or crash. + */ ++ (NSArray *)getTags; + +/** + @brief Overrides any of the strings shown in the SDK with custom ones. + + @discussion Allows you to customize any of the strings shown to users in the SDK. + + @param value String value to override the default one. + @param key Key of string to override. + + @see IBGString + */ ++ (void)setString:(NSString*)value withKey:(IBGString)key; + +/** + @brief Sets whether attachments in bug reporting and in-app messaging are enabled or not. + + @param screenShot A boolean to enable or disable screenshot attachments. + @param extraScreenShot A boolean to enable or disable extra screenshot attachments. + @param galleryImage A boolean to enable or disable gallery image attachments. In iOS 10+, NSPhotoLibraryUsageDescription should be set in info.plist to enable gallery image attachments. + @param voiceNote A boolean to enable or disable voice note attachments. In iOS 10+, NSMicrophoneUsageDescription should be set in info.plist to enable voiceNote attachments. + @param screenRecording A boolean to enable or disable screen recording attachments. + */ ++ (void)setAttachmentTypesEnabledScreenShot:(BOOL)screenShot + extraScreenShot:(BOOL)extraScreenShot + galleryImage:(BOOL)galleryImage + voiceNote:(BOOL)voiceNote + screenRecording:(BOOL)screenRecording; + +/** + @brief Enables/disables showing in-app notifications when the user receives a new message. + + @param chatNotificationEnabled A boolean to set whether notifications are enabled or disabled. + */ ++ (void)setChatNotificationEnabled:(BOOL)chatNotificationEnabled; + +/** + @brief Sets a block of code that gets executed when a new message is received. + + @param onNewMessageHandler A block of code that gets executed when a new message is received. + */ ++ (void)setOnNewMessageHandler:(void (^)())onNewMessageHandler; + +/** + @brief Enables/disables prompt options when SDK is invoked. + + @discussion When only a single option is enabled, it become the default invocation mode. + If all options are disabled, bug reporting becomes the default invocation mode. + + By default, all three options are enabled. + + @param bugReportEnabled A boolean to indicate whether bug reports are enabled or disabled. + @param feedbackEnabled A boolean to indicate whether feedback is enabled or disabled. + @param chatEnabled A boolean to indicate whether chat is enabled or disabled. + */ ++ (void)setPromptOptionsEnabledWithBug:(BOOL)bugReportEnabled feedback:(BOOL)feedbackEnabled chat:(BOOL)chatEnabled; + +/// ------------------- +/// @name SDK Reporting +/// ------------------- + +/** + @brief Report an exception manually. + + @param exception Exception to be reported. + */ ++ (void)reportException:(NSException *)exception; + +/// -------------------------- +/// @name In-App Conversations +/// -------------------------- + +/** + @brief Invokes the SDK and shows the conversations view. + + @deprecated Starting from v6.0, use `invokeWithInvocationMode:` instead. + */ ++ (void)invokeConversations DEPRECATED_MSG_ATTRIBUTE("Starting from v6.0, use invokeWithInvocationMode: instead."); + +/// ------------------------ +/// @name Push Notifications +/// ------------------------ + +/** + @brief Checks if a notification is from Instabug. + + @discussion If you are using push notifications, use this method to check whether an incoming notification is from + Instabug or not. If this method returns YES, you should call didReceiveRemoteNotification: to let the Instabug handle + the notification. Otherwise, handle the notification on your own. + + @param notification userInfo dictionary received in `-[UIApplicationDelegate application:didReceiveRemoteNotification:]`. + + @return YES if notification is from Instabug. + */ ++ (BOOL)isInstabugNotification:(NSDictionary *)notification; + +/** + @brief Use this method to set Apple Push Notification token to enable receiving Instabug push notifications. + + @discussion You should call this method after receiving token in + `-[UIApplicationDelegate didRegisterForRemoteNotificationsWithDeviceToken:]` and pass received token. + + @param deviceToken Device token received in `-[UIApplicationDelegate didRegisterForRemoteNotificationsWithDeviceToken:]` + */ ++ (void)didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken; + +/** + @brief Call this method and pass the notification's userInfo dictionary to allow Instabug to handle its remote notifications. + + @discussion Instabug will check if notification is from Instabug's servers and only handle it if it is. + You should call this method in -[UIApplicationDelegate application:didReceiveRemoteNotification:] and pass received userInfo + dictionary, or `-[UIApplicationDelegate application:didFinishLaunchingWithOptions:]` and pass + `[launchOptions objectForKey:UIApplicationLaunchOptionsRemoteNotificationKey]`. + + @param userInfo userInfo dictionary from `-[UIApplicationDelegate application:didReceiveRemoteNotification:]` or + `[launchOptions objectForKey:UIApplicationLaunchOptionsRemoteNotificationKey]` from + `-[UIApplicationDelegate application:didFinishLaunchingWithOptions:]`. + */ ++ (void)didReceiveRemoteNotification:(NSDictionary *)userInfo; + +@end +NS_ASSUME_NONNULL_END diff --git a/ios/Instabug.framework/Versions/A/Instabug b/ios/Instabug.framework/Versions/A/Instabug new file mode 100644 index 0000000..e16849c Binary files /dev/null and b/ios/Instabug.framework/Versions/A/Instabug differ diff --git a/ios/Instabug.framework/Versions/Current/Headers/IBGEnums.h b/ios/Instabug.framework/Versions/Current/Headers/IBGEnums.h new file mode 100644 index 0000000..f8f3579 --- /dev/null +++ b/ios/Instabug.framework/Versions/Current/Headers/IBGEnums.h @@ -0,0 +1,190 @@ +// +// IBGEnums.h +// IBGSDK +// +// Created by Instabug on 7/21/14. +// Copyright (c) 2014 Instabug. All rights reserved. +// + +//=========================================================================================================================================== +// Enums +//=========================================================================================================================================== +/** + * The event used to invoke the feedback form + */ +typedef NS_ENUM(NSInteger, IBGInvocationEvent) { + // No event will be registered to show the feedback form, you'll need to code your own and call the method showFeedbackForm + IBGInvocationEventNone, + // Shaking the device while in any screen to show the feedback form + IBGInvocationEventShake, + // Taking a screenshot using the Home+Lock buttons while in any screen to show the feedback form, substituted with IBGInvocationEventShake on iOS 6.1.3 and earlier + IBGInvocationEventScreenshot, + // Swiping two fingers left while in any screen to show the feedback form + IBGInvocationEventTwoFingersSwipeLeft, + // Swiping one finger left from the right edge of the screen to show the feedback form, substituted with IBGInvocationEventTwoFingersSwipeLeft on iOS 6.1.3 and earlier + IBGInvocationEventRightEdgePan, + // Shows a floating button on top of all views, when pressed it takes a screenshot + IBGInvocationEventFloatingButton +}; + +/** + * The color theme of the different UI elements + */ +typedef NS_ENUM(NSInteger, IBGColorTheme) { + IBGColorThemeLight, + IBGColorThemeDark +}; + +/** + * The mode used upon invocating the SDK + */ +typedef NS_ENUM(NSInteger, IBGInvocationMode) { + IBGInvocationModeNA, + IBGInvocationModeBugReporter __attribute__((deprecated)), + IBGInvocationModeFeedbackSender __attribute__((deprecated)), + IBGInvocationModeNewBug, + IBGInvocationModeNewFeedback, + IBGInvocationModeNewChat, + IBGInvocationModeChatsList +}; + +/** + * Type of report to be submit + */ +typedef NS_ENUM(NSInteger, IBGReportType) { + IBGReportTypeBug, + IBGReportTypeFeedback +}; + +/** + * Type of feedback to be submit + */ +__attribute__((deprecated)) +typedef NS_ENUM(NSInteger, IBGFeedbackType) { + IBGFeedbackTypeBug, + IBGFeedbackTypeFeedback, + IBGFeedbackTypeCrash +}; + +/** + * State of Issue after SDK dismiss + */ +__attribute__((deprecated)) +typedef NS_ENUM(NSInteger, IBGIssueState) { + // Issue is submitted + IBGIssueSubmitted, + // Issue is cancelled + IBGIssueCancelled, + // Issue is in progress, adding extra screenshot + IBGIssueInProgress +}; + +/** + * Type of SDK dismiss + */ +typedef NS_ENUM(NSInteger, IBGDismissType) { + // Dismissed after report submit + IBGDismissTypeSubmit, + // Dismissed via cancel + IBGDismissTypeCancel, + // Dismissed while taking screenshot + IBGDismissTypeAddAttachment +}; + +/** + * The supported locales + */ +typedef NS_ENUM(NSInteger, IBGLocale) { + IBGLocaleArabic, + IBGLocaleChineseSimplified, + IBGLocaleChineseTraditional, + IBGLocaleCzech, + IBGLocaleDanish, + IBGLocaleEnglish, + IBGLocaleFrench, + IBGLocaleGerman, + IBGLocaleItalian, + IBGLocaleJapanese, + IBGLocaleKorean, + IBGLocalePolish, + IBGLocalePortugueseBrazil, + IBGLocaleRussian, + IBGLocaleSpanish, + IBGLocaleSwedish, + IBGLocaleTurkish +}; + +/** + * Instabug strings + */ +typedef NS_ENUM(NSInteger, IBGString) { + //" your device to talk to us" + IBGShakeHint, + //" to talk to us" + IBGSwipeHint, + //" to talk to us" + IBGEdgeSwipeStartHint, + //"We love to hear your feedback" + IBGStartAlertText, + //"Please enter a valid email" + IBGInvalidEmailMessage, + //"Invalid Email" + IBGInvalidEmailTitle, + //"Please enter a valid comment" + IBGInvalidCommentMessage, + //"Invalid Comment" + IBGInvalidCommentTitle, + //"Help & Feedback" + IBGInvocationHeader, + //"Talk to us" + IBGTalkToUs, + //"Report bug" + IBGReportBug, + //"Suggest an Improvement" + IBGReportFeedback, + //"Enter your Email" + IBGEmailFieldHint, + //"What went wrong?" + IBGCommentFieldHintForBugReport, + //"How can we improve?" + IBGCommentFieldHintForFeedback, + //"Record a Video Note" + IBGAddVideoMessage, + //"Record a Voice Note" + IBGAddVoiceMessage, + //"Select Image from Gallery" + IBGAddImageFromGallery, + //"Take a Screenshot" + IBGAddExtraScreenshot, + //"Microphone Access Denied" + IBGAudioRecordingPermissionDeniedTitle, + //"You can enable access in Privacy Settings" + IBGAudioRecordingPermissionDeniedMessage, + //"Settings" + IBGMicrophonePermissionAlertSettingsButtonText, + //"Press and Hold to Record" + IBGRecordingMessageToHoldText, + //"Release to Attach" + IBGRecordingMessageToReleaseText, + //"Conversations" + IBGConversationsHeaderTitle, + //"Draw on screenshot" + IBGScreenshotHeaderTitle, + //"No Conversations Yet" + IBGChatsNoConversationsHeadlineText, + //"Done" + IBGDoneButtonText, + //"OK" + IBGOkButtonText, + //"Cancel" + IBGCancelButtonText, + //"Thank you" + IBGThankYouText, + //"Audio" + IBGAudio, + //"Video" + IBGVideo, + //"Image" + IBGImage +}; +//=========================================================================================================================================== diff --git a/ios/Instabug.framework/Versions/Current/Headers/Instabug.h b/ios/Instabug.framework/Versions/Current/Headers/Instabug.h new file mode 100644 index 0000000..987c191 --- /dev/null +++ b/ios/Instabug.framework/Versions/Current/Headers/Instabug.h @@ -0,0 +1,602 @@ +/* + File: Instabug/Instabug.h + + Contains: API for using Instabug's SDK. + + Copyright: (c) 2013-2016 by Instabug, Inc., all rights reserved. + + Version: 5.3.2 + */ + +#import +#import +#import "IBGEnums.h" + +/** + This is the API for using Instabug's SDK. For more details about the SDK integration, + please visit https://instabug.com/developers + */ + +NS_ASSUME_NONNULL_BEGIN +@interface Instabug : NSObject + +/// ------------------------ +/// @name SDK Initialization +/// ------------------------ + +/** + @brief Starts the SDK. + + @discussion This is the main SDK method that does all the magic. This is the only method that SHOULD be called. + Should be called at the end of `-[UIApplicationDelegate application:didFinishLaunchingWithOptions:]`. + + @param token The token that identifies the app, you can find it on your dashboard. + @param invocationEvent The event that invokes the SDK's UI. + + @see IBGInvocationEvent + */ ++ (void)startWithToken:(NSString *)token invocationEvent:(IBGInvocationEvent)invocationEvent; + +/// --------------------------- +/// @name SDK Manual Invocation +/// --------------------------- + +/** + @brief Invokes the SDK manually with the default invocation mode. + + @discussion Shows a view that asks the user whether they want to start a chat, report a problem or suggest an improvement. + */ ++ (void)invoke; + +/** + @brief Invokes the SDK with a specific mode. + + @discussion Invokes the SDK and show a specific view, instead of showing a prompt for users to choose from. + + @param invocationMode Specifies which mode the SDK is going to start with. + + @see IBGInvocationMode + */ ++ (void)invokeWithInvocationMode:(IBGInvocationMode)invocationMode; + +/** + @brief Dismisses any Instabug views that are currently being shown. + */ ++ (void)dismiss; + +/// ---------------------- +/// @name SDK Pro Features +/// ---------------------- + +/** + @brief Attaches a file to each report being sent. + + @discussion A new copy of the file at fileLocation will be attached with each bug report being sent. + Each call to this method overrides the file to be attached. + The file has to be available locally at the provided path. + + @param fileLocation Path to a file that's going to be attached to each report. + */ ++ (void)setFileAttachment:(NSString *)fileLocation; + +/** + @brief Attaches user data to each report being sent. + + @discussion Each call to this method overrides the user data to be attached. + Maximum size of the string is 1,000 characters. + + @param userData A string to be attached to each report, with a maximum size of 1,000 characters. + */ ++ (void)setUserData:(NSString *)userData; + +/** + @brief Adds custom logs that will be sent with each report. + + @discussion Can be used in a similar fashion to NSLog. For usage in Swift, see `Instabug.ibgLog()`. + * + * @param format Format string. + * @param ... Optional varargs arguments. + */ +OBJC_EXTERN void IBGLog(NSString *format, ...) NS_FORMAT_FUNCTION(1, 2); + +/** + @brief Adds custom logs that will be sent with each report. + + @param log Message to be logged. + */ ++ (void)IBGLog:(NSString *)log; + +/** + @brief Sets whether the SDK is tracking user steps or not. + + @discussion Enabling user steps would give you an insight on the scenario a user has performed before encountering a + bug or a crash. User steps are attached with each report being sent. + + User Steps tracking is enabled by default if it's available in your current plan. + + @param isUserStepsEnabled A boolean to set user steps tracking to being enabled or disabled. + */ ++ (void)setUserStepsEnabled:(BOOL)isUserStepsEnabled; + +/** + @brief Sets whether to track and report crashes or not. + + @discussion When enabled, Instabug will automatically report crashes, which can be viewed later on from your dashboard. + + Crash reporting is enabled by default if it's available in your current plan. + + @param isReportingCrashes A boolean to set crash reporting to being enabled or disabled. + */ ++ (void)setCrashReportingEnabled:(BOOL)isReportingCrashes; + +/** + @brief Sets whether In-App Conversations button and notifications are displayed or not. + + @deprecated Starting from v6.0, use `setPromptOptionsEnabled:` instead. + + @discussion When In-App Conversations are disabled, push notifications are disabled as well. + + In-App Conversations is enabled by default if it's available in your current plan. + + @param isInAppConversationsEnabled A boolean to set In-App Conversations to being enabled or disabled. + */ ++ (void)setInAppConversationsEnabled:(BOOL)isInAppConversationsEnabled DEPRECATED_MSG_ATTRIBUTE("Starting from v6.0, use setPromptOptionsEnabled: instead."); + +/** + @brief Sets a block of code to be executed before sending each report. + + @deprecated Starting from v6.0, use `setPreSendingHandler:` instead. + + @discussion This block is executed in the background before sending each report. Could be useful for attaching logs + and extra data to reports. + + @param preSendingBlock A block of code that gets executed before sending each bug report. + */ ++ (void)setPreSendingBlock:(void (^)())preSendingBlock DEPRECATED_MSG_ATTRIBUTE("Starting from v6.0, use setPreSendingHandler: instead."); + +/** + @brief Sets a block of code to be executed before sending each report. + + @discussion This block is executed in the background before sending each report. Could be used for attaching logs + and extra data to reports. + + @param preSendingHandler A block of code that gets executed before sending each bug report. + */ ++ (void)setPreSendingHandler:(void (^)())preSendingHandler; + +/** + @brief Sets a block of code to be executed just before the SDK's UI is presented. + + @deprecated Starting from v6.0, use `setPreInvocationHandler:` instead. + + @discussion This block is executed on the UI thread. Could be used for performing any UI changes before the SDK's UI + is shown. + + @param preInvocationBlock A block of code that gets executed before presenting the SDK's UI. + */ ++ (void)setPreInvocationBlock:(void (^)())preInvocationBlock DEPRECATED_MSG_ATTRIBUTE("Starting from v6.0, use setPreInvocationHandler: instead."); + +/** + @brief Sets a block of code to be executed just before the SDK's UI is presented. + + @discussion This block is executed on the UI thread. Could be used for performing any UI changes before the SDK's UI + is shown. + + @param preInvocationHandler A block of code that gets executed before presenting the SDK's UI. + */ ++ (void)setPreInvocationHandler:(void (^)())preInvocationHandler; + +/** + @brief Sets a block of code to be executed right after the SDK's UI is dismissed. + + @deprecated Starting from v6.0, use `setPostInvocatioHandler:` instead. + + @discussion This block is executed on the UI thread. Could be used for performing any UI changes after the SDK's UI + is dismissed. + + @param postInvocationBlock A block of code that gets executed after the SDK's UI is dismissed. + + The block has the following parameters: + + - issueState: The state of the issue after the SDK has been dismissed. Indicates whether the issues has been submitted, + cancelled, or still in progress. + - feedbackType: Type of feedback that has been sent. Will be set to IBGFeedbackTypeBug in case the SDK has been + dismissed without selecting a report type, so you might need to check issueState before feedbackType. + + @see IBGIssueState, IBGFeedbackType + */ ++ (void)setPostInvocationBlock:(void (^)(IBGIssueState issueState, IBGFeedbackType feedbackType))postInvocationBlock DEPRECATED_MSG_ATTRIBUTE("Starting from v6.0, use setPostInvocatioHandler: instead."); + +/** + @brief Sets a block of code to be executed right after the SDK's UI is dismissed. + + @discussion This block is executed on the UI thread. Could be used for performing any UI changes after the SDK's UI + is dismissed. + + @param postInvocationHandler A block of code that gets executed after the SDK's UI is dismissed. + + The block has the following parameters: + + - dismissType: How the SDK was dismissed. + - reportType: Type of report that has been sent. Will be set to IBGReportTypeBug in case the SDK has been dismissed + without selecting a report type, so you might need to check issueState before reportType + + @see IBGReportType, IBGDismissType + */ ++ (void)setPostInvocatioHandler:(void (^)(IBGDismissType dismissType, IBGReportType reportType))postInvocationHandler; + +/** + @brief Present a view that educates the user on how to invoke the SDK with the currently set invocation event. + */ ++ (void)showIntroMessage; + +/** + @brief Enables/disables the attachment of an initial screenshot when reporting a bug/improvement. + + @deprecated Starting from v6.0, use + `setAttachmentTypesEnabledScreenShot:extraScreenShot:galleryImage:voiceNote:screenRecording:` instead. + + @param willTakeScreenshot A boolean to set whether attachment of an initial screenshot is enabled or disabled. + */ ++ (void)setWillTakeScreenshot:(BOOL)willTakeScreenshot DEPRECATED_MSG_ATTRIBUTE("Starting from v6.0, use setAttachmentTypesEnabledScreenShot:extraScreenShot:galleryImage:voiceNote:screenRecording: instead."); + +/** + @brief Sets the default value of the user's email and hides the email field from the reporting UI. + + @discussion Defaults to an empty string. + + @param userEmail An email address to be set as the user's email. + */ ++ (void)setUserEmail:(NSString *)userEmail; + +/** + @brief Sets the default value of the user's name to be included with all reports. + + @discussion Defaults to an empty string. + + @param userName Name of the user to be set. + */ ++ (void)setUserName:(NSString *)userName; + +/** + @brief Enables/disables screenshot view when reporting a bug/improvement. + + @deprecated Starting from v6.0, use `setWillSkipScreenshotAnnotation:` instead. + + @discussion By default, screenshot view is shown when reporting a bug, but not when sending feedback. + + @param willShowScreenshotView A boolean to set whether screenshot view is shown or not. Passing YES will show + screenshot view for both feedback and bug reporting, while passing NO will disable it for both. + */ ++ (void)setWillShowScreenshotView:(BOOL)willShowScreenshotView DEPRECATED_MSG_ATTRIBUTE("Starting from v6.0, use setWillSkipScreenshotAnnotation: instead."); + +/** + @brief Enables/disables screenshot view when reporting a bug/improvement. + + @discussion By default, screenshot view is shown when reporting a bug, but not when sending feedback. + + @param willSkipScreenShot A boolean to set whether screenshot view is shown or not. Passing YES will show + screenshot view for both feedback and bug reporting, while passing NO will disable it for both. + */ ++ (void)setWillSkipScreenshotAnnotation:(BOOL)willSkipScreenShot; + +/** + @brief Returns the number of unread messages the user currently has. + + @discussion Use this method to get the number of unread messages the user has, then possibly notify them about it with + your own UI. + + @return Notifications count, or -1 incase the SDK has not been initialized. + */ ++ (NSInteger)getUnreadMessagesCount; + +/// ------------------ +/// @name SDK Settings +/// ------------------ + +/** + @brief Sets the event that invoke the feedback form. + + @discussion Default is set by `startWithToken:invocationEvent:`. + + @param invocationEvent Event that invokes the feedback form. + + @see IBGInvocationEvent + */ ++ (void)setInvocationEvent:(IBGInvocationEvent)invocationEvent; + +/** + @brief Sets the default SDK invocation mode. + + @deprecated Starting from v6.0, use `setPromptOptionsEnabledWithBug:feedback:chat:` instead. + + @discussion Defaults to IBGInvocationModeNA. + + @param invocationMode A mode that's used to invoke the SDK. + + @see IBGInvocationMode + */ ++ (void)setDefaultInvocationMode:(IBGInvocationMode)invocationMode DEPRECATED_MSG_ATTRIBUTE("Starting from v6.0, use setPromptOptionsEnabledWithBug:feedback:chat: instead"); + +/** + @brief Enables/disables the use of push notifications in the SDK. + + @discussion In order to enable push notifications, implement + `-[UIApplicationDelegate application:didRegisterForRemoteNotificationsWithDeviceToken:]` and either + `-[UIApplicationDelegate application:didReceiveRemoteNotification]` or + `-[UIApplicationDelegate application:didReceiveRemoteNotification:fetchCompletionHandler:]`. + + Defaults to YES. + + @param isPushNotificationsEnabled A boolean to indicate whether push notifications are enabled or disabled. + */ ++ (void)setPushNotificationsEnabled:(BOOL)isPushNotificationsEnabled; + +/** + @brief Sets whether users are required to enter an email address or not when sending reports. + + @discussion Defaults to YES. + + @param isEmailFieldRequired A boolean to indicate whether email field is required or not. + */ ++ (void)setEmailFieldRequired:(BOOL)isEmailFieldRequired; + +/** + @brief Sets whether users are required to enter a comment or not when sending reports. + + @discussion Defaults to NO. + + @param isCommentFieldRequired A boolean to indicate whether comment field is required or not. + */ ++ (void)setCommentFieldRequired:(BOOL)isCommentFieldRequired; + +/** + @brief Sets the threshold value of the shake gesture for iPhone/iPod Touch and iPad. + + @discussion Default for iPhone is 2.5. + Default for iPad is 0.6. + + @param iPhoneShakingThreshold Threshold for iPhone. + @param iPadShakingThreshold Threshold for iPad. + */ ++ (void)setShakingThresholdForiPhone:(double)iPhoneShakingThreshold foriPad:(double)iPadShakingThreshold; + +/** + @brief Sets the default edge and offset from the top at which the floating button will be shown. Different orientations + are already handled. + + @discussion Default for `floatingButtonEdge` is `CGRectMaxXEdge`. + Default for `floatingButtonOffsetFromTop` is 50 + + @param floatingButtonEdge `CGRectMaxXEdge` to show on the right, or `CGRectMinXEdge` to show on the left. + @param floatingButtonOffsetFromTop Top offset for floating button. + */ ++ (void)setFloatingButtonEdge:(CGRectEdge)floatingButtonEdge withTopOffset:(double)floatingButtonOffsetFromTop; + +/** + @brief Sets the SDK's locale. + + @discussion Use to change the SDK's UI to different language. + Defaults to the device's current locale. + + @param locale A locale to set the SDK to. + + @see IBGLocale + */ ++ (void)setLocale:(IBGLocale)locale; + +/** + @brief Sets whether the intro message that gets shown on launching the app is enabled or not. + + @discussion Defaults to YES. + + @param isIntroMessageEnabled A boolean to indicate whether the intro message is enabled or not. + */ ++ (void)setIntroMessageEnabled:(BOOL)isIntroMessageEnabled; + +/** + @brief Sets the color theme of the SDK's whole UI. + + @param colorTheme An `IBGColorTheme` to set the SDK's UI to. + + @see IBGColorTheme + */ ++ (void)setColorTheme:(IBGColorTheme)colorTheme; + +/** + @brief Sets the primary color of the SDK's UI. + + @discussion Sets the color of UI elements indicating interactivity or call to action. + + @param color A color to set the UI elements of the SDK to. + */ ++ (void)setPrimaryColor:(UIColor *)color; + +/** + @brief Sets a block of code that is used to capture a screenshot. + + @deprecated Starting from v6.0, use `setScreenshotCapturingHandler:` instead. + + @discussion Should only be used if your app uses OpenGL. + + @param screenshotCapturingBlock A block of code that's going to be used to capture screenshots. + */ ++ (void)setScreenshotCapturingBlock:(UIImage *(^)())screenshotCapturingBlock DEPRECATED_MSG_ATTRIBUTE("Starting from v6.0, use setScreenshotCapturingHandler: instead."); + +/** + @brief Sets a block of code that is used to capture a screenshot. + + @discussion Should only be used if your app uses OpenGL. + + @param screenshotCapturingHandler A block of code that's going to be used to capture screenshots. + */ ++ (void)setScreenshotCapturingHandler:(UIImage *(^)())screenshotCapturingHandler; + +/** + @brief Appends a set of tags to previously added tags of reported feedback, bug or crash. + + @deprecated Starting from v6.0, use `appendTags:` instead. + + @param tag A set of tags. + @param ... ... + */ ++ (void)addTags:(NSString *)tag, ... NS_REQUIRES_NIL_TERMINATION DEPRECATED_MSG_ATTRIBUTE("Starting from v6.0, use appendTags: instead."); + +/** + @brief Appends a set of tags to previously added tags of reported feedback, bug or crash. + + @deprecated Starting from v6.0, use `appendTags:` instead. + + @discussion This method is identical to `+[Instabug addtags:]`, but is meant to be used from Swift. + + To use this method from Swift, you will need to add the following code to the class that's going to call it. + + ``` + func addTags(str: String, _ arguments: CVarArgType...) -> Void { + return withVaList(arguments) { Instabug.addTags(str, withArguments :$0) } + } + ``` + And then call addTags("tag 1", "tag 2", "tag 3"). + + @param tag tag + @param arguments arguments + */ ++ (void)addTags:(NSString *)tag withArguments:(va_list)arguments DEPRECATED_MSG_ATTRIBUTE("Starting from v6.0, use appendTags: instead."); + +/** + @brief Appends a set of tags to previously added tags of reported feedback, bug or crash. + + @param tags An array of tags to append to current tags. +*/ ++ (void)appendTags:(NSArray *)tags; + +/** + @brief Manually removes all tags of reported feedback, bug or crash. + */ ++ (void)resetTags; + +/** + @brief Gets all tags of reported feedback, bug or crash. + */ ++ (NSArray *)getTags; + +/** + @brief Overrides any of the strings shown in the SDK with custom ones. + + @discussion Allows you to customize any of the strings shown to users in the SDK. + + @param value String value to override the default one. + @param key Key of string to override. + + @see IBGString + */ ++ (void)setString:(NSString*)value withKey:(IBGString)key; + +/** + @brief Sets whether attachments in bug reporting and in-app messaging are enabled or not. + + @param screenShot A boolean to enable or disable screenshot attachments. + @param extraScreenShot A boolean to enable or disable extra screenshot attachments. + @param galleryImage A boolean to enable or disable gallery image attachments. In iOS 10+, NSPhotoLibraryUsageDescription should be set in info.plist to enable gallery image attachments. + @param voiceNote A boolean to enable or disable voice note attachments. In iOS 10+, NSMicrophoneUsageDescription should be set in info.plist to enable voiceNote attachments. + @param screenRecording A boolean to enable or disable screen recording attachments. + */ ++ (void)setAttachmentTypesEnabledScreenShot:(BOOL)screenShot + extraScreenShot:(BOOL)extraScreenShot + galleryImage:(BOOL)galleryImage + voiceNote:(BOOL)voiceNote + screenRecording:(BOOL)screenRecording; + +/** + @brief Enables/disables showing in-app notifications when the user receives a new message. + + @param chatNotificationEnabled A boolean to set whether notifications are enabled or disabled. + */ ++ (void)setChatNotificationEnabled:(BOOL)chatNotificationEnabled; + +/** + @brief Sets a block of code that gets executed when a new message is received. + + @param onNewMessageHandler A block of code that gets executed when a new message is received. + */ ++ (void)setOnNewMessageHandler:(void (^)())onNewMessageHandler; + +/** + @brief Enables/disables prompt options when SDK is invoked. + + @discussion When only a single option is enabled, it become the default invocation mode. + If all options are disabled, bug reporting becomes the default invocation mode. + + By default, all three options are enabled. + + @param bugReportEnabled A boolean to indicate whether bug reports are enabled or disabled. + @param feedbackEnabled A boolean to indicate whether feedback is enabled or disabled. + @param chatEnabled A boolean to indicate whether chat is enabled or disabled. + */ ++ (void)setPromptOptionsEnabledWithBug:(BOOL)bugReportEnabled feedback:(BOOL)feedbackEnabled chat:(BOOL)chatEnabled; + +/// ------------------- +/// @name SDK Reporting +/// ------------------- + +/** + @brief Report an exception manually. + + @param exception Exception to be reported. + */ ++ (void)reportException:(NSException *)exception; + +/// -------------------------- +/// @name In-App Conversations +/// -------------------------- + +/** + @brief Invokes the SDK and shows the conversations view. + + @deprecated Starting from v6.0, use `invokeWithInvocationMode:` instead. + */ ++ (void)invokeConversations DEPRECATED_MSG_ATTRIBUTE("Starting from v6.0, use invokeWithInvocationMode: instead."); + +/// ------------------------ +/// @name Push Notifications +/// ------------------------ + +/** + @brief Checks if a notification is from Instabug. + + @discussion If you are using push notifications, use this method to check whether an incoming notification is from + Instabug or not. If this method returns YES, you should call didReceiveRemoteNotification: to let the Instabug handle + the notification. Otherwise, handle the notification on your own. + + @param notification userInfo dictionary received in `-[UIApplicationDelegate application:didReceiveRemoteNotification:]`. + + @return YES if notification is from Instabug. + */ ++ (BOOL)isInstabugNotification:(NSDictionary *)notification; + +/** + @brief Use this method to set Apple Push Notification token to enable receiving Instabug push notifications. + + @discussion You should call this method after receiving token in + `-[UIApplicationDelegate didRegisterForRemoteNotificationsWithDeviceToken:]` and pass received token. + + @param deviceToken Device token received in `-[UIApplicationDelegate didRegisterForRemoteNotificationsWithDeviceToken:]` + */ ++ (void)didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken; + +/** + @brief Call this method and pass the notification's userInfo dictionary to allow Instabug to handle its remote notifications. + + @discussion Instabug will check if notification is from Instabug's servers and only handle it if it is. + You should call this method in -[UIApplicationDelegate application:didReceiveRemoteNotification:] and pass received userInfo + dictionary, or `-[UIApplicationDelegate application:didFinishLaunchingWithOptions:]` and pass + `[launchOptions objectForKey:UIApplicationLaunchOptionsRemoteNotificationKey]`. + + @param userInfo userInfo dictionary from `-[UIApplicationDelegate application:didReceiveRemoteNotification:]` or + `[launchOptions objectForKey:UIApplicationLaunchOptionsRemoteNotificationKey]` from + `-[UIApplicationDelegate application:didFinishLaunchingWithOptions:]`. + */ ++ (void)didReceiveRemoteNotification:(NSDictionary *)userInfo; + +@end +NS_ASSUME_NONNULL_END diff --git a/ios/Instabug.framework/Versions/Current/Instabug b/ios/Instabug.framework/Versions/Current/Instabug new file mode 100644 index 0000000..e16849c Binary files /dev/null and b/ios/Instabug.framework/Versions/Current/Instabug differ diff --git a/ios/RNInstabug.xcodeproj/project.pbxproj b/ios/RNInstabug.xcodeproj/project.pbxproj new file mode 100644 index 0000000..8afb40d --- /dev/null +++ b/ios/RNInstabug.xcodeproj/project.pbxproj @@ -0,0 +1,321 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 248766471DA3E8ED00D93EDA /* Instabug.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 248766451DA3E8ED00D93EDA /* Instabug.framework */; }; + 24DF11FD1DA3A2F30056F77C /* InstabugReactBridge.m in Sources */ = {isa = PBXBuildFile; fileRef = 24DF11FA1DA3A2F30056F77C /* InstabugReactBridge.m */; }; + 24DF11FE1DA3A2F30056F77C /* RCTConvert+InstabugEnums.m in Sources */ = {isa = PBXBuildFile; fileRef = 24DF11FC1DA3A2F30056F77C /* RCTConvert+InstabugEnums.m */; }; +/* End PBXBuildFile section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 24DF11EB1DA3A2B90056F77C /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = "include/$(PRODUCT_NAME)"; + dstSubfolderSpec = 16; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 248766441DA3E8ED00D93EDA /* Instabug.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = Instabug.bundle; sourceTree = ""; }; + 248766451DA3E8ED00D93EDA /* Instabug.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Instabug.framework; sourceTree = ""; }; + 24DF11ED1DA3A2B90056F77C /* libRNInstabug.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRNInstabug.a; sourceTree = BUILT_PRODUCTS_DIR; }; + 24DF11F91DA3A2F30056F77C /* InstabugReactBridge.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InstabugReactBridge.h; sourceTree = ""; }; + 24DF11FA1DA3A2F30056F77C /* InstabugReactBridge.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = InstabugReactBridge.m; sourceTree = ""; }; + 24DF11FB1DA3A2F30056F77C /* RCTConvert+InstabugEnums.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "RCTConvert+InstabugEnums.h"; sourceTree = ""; }; + 24DF11FC1DA3A2F30056F77C /* RCTConvert+InstabugEnums.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "RCTConvert+InstabugEnums.m"; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 24DF11EA1DA3A2B90056F77C /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 248766471DA3E8ED00D93EDA /* Instabug.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 248766431DA3E8EC00D93EDA /* Frameworks */ = { + isa = PBXGroup; + children = ( + 248766441DA3E8ED00D93EDA /* Instabug.bundle */, + 248766451DA3E8ED00D93EDA /* Instabug.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + 24DF11E41DA3A2B90056F77C = { + isa = PBXGroup; + children = ( + 24DF11EF1DA3A2B90056F77C /* RNInstabug */, + 24DF11EE1DA3A2B90056F77C /* Products */, + 248766431DA3E8EC00D93EDA /* Frameworks */, + ); + sourceTree = ""; + }; + 24DF11EE1DA3A2B90056F77C /* Products */ = { + isa = PBXGroup; + children = ( + 24DF11ED1DA3A2B90056F77C /* libRNInstabug.a */, + ); + name = Products; + sourceTree = ""; + }; + 24DF11EF1DA3A2B90056F77C /* RNInstabug */ = { + isa = PBXGroup; + children = ( + 24DF11F91DA3A2F30056F77C /* InstabugReactBridge.h */, + 24DF11FA1DA3A2F30056F77C /* InstabugReactBridge.m */, + 24DF11FB1DA3A2F30056F77C /* RCTConvert+InstabugEnums.h */, + 24DF11FC1DA3A2F30056F77C /* RCTConvert+InstabugEnums.m */, + ); + path = RNInstabug; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 24DF11EC1DA3A2B90056F77C /* RNInstabug */ = { + isa = PBXNativeTarget; + buildConfigurationList = 24DF11F61DA3A2B90056F77C /* Build configuration list for PBXNativeTarget "RNInstabug" */; + buildPhases = ( + 24DF11E91DA3A2B90056F77C /* Sources */, + 24DF11EA1DA3A2B90056F77C /* Frameworks */, + 24DF11EB1DA3A2B90056F77C /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = RNInstabug; + productName = RNInstabug; + productReference = 24DF11ED1DA3A2B90056F77C /* libRNInstabug.a */; + productType = "com.apple.product-type.library.static"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 24DF11E51DA3A2B90056F77C /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0800; + ORGANIZATIONNAME = instabug; + TargetAttributes = { + 24DF11EC1DA3A2B90056F77C = { + CreatedOnToolsVersion = 8.0; + ProvisioningStyle = Automatic; + }; + }; + }; + buildConfigurationList = 24DF11E81DA3A2B90056F77C /* Build configuration list for PBXProject "RNInstabug" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 24DF11E41DA3A2B90056F77C; + productRefGroup = 24DF11EE1DA3A2B90056F77C /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 24DF11EC1DA3A2B90056F77C /* RNInstabug */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXSourcesBuildPhase section */ + 24DF11E91DA3A2B90056F77C /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 24DF11FE1DA3A2F30056F77C /* RCTConvert+InstabugEnums.m in Sources */, + 24DF11FD1DA3A2F30056F77C /* InstabugReactBridge.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 24DF11F41DA3A2B90056F77C /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_MOVES = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + "$(SRCROOT)/../../React/**", + "$(SRCROOT)/node_modules/react-native/React/**", + "$(SRCROOT)/../../../node_modules/react-native/React/**", + "$(SRCROOT)/../react-native/React/**", + ); + IPHONEOS_DEPLOYMENT_TARGET = 10.0; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + }; + name = Debug; + }; + 24DF11F51DA3A2B90056F77C /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_MOVES = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + "$(SRCROOT)/../../React/**", + "$(SRCROOT)/node_modules/react-native/React/**", + "$(SRCROOT)/../../../node_modules/react-native/React/**", + "$(SRCROOT)/../react-native/React/**", + ); + IPHONEOS_DEPLOYMENT_TARGET = 10.0; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 24DF11F71DA3A2B90056F77C /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(PROJECT_DIR)", + "$(PROJECT_DIR)/RNInstabug", + ); + HEADER_SEARCH_PATHS = ( + "$(SRCROOT)/../node_modules/react-native/React/**", + "$(SRCROOT)/../node_modules/react-native/Libraries/**", + "$(inherited)", + "$(SRCROOT)/../../React/**", + "$(SRCROOT)/../../../node_modules/react-native/React/**", + "$(SRCROOT)/../react-native/React/**", + ); + OTHER_LDFLAGS = "-ObjC"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SKIP_INSTALL = YES; + }; + name = Debug; + }; + 24DF11F81DA3A2B90056F77C /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(PROJECT_DIR)", + "$(PROJECT_DIR)/RNInstabug", + ); + HEADER_SEARCH_PATHS = ( + "$(SRCROOT)/../node_modules/react-native/React/**", + "$(SRCROOT)/../node_modules/react-native/Libraries/**", + "$(inherited)", + "$(SRCROOT)/../../React/**", + "$(SRCROOT)/../../../node_modules/react-native/React/**", + "$(SRCROOT)/../react-native/React/**", + ); + OTHER_LDFLAGS = "-ObjC"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SKIP_INSTALL = YES; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 24DF11E81DA3A2B90056F77C /* Build configuration list for PBXProject "RNInstabug" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 24DF11F41DA3A2B90056F77C /* Debug */, + 24DF11F51DA3A2B90056F77C /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 24DF11F61DA3A2B90056F77C /* Build configuration list for PBXNativeTarget "RNInstabug" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 24DF11F71DA3A2B90056F77C /* Debug */, + 24DF11F81DA3A2B90056F77C /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 24DF11E51DA3A2B90056F77C /* Project object */; +} diff --git a/ios/RNInstabug.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/ios/RNInstabug.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..8e663c4 --- /dev/null +++ b/ios/RNInstabug.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/ios/RNInstabug.xcodeproj/project.xcworkspace/xcuserdata/yousefhamza.xcuserdatad/UserInterfaceState.xcuserstate b/ios/RNInstabug.xcodeproj/project.xcworkspace/xcuserdata/yousefhamza.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000..27a40dc Binary files /dev/null and b/ios/RNInstabug.xcodeproj/project.xcworkspace/xcuserdata/yousefhamza.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/ios/RNInstabug.xcodeproj/xcuserdata/yousefhamza.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/ios/RNInstabug.xcodeproj/xcuserdata/yousefhamza.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist new file mode 100644 index 0000000..fe2b454 --- /dev/null +++ b/ios/RNInstabug.xcodeproj/xcuserdata/yousefhamza.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist @@ -0,0 +1,5 @@ + + + diff --git a/ios/RNInstabug.xcodeproj/xcuserdata/yousefhamza.xcuserdatad/xcschemes/RNInstabug.xcscheme b/ios/RNInstabug.xcodeproj/xcuserdata/yousefhamza.xcuserdatad/xcschemes/RNInstabug.xcscheme new file mode 100644 index 0000000..862c054 --- /dev/null +++ b/ios/RNInstabug.xcodeproj/xcuserdata/yousefhamza.xcuserdatad/xcschemes/RNInstabug.xcscheme @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ios/RNInstabug.xcodeproj/xcuserdata/yousefhamza.xcuserdatad/xcschemes/xcschememanagement.plist b/ios/RNInstabug.xcodeproj/xcuserdata/yousefhamza.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..1995134 --- /dev/null +++ b/ios/RNInstabug.xcodeproj/xcuserdata/yousefhamza.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,22 @@ + + + + + SchemeUserState + + RNInstabug.xcscheme + + orderHint + 0 + + + SuppressBuildableAutocreation + + 24DF11EC1DA3A2B90056F77C + + primary + + + + + diff --git a/ios/RNInstabug/InstabugReactBridge.h b/ios/RNInstabug/InstabugReactBridge.h new file mode 100644 index 0000000..5fd3631 --- /dev/null +++ b/ios/RNInstabug/InstabugReactBridge.h @@ -0,0 +1,14 @@ +// +// InstabugReactBridge.h +// instabugDemo +// +// Created by Yousef Hamza on 9/29/16. +// Copyright © 2016 Facebook. All rights reserved. +// + +#import +#import "RCTBridgeModule.h" + +@interface InstabugReactBridge : NSObject + +@end diff --git a/ios/RNInstabug/InstabugReactBridge.m b/ios/RNInstabug/InstabugReactBridge.m new file mode 100644 index 0000000..d865478 --- /dev/null +++ b/ios/RNInstabug/InstabugReactBridge.m @@ -0,0 +1,130 @@ +// +// InstabugReactBridge.m +// instabugDemo +// +// Created by Yousef Hamza on 9/29/16. +// Copyright © 2016 Facebook. All rights reserved. +// + +#import "InstabugReactBridge.h" +#import + +@implementation InstabugReactBridge + +RCT_EXPORT_MODULE(Instabug) + +RCT_EXPORT_METHOD(startWithToken:(NSString *)token invocationEvent:(IBGInvocationEvent)invocationEvent) { + [Instabug startWithToken:token invocationEvent:invocationEvent]; + [Instabug setCrashReportingEnabled:NO]; + [Instabug setPushNotificationsEnabled:NO]; +} + +RCT_EXPORT_METHOD(invoke) { + [Instabug invoke]; +} + +RCT_EXPORT_METHOD(invokeWithInvocationMode:(IBGInvocationMode)invocationMode) { + [Instabug invokeWithInvocationMode:invocationMode]; +} + +RCT_EXPORT_METHOD(dismiss) { + [Instabug dismiss]; +} + +RCT_EXPORT_METHOD(setFileAttachment:(NSString *)fileLocation) { + [Instabug setFileAttachment:fileLocation]; +} + +RCT_EXPORT_METHOD(setUserData:(NSString *)userData) { + [Instabug setUserData:userData]; +} + +RCT_EXPORT_METHOD(IBGLog:(NSString *)log) { + [Instabug IBGLog:log]; +} + +RCT_EXPORT_METHOD(setUserStepsEnabled:(BOOL)isUserStepsEnabled) { + [Instabug setUserStepsEnabled:isUserStepsEnabled]; +} + +RCT_EXPORT_METHOD(setPreSendingHandler:(RCTResponseSenderBlock)callBack) { + if (callBack != nil) { + [Instabug setPreSendingHandler:^{ + callBack(@[]); + }]; + } +} + +RCT_EXPORT_METHOD(setPreInvocationHandler:(RCTResponseSenderBlock)callBack) { + if (callBack != nil) { + [Instabug setPreInvocationHandler:^{ + callBack(@[]); + }]; + } +} + +RCT_EXPORT_METHOD(setPostInvocatioHandler:(RCTResponseSenderBlock)callBack) { + if (callBack != nil) { + [Instabug setPostInvocatioHandler:^(IBGDismissType dismissType, IBGReportType reportType) { + callBack(@[@(dismissType), @(reportType)]); + }]; + } +} + +RCT_EXPORT_METHOD(showIntroMessage) { + [Instabug showIntroMessage]; +} + +RCT_EXPORT_METHOD(setUserEmail:(NSString *)userEmail) { + [Instabug setUserEmail:userEmail]; +} + +RCT_EXPORT_METHOD(setUserName:(NSString *)userName) { + [Instabug setUserName:userName]; +} + +RCT_EXPORT_METHOD(setWillSkipScreenshotAnnotation:(BOOL)willSkipScreenshot) { + [Instabug setWillSkipScreenshotAnnotation:willSkipScreenshot]; +} + +RCT_EXPORT_METHOD(getUnReadMessageCount:(RCTResponseSenderBlock)callBack) { + callBack(@[@([Instabug getUnreadMessagesCount])]); +} + +RCT_EXPORT_METHOD(setInvocationEvent:(IBGInvocationEvent)invocationEvent) { + [Instabug setInvocationEvent:invocationEvent]; +} + +RCT_EXPORT_METHOD(setEmailFieldRequired:(BOOL)isEmailFieldRequired) { + [Instabug setEmailFieldRequired:isEmailFieldRequired]; +} + +RCT_EXPORT_METHOD(setCommentFieldRequired:(BOOL)isCommentFieldRequired) { + [Instabug setCommentFieldRequired:isCommentFieldRequired]; +} + +RCT_EXPORT_METHOD(setShakingThresholdForiPhone:(double)iPhoneShakingThreshold foriPad:(double)iPadShakingThreshold) { + [Instabug setShakingThresholdForiPhone:iPhoneShakingThreshold foriPad:iPadShakingThreshold]; +} + +RCT_EXPORT_METHOD(setFloatingButtonEdge:(CGRectEdge)floatingButtonEdge withTopOffset:(double)floatingButtonOffsetFromTop) { + +} + +- (NSDictionary *)constantsToExport +{ + return @{ @"invocationEventNone" : @(IBGInvocationEventNone), + @"invocationEventShake" : @(IBGInvocationEventShake), + @"invocationEventScreenshot" : @(IBGInvocationEventScreenshot), + @"invocationEventTwoFingersSwipeLeft": @(IBGInvocationEventTwoFingersSwipeLeft), + @"invocationEventRightEdgePan": @(IBGInvocationEventRightEdgePan), + @"invocationEventFloatingButton": @(IBGInvocationEventFloatingButton), + @"invocationModeNA": @(IBGInvocationModeNA), + @"invocationModeNewBug": @(IBGInvocationModeNewBug), + @"invocationModeNewFeedbac": @(IBGInvocationModeNewFeedback), + @"invocationModeNewChat": @(IBGInvocationModeNewChat), + @"invocationModeChatsList": @(IBGInvocationModeChatsList) + }; +}; + +@end diff --git a/ios/RNInstabug/RCTConvert+InstabugEnums.h b/ios/RNInstabug/RCTConvert+InstabugEnums.h new file mode 100644 index 0000000..d49dfd1 --- /dev/null +++ b/ios/RNInstabug/RCTConvert+InstabugEnums.h @@ -0,0 +1,13 @@ +// +// RCTConvert+InstabugEnums.h +// instabugDemo +// +// Created by Yousef Hamza on 9/29/16. +// Copyright © 2016 Facebook. All rights reserved. +// + +#import "RCTConvert.h" + +@interface RCTConvert (InstabugEnums) + +@end diff --git a/ios/RNInstabug/RCTConvert+InstabugEnums.m b/ios/RNInstabug/RCTConvert+InstabugEnums.m new file mode 100644 index 0000000..8eb8dd5 --- /dev/null +++ b/ios/RNInstabug/RCTConvert+InstabugEnums.m @@ -0,0 +1,42 @@ +// +// RCTConvert+InstabugEnums.m +// instabugDemo +// +// Created by Yousef Hamza on 9/29/16. +// Copyright © 2016 Facebook. All rights reserved. +// + +#import "RCTConvert+InstabugEnums.h" +#import + +@implementation RCTConvert (InstabugEnums) + +RCT_ENUM_CONVERTER(IBGInvocationEvent, (@{ + @"invocationEventNone": @(IBGInvocationEventNone), + @"invocationEventShake": @(IBGInvocationEventShake), + @"invocationEventScreenshot": @(IBGInvocationEventScreenshot), + @"invocationEventTwoFingersSwipeLeft": @(IBGInvocationEventTwoFingersSwipeLeft), + @"invocationEventRightEdgePan": @(IBGInvocationEventRightEdgePan), + @"invocationEventFloatingButton": @(IBGInvocationEventFloatingButton) + }), IBGInvocationEventNone, integerValue); + +RCT_ENUM_CONVERTER(IBGInvocationMode, (@{ + @"invocationModeNA": @(IBGInvocationModeNA), + @"invocationModeNewBug": @(IBGInvocationModeNewBug), + @"invocationModeNewFeedbac": @(IBGInvocationModeNewFeedback), + @"invocationModeNewChat": @(IBGInvocationModeNewChat), + @"invocationModeChatsList": @(IBGInvocationModeChatsList) + }), IBGInvocationModeNA, integerValue); + +RCT_ENUM_CONVERTER(IBGDismissType, (@{ + @"dismissTypeSubmit": @(IBGDismissTypeSubmit), + @"dismissTypeCancel": @(IBGDismissTypeCancel), + @"dismissTypeAddAtttachment": @(IBGDismissTypeAddAttachment) + }), IBGDismissTypeSubmit, integerValue) + +RCT_ENUM_CONVERTER(IBGReportType, (@{ + @"reportTypeBug": @(IBGReportTypeBug), + @"reportTypeFeedback": @(IBGReportTypeFeedback) + }), IBGReportTypeBug, integerValue); + +@end diff --git a/ios/RNInstabugReactnative.h b/ios/RNInstabugReactnative.h deleted file mode 100644 index 9b1ab01..0000000 --- a/ios/RNInstabugReactnative.h +++ /dev/null @@ -1,7 +0,0 @@ - -#import "RCTBridgeModule.h" - -@interface RNInstabugReactnative : NSObject - -@end - \ No newline at end of file diff --git a/ios/RNInstabugReactnative.m b/ios/RNInstabugReactnative.m deleted file mode 100644 index 7d3802e..0000000 --- a/ios/RNInstabugReactnative.m +++ /dev/null @@ -1,13 +0,0 @@ - -#import "RNInstabugReactnative.h" - -@implementation RNInstabugReactnative - -- (dispatch_queue_t)methodQueue -{ - return dispatch_get_main_queue(); -} -RCT_EXPORT_MODULE() - -@end - \ No newline at end of file diff --git a/ios/RNInstabugReactnative.xcodeproj/project.pbxproj b/ios/RNInstabugReactnative.xcodeproj/project.pbxproj deleted file mode 100644 index b8fae6e..0000000 --- a/ios/RNInstabugReactnative.xcodeproj/project.pbxproj +++ /dev/null @@ -1,252 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - B3E7B58A1CC2AC0600A0062D /* RNInstabugReactnative.m in Sources */ = {isa = PBXBuildFile; fileRef = B3E7B5891CC2AC0600A0062D /* RNInstabugReactnative.m */; }; -/* End PBXBuildFile section */ - -/* Begin PBXCopyFilesBuildPhase section */ - 58B511D91A9E6C8500147676 /* CopyFiles */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = "include/$(PRODUCT_NAME)"; - dstSubfolderSpec = 16; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 134814201AA4EA6300B7C361 /* libRNInstabugReactnative.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRNInstabugReactnative.a; sourceTree = BUILT_PRODUCTS_DIR; }; - B3E7B5881CC2AC0600A0062D /* RNInstabugReactnative.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNInstabugReactnative.h; sourceTree = ""; }; - B3E7B5891CC2AC0600A0062D /* RNInstabugReactnative.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNInstabugReactnative.m; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 58B511D81A9E6C8500147676 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 134814211AA4EA7D00B7C361 /* Products */ = { - isa = PBXGroup; - children = ( - 134814201AA4EA6300B7C361 /* libRNInstabugReactnative.a */, - ); - name = Products; - sourceTree = ""; - }; - 58B511D21A9E6C8500147676 = { - isa = PBXGroup; - children = ( - B3E7B5881CC2AC0600A0062D /* RNInstabugReactnative.h */, - B3E7B5891CC2AC0600A0062D /* RNInstabugReactnative.m */, - 134814211AA4EA7D00B7C361 /* Products */, - ); - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 58B511DA1A9E6C8500147676 /* RNInstabugReactnative */ = { - isa = PBXNativeTarget; - buildConfigurationList = 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RNInstabugReactnative" */; - buildPhases = ( - 58B511D71A9E6C8500147676 /* Sources */, - 58B511D81A9E6C8500147676 /* Frameworks */, - 58B511D91A9E6C8500147676 /* CopyFiles */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = RNInstabugReactnative; - productName = RCTDataManager; - productReference = 134814201AA4EA6300B7C361 /* libRNInstabugReactnative.a */; - productType = "com.apple.product-type.library.static"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 58B511D31A9E6C8500147676 /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 0610; - ORGANIZATIONNAME = Facebook; - TargetAttributes = { - 58B511DA1A9E6C8500147676 = { - CreatedOnToolsVersion = 6.1.1; - }; - }; - }; - buildConfigurationList = 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "RNInstabugReactnative" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - ); - mainGroup = 58B511D21A9E6C8500147676; - productRefGroup = 58B511D21A9E6C8500147676; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 58B511DA1A9E6C8500147676 /* RNInstabugReactnative */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXSourcesBuildPhase section */ - 58B511D71A9E6C8500147676 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - B3E7B58A1CC2AC0600A0062D /* RNInstabugReactnative.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin XCBuildConfiguration section */ - 58B511ED1A9E6C8500147676 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 7.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - }; - name = Debug; - }; - 58B511EE1A9E6C8500147676 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = YES; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 7.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 58B511F01A9E6C8500147676 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - HEADER_SEARCH_PATHS = ( - "$(inherited)", - /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, - "$(SRCROOT)/../../../React/**", - "$(SRCROOT)/../../react-native/React/**", - ); - LIBRARY_SEARCH_PATHS = "$(inherited)"; - OTHER_LDFLAGS = "-ObjC"; - PRODUCT_NAME = RNInstabugReactnative; - SKIP_INSTALL = YES; - }; - name = Debug; - }; - 58B511F11A9E6C8500147676 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - HEADER_SEARCH_PATHS = ( - "$(inherited)", - /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, - "$(SRCROOT)/../../../React/**", - "$(SRCROOT)/../../react-native/React/**", - ); - LIBRARY_SEARCH_PATHS = "$(inherited)"; - OTHER_LDFLAGS = "-ObjC"; - PRODUCT_NAME = RNInstabugReactnative; - SKIP_INSTALL = YES; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "RNInstabugReactnative" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 58B511ED1A9E6C8500147676 /* Debug */, - 58B511EE1A9E6C8500147676 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RNInstabugReactnative" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 58B511F01A9E6C8500147676 /* Debug */, - 58B511F11A9E6C8500147676 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 58B511D31A9E6C8500147676 /* Project object */; -}