Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Release/v9.1.8 #512

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Sep 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,24 +59,8 @@ jobs:
- checkout:
path: ~/project

- restore_cache:
key: yarn-v1-{{ checksum "InstabugSample/yarn.lock" }}-{{ arch }}

- restore_cache:
key: node-v1-{{ checksum "InstabugSample/package.json" }}-{{ arch }}

- run: cd InstabugSample && yarn install

- save_cache:
key: yarn-v1-{{ checksum "InstabugSample/yarn.lock" }}-{{ arch }}
paths:
- ~/.cache/yarn

- save_cache:
key: node-v1-{{ checksum "InstabugSample/package.json" }}-{{ arch }}
paths:
- InstabugSample/node_modules

- run:
name: jest tests
command: |
Expand Down
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
## master

## v9.1.8 (2020-09-16)

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

## v9.1.7 (2020-08-10)
Expand Down
3 changes: 1 addition & 2 deletions InstabugSample/__tests__/instabugUtils.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* @lint-ignore-every XPLATJSCOPYRIGHT1
*/

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


});
});
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ android {
dependencies {
implementation 'com.android.support:multidex:1.0.3'
implementation 'com.facebook.react:react-native:+'
api('com.instabug.library:instabug:9.1.6.0') {
api('com.instabug.library:instabug:9.1.7.0') {
exclude group: 'com.android.support:appcompat-v7'
}
testImplementation 'org.mockito:mockito-core:1.10.19'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import com.instabug.library.visualusersteps.State;

import static com.instabug.library.internal.module.InstabugLocale.ARABIC;
import static com.instabug.library.internal.module.InstabugLocale.AZERBAIJANI;
import static com.instabug.library.internal.module.InstabugLocale.CZECH;
import static com.instabug.library.internal.module.InstabugLocale.DANISH;
import static com.instabug.library.internal.module.InstabugLocale.ENGLISH;
Expand Down Expand Up @@ -139,6 +140,7 @@ static void registerInvocationOptionsArgs(Map<String, Object> args) {
}

static void registerLocaleArgs(Map<String, Object> args) {
args.put("azerbaijani", new Locale(AZERBAIJANI.getCode(), AZERBAIJANI.getCountry()));
args.put("chineseTraditional", new Locale(TRADITIONAL_CHINESE.getCode(), TRADITIONAL_CHINESE.getCountry()));
args.put("portuguesePortugal", new Locale(PORTUGUESE_PORTUGAL.getCode(), PORTUGUESE_PORTUGAL.getCountry()));
args.put("chineseSimplified", new Locale(SIMPLIFIED_CHINESE.getCode(), SIMPLIFIED_CHINESE.getCountry()));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ public class RNInstabugReactnativeModule extends ReactContextBaseJavaModule {
private final String FLOATING_BUTTON_EDGE_LEFT = "left";
//locales
private final String LOCALE_ARABIC = "arabic";
private final String LOCALE_AZERBAIJANI = "azerbaijani";
private final String LOCALE_CHINESE_SIMPLIFIED = "chineseSimplified";
private final String LOCALE_CHINESE_TRADITIONAL = "chineseTraditional";
private final String LOCALE_CZECH = "czech";
Expand Down Expand Up @@ -2382,6 +2383,7 @@ public Map<String, Object> getConstants() {
constants.put(BUG_REPORTING_REPORT_TYPE_QUESTION, BUG_REPORTING_REPORT_TYPE_QUESTION);

constants.put("localeArabic", LOCALE_ARABIC);
constants.put("localeAzerbaijani", LOCALE_AZERBAIJANI);
constants.put("localeChineseSimplified", LOCALE_CHINESE_SIMPLIFIED);
constants.put("localeChineseTraditional", LOCALE_CHINESE_TRADITIONAL);
constants.put("localeCzech", LOCALE_CZECH);
Expand Down
1 change: 1 addition & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ export enum extendedBugReportMode {
}
export enum locale {
arabic,
azerbaijani,
chineseSimplified,
chineseTraditional,
czech,
Expand Down
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -916,6 +916,7 @@ const InstabugModule = {
*/
locale: {
arabic: Instabug.localeArabic,
azerbaijani: Instabug.localeAzerbaijani,
chineseSimplified: Instabug.localeChineseSimplified,
chineseTraditional: Instabug.localeChineseTraditional,
czech: Instabug.localeCzech,
Expand Down
2 changes: 1 addition & 1 deletion ios/Instabug.framework/Headers/IBGBugReporting.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Copyright: (c) 2013-2019 by Instabug, Inc., all rights reserved.

Version: 9.1.6
Version: 9.1.7
*/

#import <Foundation/Foundation.h>
Expand Down
2 changes: 1 addition & 1 deletion ios/Instabug.framework/Headers/IBGChats.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Copyright: (c) 2013-2019 by Instabug, Inc., all rights reserved.

Version: 9.1.6
Version: 9.1.7
*/

#import <Foundation/Foundation.h>
Expand Down
2 changes: 1 addition & 1 deletion ios/Instabug.framework/Headers/IBGCrashReporting.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Copyright: (c) 2013-2019 by Instabug, Inc., all rights reserved.

Version: 9.1.6
Version: 9.1.7
*/

#import <Foundation/Foundation.h>
Expand Down
2 changes: 1 addition & 1 deletion ios/Instabug.framework/Headers/IBGFeatureRequests.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Copyright: (c) 2013-2019 by Instabug, Inc., all rights reserved.

Version: 9.1.6
Version: 9.1.7
*/


Expand Down
2 changes: 1 addition & 1 deletion ios/Instabug.framework/Headers/IBGLog.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Copyright: (c) 2013-2019 by Instabug, Inc., all rights reserved.

Version: 9.1.6
Version: 9.1.7
*/

#import <Foundation/Foundation.h>
Expand Down
2 changes: 1 addition & 1 deletion ios/Instabug.framework/Headers/IBGNetworkLogger.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Copyright: (c) 2013-2019 by Instabug, Inc., all rights reserved.

Version: 9.1.6
Version: 9.1.7
*/

#import <Foundation/Foundation.h>
Expand Down
2 changes: 1 addition & 1 deletion ios/Instabug.framework/Headers/IBGReplies.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Copyright: (c) 2013-2019 by Instabug, Inc., all rights reserved.

Version: 9.1.6
Version: 9.1.7
*/

#import <Foundation/Foundation.h>
Expand Down
2 changes: 1 addition & 1 deletion ios/Instabug.framework/Headers/IBGSurvey.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Copyright: (c) 2013-2019 by Instabug, Inc., all rights reserved.

Version: 9.1.6
Version: 9.1.7
*/

#import <Foundation/Foundation.h>
Expand Down
2 changes: 1 addition & 1 deletion ios/Instabug.framework/Headers/IBGSurveys.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Copyright: (c) 2013-2019 by Instabug, Inc., all rights reserved.

Version: 9.1.6
Version: 9.1.7
*/

#import <Foundation/Foundation.h>
Expand Down
3 changes: 2 additions & 1 deletion ios/Instabug.framework/Headers/IBGTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Copyright: (c) 2013-2018 by Instabug, Inc., all rights reserved.

Version: 9.1.6
Version: 9.1.7
*/

#import <UIKit/UIKit.h>
Expand Down Expand Up @@ -279,6 +279,7 @@ typedef NS_ENUM(NSInteger, IBGDismissType) {
*/
typedef NS_ENUM(NSInteger, IBGLocale) {
IBGLocaleArabic,
IBGLocaleAzerbaijani,
IBGLocaleChineseSimplified,
IBGLocaleChineseTaiwan,
IBGLocaleChineseTraditional,
Expand Down
14 changes: 12 additions & 2 deletions ios/Instabug.framework/Headers/Instabug-Swift.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#if 0
#elif defined(__arm64__) && __arm64__
// Generated by Apple Swift version 5.1 (swiftlang-1100.0.270.13 clang-1100.0.33.7)
// Generated by Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wgcc-compat"

Expand Down Expand Up @@ -84,6 +84,11 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#else
# define SWIFT_NOESCAPE
#endif
#if __has_attribute(ns_consumed)
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
#else
# define SWIFT_RELEASES_ARGUMENT
#endif
#if __has_attribute(warn_unused_result)
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
#else
Expand Down Expand Up @@ -206,7 +211,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#pragma clang diagnostic pop

#elif defined(__ARM_ARCH_7A__) && __ARM_ARCH_7A__
// Generated by Apple Swift version 5.1 (swiftlang-1100.0.270.13 clang-1100.0.33.7)
// Generated by Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wgcc-compat"

Expand Down Expand Up @@ -290,6 +295,11 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#else
# define SWIFT_NOESCAPE
#endif
#if __has_attribute(ns_consumed)
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
#else
# define SWIFT_RELEASES_ARGUMENT
#endif
#if __has_attribute(warn_unused_result)
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
#else
Expand Down
2 changes: 1 addition & 1 deletion ios/Instabug.framework/Headers/Instabug.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Copyright: (c) 2013-2019 by Instabug, Inc., all rights reserved.

Version: 9.1.6
Version: 9.1.7
*/

#import <Foundation/Foundation.h>
Expand Down
2 changes: 1 addition & 1 deletion ios/Instabug.framework/Headers/InstabugCore.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Copyright: (c) 2013-2019 by Instabug, Inc., all rights reserved.

Version: 9.1.6
Version: 9.1.7
*/

#import <Foundation/Foundation.h>
Expand Down
Loading