File tree 2 files changed +6
-4
lines changed 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -92,6 +92,7 @@ export function setAutoScreenRecordingEnabled(autoScreenRecordingEnabled: boolea
92
92
export function setAutoScreenRecosetAutoScreenRecordingMaxDurationrdingEnabled ( autoScreenRecordingMaxDuration : number ) : void ;
93
93
export function IBGLog ( log : string ) : void ;
94
94
export function setUserStepsEnabled ( isUserStepsEnabled : boolean ) : void ;
95
+ export function setTrackUserSteps ( issetTrackUserSteps : boolean ) : void ;
95
96
export function setIBGLogPrintsToConsole ( printsToConsole : boolean ) : void ;
96
97
export function setCrashReportingEnabled ( enableCrashReporter : boolean ) : void ;
97
98
export function setPreSendingHandler ( preSendingHandler : ( ) => void ) : void ;
@@ -135,9 +136,9 @@ export function setPrimaryColor(setPrimaryColor: string): void;
135
136
export function appendTags ( tags : string [ ] ) : void ;
136
137
export function resetTags ( ) : void ;
137
138
export function getTags ( tagsCallback : ( ) => void ) : void ;
138
- export function setstringToKey (
139
+ export function setStringToKey (
139
140
string : string ,
140
- key : string
141
+ key : strings ,
141
142
) : void ;
142
143
export function setAttachmentTypesEnabled (
143
144
screenshot : boolean ,
Original file line number Diff line number Diff line change 2
2
NativeModules ,
3
3
NativeAppEventEmitter ,
4
4
DeviceEventEmitter ,
5
- Platform
5
+ Platform ,
6
+ processColor
6
7
} from 'react-native' ;
7
8
let { Instabug } = NativeModules ;
8
9
import InstabugUtils from './utils/InstabugUtils' ;
@@ -249,7 +250,7 @@ const InstabugModule = {
249
250
* @param {color } primaryColor A color to set the UI elements of the SDK to.
250
251
*/
251
252
setPrimaryColor : function ( primaryColor ) {
252
- Instabug . setPrimaryColor ( primaryColor ) ;
253
+ Instabug . setPrimaryColor ( processColor ( primaryColor ) ) ;
253
254
} ,
254
255
255
256
/**
You can’t perform that action at this time.
0 commit comments