Skip to content

Commit 5fe20c2

Browse files
author
Ali Abdelfattah
authored
Merge pull request #512 from Instabug/release/v9.1.8
Release/v9.1.8
2 parents 2203d90 + 6a9d207 commit 5fe20c2

File tree

102 files changed

+333
-904
lines changed

Some content is hidden

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

102 files changed

+333
-904
lines changed

.circleci/config.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -59,24 +59,8 @@ jobs:
5959
- checkout:
6060
path: ~/project
6161

62-
- restore_cache:
63-
key: yarn-v1-{{ checksum "InstabugSample/yarn.lock" }}-{{ arch }}
64-
65-
- restore_cache:
66-
key: node-v1-{{ checksum "InstabugSample/package.json" }}-{{ arch }}
67-
6862
- run: cd InstabugSample && yarn install
6963

70-
- save_cache:
71-
key: yarn-v1-{{ checksum "InstabugSample/yarn.lock" }}-{{ arch }}
72-
paths:
73-
- ~/.cache/yarn
74-
75-
- save_cache:
76-
key: node-v1-{{ checksum "InstabugSample/package.json" }}-{{ arch }}
77-
paths:
78-
- InstabugSample/node_modules
79-
8064
- run:
8165
name: jest tests
8266
command: |

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
## master
1+
2+
## v9.1.8 (2020-09-16)
23

34
* Adds support for react-navigation v5
5+
* Adds support for the Azerbaijani locale
6+
* Bumps Instabug native SDKs to v9.1.7
47
* Fixes an issue with `onReportSubmitHandler` on iOS
58

69
## v9.1.7 (2020-08-10)

InstabugSample/__tests__/instabugUtils.spec.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
* @lint-ignore-every XPLATJSCOPYRIGHT1
44
*/
55

6-
import 'react-native';
76
import { NativeModules, Platform } from 'react-native';
87
import '../../jest/mockInstabug';
98
import Instabug from 'instabug-reactnative';
@@ -77,4 +76,4 @@ describe('Test global error handler', () => {
7776
// });
7877

7978

80-
});
79+
});

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ android {
2929
dependencies {
3030
implementation 'com.android.support:multidex:1.0.3'
3131
implementation 'com.facebook.react:react-native:+'
32-
api('com.instabug.library:instabug:9.1.6.0') {
32+
api('com.instabug.library:instabug:9.1.7.0') {
3333
exclude group: 'com.android.support:appcompat-v7'
3434
}
3535
testImplementation 'org.mockito:mockito-core:1.10.19'

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
import com.instabug.library.visualusersteps.State;
1515

1616
import static com.instabug.library.internal.module.InstabugLocale.ARABIC;
17+
import static com.instabug.library.internal.module.InstabugLocale.AZERBAIJANI;
1718
import static com.instabug.library.internal.module.InstabugLocale.CZECH;
1819
import static com.instabug.library.internal.module.InstabugLocale.DANISH;
1920
import static com.instabug.library.internal.module.InstabugLocale.ENGLISH;
@@ -139,6 +140,7 @@ static void registerInvocationOptionsArgs(Map<String, Object> args) {
139140
}
140141

141142
static void registerLocaleArgs(Map<String, Object> args) {
143+
args.put("azerbaijani", new Locale(AZERBAIJANI.getCode(), AZERBAIJANI.getCountry()));
142144
args.put("chineseTraditional", new Locale(TRADITIONAL_CHINESE.getCode(), TRADITIONAL_CHINESE.getCountry()));
143145
args.put("portuguesePortugal", new Locale(PORTUGUESE_PORTUGAL.getCode(), PORTUGUESE_PORTUGAL.getCountry()));
144146
args.put("chineseSimplified", new Locale(SIMPLIFIED_CHINESE.getCode(), SIMPLIFIED_CHINESE.getCountry()));

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ public class RNInstabugReactnativeModule extends ReactContextBaseJavaModule {
104104
private final String FLOATING_BUTTON_EDGE_LEFT = "left";
105105
//locales
106106
private final String LOCALE_ARABIC = "arabic";
107+
private final String LOCALE_AZERBAIJANI = "azerbaijani";
107108
private final String LOCALE_CHINESE_SIMPLIFIED = "chineseSimplified";
108109
private final String LOCALE_CHINESE_TRADITIONAL = "chineseTraditional";
109110
private final String LOCALE_CZECH = "czech";
@@ -2382,6 +2383,7 @@ public Map<String, Object> getConstants() {
23822383
constants.put(BUG_REPORTING_REPORT_TYPE_QUESTION, BUG_REPORTING_REPORT_TYPE_QUESTION);
23832384

23842385
constants.put("localeArabic", LOCALE_ARABIC);
2386+
constants.put("localeAzerbaijani", LOCALE_AZERBAIJANI);
23852387
constants.put("localeChineseSimplified", LOCALE_CHINESE_SIMPLIFIED);
23862388
constants.put("localeChineseTraditional", LOCALE_CHINESE_TRADITIONAL);
23872389
constants.put("localeCzech", LOCALE_CZECH);

index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ export enum extendedBugReportMode {
278278
}
279279
export enum locale {
280280
arabic,
281+
azerbaijani,
281282
chineseSimplified,
282283
chineseTraditional,
283284
czech,

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -916,6 +916,7 @@ const InstabugModule = {
916916
*/
917917
locale: {
918918
arabic: Instabug.localeArabic,
919+
azerbaijani: Instabug.localeAzerbaijani,
919920
chineseSimplified: Instabug.localeChineseSimplified,
920921
chineseTraditional: Instabug.localeChineseTraditional,
921922
czech: Instabug.localeCzech,

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: 9.1.6
8+
Version: 9.1.7
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: 9.1.6
8+
Version: 9.1.7
99
*/
1010

1111
#import <Foundation/Foundation.h>

0 commit comments

Comments
 (0)