File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
android/src/main/java/com/instabug/reactlibrary Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1108,7 +1108,6 @@ public void run() {
1108
1108
}
1109
1109
1110
1110
private InstabugCustomTextPlaceHolder .Key getStringToKeyConstant (String key ) {
1111
- String keyInLowerCase = key .toLowerCase ();
1112
1111
switch (key ) {
1113
1112
case SHAKE_HINT :
1114
1113
return InstabugCustomTextPlaceHolder .Key .SHAKE_HINT ;
Original file line number Diff line number Diff line change @@ -728,7 +728,9 @@ module.exports = {
728
728
* @param isDebugEnabled whether debug logs should be printed or not into LogCat
729
729
*/
730
730
setDebugEnabled : function ( isDebugEnabled ) {
731
- Instabug . setDebugEnabled ( isDebugEnabled ) ;
731
+ if ( Platform . OS === 'android' ) {
732
+ Instabug . setDebugEnabled ( isDebugEnabled ) ;
733
+ }
732
734
} ,
733
735
734
736
/**
You can’t perform that action at this time.
0 commit comments