Skip to content

Commit 7d5c2be

Browse files
authored
🤝 Merge pull request #24 from Instabug/fix/8.0.11
Fix/8.0.11
2 parents b1ea77b + c0633e8 commit 7d5c2be

34 files changed

+206
-1096
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2189,7 +2189,7 @@ public Map<String, Object> getConstants() {
21892189
constants.put("localeDutch", LOCALE_DUTCH);
21902190
constants.put("localeEnglish", LOCALE_ENGLISH);
21912191
constants.put("localeFrench", LOCALE_FRENCH);
2192-
constants.put("localeGerman", LOCALE_FRENCH);
2192+
constants.put("localeGerman", LOCALE_GERMAN);
21932193
constants.put("localeKorean", LOCALE_KOREAN);
21942194
constants.put("localeItalian", LOCALE_ITALIAN);
21952195
constants.put("localeJapanese", LOCALE_JAPANESE);

index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ var jsonObject = {
5252
// Modify the reponse object;
5353
jsonObject.responseCode = response.status;
5454
jsonObject.responseBody = response._bodyText;
55-
Instabug.networkLog(JSON.stringify(jsonObject));
55+
if (Platform.OS === 'android') {
56+
Instabug.networkLog(JSON.stringify(jsonObject));
57+
}
5658
return response;
5759
}
5860
});

ios/Instabug.framework/Headers/IBGBugReporting.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,18 @@ NS_SWIFT_NAME(BugReporting)
5656
@property(class, atomic, assign) IBGInvocationEvent invocationEvents;
5757

5858
/**
59-
@brief Sets the threshold value of the shake gesture for iPhone/iPod Touch
59+
@brief Sets the threshold value of the shake gesture for iPhone/iPod Touch.
6060
61-
@discussion Default for iPhone is 2.5.
61+
@discussion Default for iPhone is 2.5. The lower the threshold, the easier it will be to invoke Instabug with the
62+
shake gesture. A threshold which is too low will cause Instabug to be invoked unintentionally.
6263
*/
6364
@property(class, atomic, assign) CGFloat shakingThresholdForiPhone;
6465

6566
/**
6667
@brief Sets the threshold value of the shake gesture for iPad.
6768
68-
@discussion Default for iPad is 0.6.
69+
@discussion Default for iPad is 0.6. The lower the threshold, the easier it will be to invoke Instabug with the
70+
shake gesture. A threshold which is too low will cause Instabug to be invoked unintentionally.
6971
*/
7072
@property(class, atomic, assign) CGFloat shakingThresholdForiPad;
7173

ios/Instabug.framework/Headers/Instabug.h

Lines changed: 114 additions & 928 deletions
Large diffs are not rendered by default.

ios/Instabug.framework/Info.plist

1 Byte
Binary file not shown.

ios/Instabug.framework/Instabug

277 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.

ios/Instabug.framework/InstabugResources.bundle/Instabug_dsym_upload.sh

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/bin/bash
12
# Copyright 2014 Instabug, Inc. All rights reserved.
23
#
34
# Usage:
@@ -49,11 +50,20 @@ fi
4950
echo "Instabug: found APP_TOKEN=${APP_TOKEN}"
5051

5152
# Check internet connection
52-
if [ "`curl -s https://api.instabug.com | grep status | grep -c OK`" != "1" ]; then
53-
echo "ERROR connecting to api.instabug.com."
54-
exit 0
53+
set -x
54+
55+
CURL_RESPONSE=$(curl 'https://api.instabug.com')
56+
57+
if [[ $CURL_RESPONSE != *"OK"* ]]; then
58+
echo "ERROR connecting to api.instabug.com."
59+
echo "${CURL_RESPONSE}"
60+
exit 0
61+
else
62+
echo SUCCESS
5563
fi
5664

65+
set +x
66+
5767
# Create temp directory if not exists
5868
CURRENT_USER=$(whoami| tr -dc '[:alnum:]\n\r' | tr '[:upper:]' '[:lower:]')
5969
TEMP_ROOT="/tmp/Instabug-${CURRENT_USER}"
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)