Skip to content

Commit 6d84e79

Browse files
authored
💎 Bump to version 8.7.0
1 parent f03364c commit 6d84e79

File tree

73 files changed

+277
-195
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+277
-195
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,15 +252,15 @@ workflows:
252252
- test_android
253253
- test_ios
254254
- e2e_ios
255-
- e2e_android
255+
# - e2e_android
256256
- hold:
257257
requires:
258258
- test_module
259259
- test_sample
260260
- test_android
261261
- test_ios
262262
- e2e_ios
263-
- e2e_android
263+
# - e2e_android
264264
type: approval
265265
filters:
266266
branches:

CHANGELOG.md

Lines changed: 4 additions & 0 deletions

InstabugSample/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export default class App extends Component<{}> {
3535
colorTheme: 'Light'
3636
};
3737

38-
Instabug.startWithToken("YOUR_TOKEN", [Instabug.invocationEvent.shake]);
38+
Instabug.startWithToken("YOUR_TOKEN", [Instabug.invocationEvent.floatingButton]);
3939
}
4040

4141
render() {

InstabugSample/android/app/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ android {
121121
versionName "1.0"
122122
testBuildType System.getProperty('testBuildType', 'debug') // This will later be used to control the test apk build type
123123
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
124+
multiDexEnabled true
124125
}
125126
splits {
126127
abi {
@@ -168,6 +169,7 @@ android {
168169
dependencies {
169170
implementation fileTree(dir: "libs", include: ["*.jar"])
170171
implementation "com.facebook.react:react-native:+" // From node_modules
172+
implementation 'com.android.support:multidex:1.0.3'
171173

172174
// JSC from node_modules
173175
if (useIntlJsc) {

InstabugSample/android/app/src/main/java/com/instabugsample/MainApplication.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,6 @@ public boolean getUseDeveloperSupport() {
2424
protected List<ReactPackage> getPackages() {
2525
@SuppressWarnings("UnnecessaryLocalVariable")
2626
List<ReactPackage> packages = new PackageList(this).getPackages();
27-
new RNInstabugReactnativePackage.Builder("YOUR_TOKEN", MainApplication.this)
28-
.setInvocationEvent("button")
29-
.setPrimaryColor("#1D82DC")
30-
.setFloatingEdge("left")
31-
.setFloatingButtonOffsetFromTop(250)
32-
.build();
3327
// Packages that cannot be autolinked yet can be added manually here, for example:
3428
// packages.add(new MyReactNativePackage());
3529
return packages;
@@ -49,6 +43,12 @@ public ReactNativeHost getReactNativeHost() {
4943
@Override
5044
public void onCreate() {
5145
super.onCreate();
46+
new RNInstabugReactnativePackage.Builder("YOUR_TOKEN", MainApplication.this)
47+
.setInvocationEvent("button")
48+
.setPrimaryColor("#1D82DC")
49+
.setFloatingEdge("left")
50+
.setFloatingButtonOffsetFromTop(250)
51+
.build();
5252
SoLoader.init(this, /* native exopackage */ false);
5353
}
5454
}

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ android {
2727

2828
dependencies {
2929
implementation 'com.facebook.react:react-native:+'
30-
api('com.instabug.library:instabug:8.6.3.1') {
30+
api('com.instabug.library:instabug:8.7.0.0') {
3131
exclude group: 'com.android.support:appcompat-v7'
3232
}
3333
testImplementation 'org.mockito:mockito-core:1.10.19'

android/src/main/java/com/instabug/reactlibrary/RNInstabugReactnativeModule.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,11 @@ public class RNInstabugReactnativeModule extends ReactContextBaseJavaModule {
213213

214214
private final String CONVERSATION_TEXT_FIELD_HINT = "conversationTextFieldHint";
215215

216+
private final String REPORT_BUG_DESCRIPTION = "reportBugDescription";
217+
private final String REPORT_FEEDBACK_DESCRIPTION = "reportFeedbackDescription";
218+
private final String REPORT_QUESTION_DESCRIPTION = "reportQuestionDescription";
219+
private final String REQUEST_FEATURE_DESCRIPTION = "requestFeatureDescription";
220+
216221
private Application androidApplication;
217222
private Instabug mInstabug;
218223
private InstabugInvocationEvent invocationEvent;
@@ -2311,6 +2316,14 @@ private InstabugCustomTextPlaceHolder.Key getStringToKeyConstant(String key) {
23112316
return InstabugCustomTextPlaceHolder.Key.SURVEYS_STORE_RATING_THANKS_TITLE;
23122317
case STORE_RATING_THANKS_SUBTITLE:
23132318
return InstabugCustomTextPlaceHolder.Key.SURVEYS_STORE_RATING_THANKS_SUBTITLE;
2319+
case REPORT_BUG_DESCRIPTION:
2320+
return InstabugCustomTextPlaceHolder.Key.REPORT_BUG_DESCRIPTION;
2321+
case REPORT_FEEDBACK_DESCRIPTION:
2322+
return InstabugCustomTextPlaceHolder.Key.REPORT_FEEDBACK_DESCRIPTION;
2323+
case REPORT_QUESTION_DESCRIPTION:
2324+
return InstabugCustomTextPlaceHolder.Key.REPORT_QUESTION_DESCRIPTION;
2325+
case REQUEST_FEATURE_DESCRIPTION:
2326+
return InstabugCustomTextPlaceHolder.Key.REQUEST_FEATURE_DESCRIPTION;
23142327
default:
23152328
return null;
23162329
}
@@ -2471,6 +2484,11 @@ public Map<String, Object> getConstants() {
24712484
constants.put(STORE_RATING_THANKS_TITLE, STORE_RATING_THANKS_TITLE);
24722485
constants.put(STORE_RATING_THANKS_SUBTITLE, STORE_RATING_THANKS_SUBTITLE);
24732486

2487+
constants.put(REPORT_BUG_DESCRIPTION, REPORT_BUG_DESCRIPTION);
2488+
constants.put(REPORT_FEEDBACK_DESCRIPTION, REPORT_FEEDBACK_DESCRIPTION);
2489+
constants.put(REPORT_QUESTION_DESCRIPTION, REPORT_QUESTION_DESCRIPTION);
2490+
constants.put(REQUEST_FEATURE_DESCRIPTION, REQUEST_FEATURE_DESCRIPTION);
2491+
24742492
return constants;
24752493
}
24762494
}

index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -980,7 +980,11 @@ const InstabugModule = {
980980
surveysCustomThanksTitle: Instabug.surveysCustomThanksTitle,
981981
surveysCustomThanksSubTitle: Instabug.surveysCustomThanksSubTitle,
982982
surveysStoreRatingThanksTitle: Instabug.surveysStoreRatingThanksTitle,
983-
surveysStoreRatingThanksSubtitle: Instabug.surveysStoreRatingThanksSubtitle
983+
surveysStoreRatingThanksSubtitle: Instabug.surveysStoreRatingThanksSubtitle,
984+
reportBugDescription: Instabug.reportBugDescription,
985+
reportFeedbackDescription: Instabug.reportFeedbackDescription,
986+
reportQuestionDescription: Instabug.reportQuestionDescription,
987+
requestFeatureDescription: Instabug.requestFeatureDescription
984988
},
985989

986990
_isOnReportHandlerSet() {

ios/Instabug.framework/Headers/IBGBugReporting.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Copyright: (c) 2013-2019 by Instabug, Inc., all rights reserved.
77
8-
Version: 8.6.2
8+
Version: 8.7.1
99
*/
1010

1111
#import <Foundation/Foundation.h>

ios/Instabug.framework/Headers/IBGChats.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Copyright: (c) 2013-2019 by Instabug, Inc., all rights reserved.
77
8-
Version: 8.6.2
8+
Version: 8.7.1
99
*/
1010

1111
#import <Foundation/Foundation.h>

ios/Instabug.framework/Headers/IBGCrashReporting.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Copyright: (c) 2013-2019 by Instabug, Inc., all rights reserved.
77
8-
Version: 8.6.2
8+
Version: 8.7.1
99
*/
1010

1111
#import <Foundation/Foundation.h>

ios/Instabug.framework/Headers/IBGFeatureRequests.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Copyright: (c) 2013-2019 by Instabug, Inc., all rights reserved.
77
8-
Version: 8.6.2
8+
Version: 8.7.1
99
*/
1010

1111

ios/Instabug.framework/Headers/IBGLog.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Copyright: (c) 2013-2019 by Instabug, Inc., all rights reserved.
77
8-
Version: 8.6.2
8+
Version: 8.7.1
99
*/
1010

1111
#import <Foundation/Foundation.h>

ios/Instabug.framework/Headers/IBGNetworkLogger.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Copyright: (c) 2013-2019 by Instabug, Inc., all rights reserved.
77
8-
Version: 8.6.2
8+
Version: 8.7.1
99
*/
1010

1111
#import <Foundation/Foundation.h>

ios/Instabug.framework/Headers/IBGReplies.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Copyright: (c) 2013-2019 by Instabug, Inc., all rights reserved.
77
8-
Version: 8.6.2
8+
Version: 8.7.1
99
*/
1010

1111
#import <Foundation/Foundation.h>

ios/Instabug.framework/Headers/IBGSurvey.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Copyright: (c) 2013-2019 by Instabug, Inc., all rights reserved.
77
8-
Version: 8.6.2
8+
Version: 8.7.1
99
*/
1010

1111
#import <Foundation/Foundation.h>

ios/Instabug.framework/Headers/IBGSurveys.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Copyright: (c) 2013-2019 by Instabug, Inc., all rights reserved.
77
8-
Version: 8.6.2
8+
Version: 8.7.1
99
*/
1010

1111
#import <Foundation/Foundation.h>

ios/Instabug.framework/Headers/IBGTypes.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Copyright: (c) 2013-2018 by Instabug, Inc., all rights reserved.
77
8-
Version: 8.6.2
8+
Version: 8.7.1
99
*/
1010

1111
#import <UIKit/UIKit.h>
@@ -40,6 +40,10 @@ extern NSString * const kIBGFeatureRequetsPromptName;
4040
extern NSString * const kIBGAskAQuestionStringName;
4141
extern NSString * const kIBGReportBugStringName;
4242
extern NSString * const kIBGReportFeedbackStringName;
43+
extern NSString * const kIBGReportBugDescriptionStringName;
44+
extern NSString * const kIBGReportFeedbackDescriptionStringName;
45+
extern NSString * const kIBGReportQuestionDescriptionStringName;
46+
extern NSString * const kIBGRequestFeatureDescriptionStringName;
4347
extern NSString * const kIBGPhotoPickerTitle;
4448
extern NSString * const kIBGProgressViewTitle;
4549
extern NSString * const kIBGGalleryPermissionDeniedAlertTitle;

ios/Instabug.framework/Headers/Instabug.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Copyright: (c) 2013-2019 by Instabug, Inc., all rights reserved.
77
8-
Version: 8.6.2
8+
Version: 8.7.1
99
*/
1010

1111
#import <Foundation/Foundation.h>

ios/Instabug.framework/Headers/InstabugCore.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Copyright: (c) 2013-2019 by Instabug, Inc., all rights reserved.
77
8-
Version: 8.6.2
8+
Version: 8.7.1
99
*/
1010

1111
#import <Foundation/Foundation.h>

ios/Instabug.framework/Info.plist

0 Bytes
Binary file not shown.

ios/Instabug.framework/Instabug

575 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)