@@ -40,13 +40,26 @@ typedef NS_ENUM(NSInteger, IBGColorTheme) {
40
40
*/
41
41
typedef NS_ENUM (NSInteger , IBGInvocationMode ) {
42
42
IBGInvocationModeNA ,
43
- IBGInvocationModeBugReporter ,
44
- IBGInvocationModeFeedbackSender
43
+ IBGInvocationModeBugReporter __attribute__((deprecated )),
44
+ IBGInvocationModeFeedbackSender __attribute__((deprecated )),
45
+ IBGInvocationModeNewBug ,
46
+ IBGInvocationModeNewFeedback ,
47
+ IBGInvocationModeNewChat ,
48
+ IBGInvocationModeChatsList
49
+ };
50
+
51
+ /**
52
+ * Type of report to be submit
53
+ */
54
+ typedef NS_ENUM (NSInteger , IBGReportType ) {
55
+ IBGReportTypeBug ,
56
+ IBGReportTypeFeedback
45
57
};
46
58
47
59
/**
48
60
* Type of feedback to be submit
49
61
*/
62
+ __attribute__((deprecated ))
50
63
typedef NS_ENUM (NSInteger , IBGFeedbackType ) {
51
64
IBGFeedbackTypeBug ,
52
65
IBGFeedbackTypeFeedback ,
@@ -56,6 +69,7 @@ typedef NS_ENUM(NSInteger, IBGFeedbackType) {
56
69
/**
57
70
* State of Issue after SDK dismiss
58
71
*/
72
+ __attribute__((deprecated ))
59
73
typedef NS_ENUM (NSInteger , IBGIssueState ) {
60
74
// Issue is submitted
61
75
IBGIssueSubmitted ,
@@ -65,12 +79,25 @@ typedef NS_ENUM(NSInteger, IBGIssueState) {
65
79
IBGIssueInProgress
66
80
};
67
81
82
+ /**
83
+ * Type of SDK dismiss
84
+ */
85
+ typedef NS_ENUM (NSInteger , IBGDismissType ) {
86
+ // Dismissed after report submit
87
+ IBGDismissTypeSubmit ,
88
+ // Dismissed via cancel
89
+ IBGDismissTypeCancel ,
90
+ // Dismissed while taking screenshot
91
+ IBGDismissTypeAddAttachment
92
+ };
93
+
68
94
/**
69
95
* The supported locales
70
96
*/
71
97
typedef NS_ENUM (NSInteger , IBGLocale ) {
72
98
IBGLocaleArabic ,
73
99
IBGLocaleChineseSimplified ,
100
+ IBGLocaleChineseTaiwan ,
74
101
IBGLocaleChineseTraditional ,
75
102
IBGLocaleCzech ,
76
103
IBGLocaleDanish ,
@@ -81,10 +108,88 @@ typedef NS_ENUM(NSInteger, IBGLocale) {
81
108
IBGLocaleJapanese ,
82
109
IBGLocaleKorean ,
83
110
IBGLocalePolish ,
111
+ IBGLocalePortugese ,
84
112
IBGLocalePortugueseBrazil ,
85
113
IBGLocaleRussian ,
114
+ IBGLocaleSlovak ,
86
115
IBGLocaleSpanish ,
87
116
IBGLocaleSwedish ,
88
117
IBGLocaleTurkish
89
118
};
119
+
120
+ /**
121
+ * Instabug strings
122
+ */
123
+ typedef NS_ENUM (NSInteger , IBGString ) {
124
+ //"<Shake> your device to talk to us"
125
+ IBGStringShakeHint ,
126
+ //"<Swipe with 2 fingers> to talk to us"
127
+ IBGStringSwipeHint ,
128
+ //"<Swipe from the edge> to talk to us"
129
+ IBGStringEdgeSwipeStartHint ,
130
+ //"We love to hear your feedback"
131
+ IBGStringStartAlertText ,
132
+ //"Please enter a valid email"
133
+ IBGStringInvalidEmailMessage ,
134
+ //"Invalid Email"
135
+ IBGStringInvalidEmailTitle ,
136
+ //"Please enter a valid comment"
137
+ IBGStringInvalidCommentMessage ,
138
+ //"Invalid Comment"
139
+ IBGStringInvalidCommentTitle ,
140
+ //"Help & Feedback"
141
+ IBGStringInvocationHeader ,
142
+ //"Talk to us"
143
+ IBGStringTalkToUs ,
144
+ //"Report bug"
145
+ IBGStringReportBug ,
146
+ //"Suggest an Improvement"
147
+ IBGStringReportFeedback ,
148
+ //"Enter your Email"
149
+ IBGStringEmailFieldHint ,
150
+ //"What went wrong?"
151
+ IBGStringCommentFieldHintForBugReport ,
152
+ //"How can we improve?"
153
+ IBGStringCommentFieldHintForFeedback ,
154
+ //"Take a screen recording Note"
155
+ IBGStringAddScreenRecordingMessage ,
156
+ //"Record a Voice Note"
157
+ IBGStringAddVoiceMessage ,
158
+ //"Select Image from Gallery"
159
+ IBGStringAddImageFromGallery ,
160
+ //"Take a Screenshot"
161
+ IBGStringAddExtraScreenshot ,
162
+ //"Microphone Access Denied"
163
+ IBGStringAudioRecordingPermissionDeniedTitle ,
164
+ //"You can enable access in Privacy Settings"
165
+ IBGStringAudioRecordingPermissionDeniedMessage ,
166
+ //"Settings"
167
+ IBGStringMicrophonePermissionAlertSettingsButtonTitle ,
168
+ //"Conversations"
169
+ IBGStringChatsHeaderTitle ,
170
+ //"%@ Team"
171
+ IBGStringTeam ,
172
+ //"Press and Hold to Record"
173
+ IBGStringRecordingMessageToHoldText ,
174
+ //"Release to Attach"
175
+ IBGStringRecordingMessageToReleaseText ,
176
+ //"%@ new messages from %@"
177
+ IBGStringMessagesNotification ,
178
+ //%@ new messages from %@ and others
179
+ IBGStringMessagesNotificationAndOthers ,
180
+ //"Draw on screenshot"
181
+ IBGStringScreenshotHeaderTitle ,
182
+ //"OK"
183
+ IBGStringOkButtonTitle ,
184
+ //"Cancel"
185
+ IBGStringCancelButtonTitle ,
186
+ //"Thank you"
187
+ IBGStringThankYouText ,
188
+ //"Audio"
189
+ IBGStringAudio ,
190
+ //"Screen Recording"
191
+ IBGStringScreenRecording ,
192
+ //"Image"
193
+ IBGStringImage
194
+ };
90
195
//===========================================================================================================================================
0 commit comments