File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 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
9292export function setAutoScreenRecosetAutoScreenRecordingMaxDurationrdingEnabled ( autoScreenRecordingMaxDuration : number ) : void ;
9393export function IBGLog ( log : string ) : void ;
9494export function setUserStepsEnabled ( isUserStepsEnabled : boolean ) : void ;
95+ export function setTrackUserSteps ( issetTrackUserSteps : boolean ) : void ;
9596export function setIBGLogPrintsToConsole ( printsToConsole : boolean ) : void ;
9697export function setCrashReportingEnabled ( enableCrashReporter : boolean ) : void ;
9798export function setPreSendingHandler ( preSendingHandler : ( ) => void ) : void ;
@@ -135,9 +136,9 @@ export function setPrimaryColor(setPrimaryColor: string): void;
135136export function appendTags ( tags : string [ ] ) : void ;
136137export function resetTags ( ) : void ;
137138export function getTags ( tagsCallback : ( ) => void ) : void ;
138- export function setstringToKey (
139+ export function setStringToKey (
139140 string : string ,
140- key : string
141+ key : strings ,
141142 ) : void ;
142143export function setAttachmentTypesEnabled (
143144 screenshot : boolean ,
Original file line number Diff line number Diff line change 22 NativeModules ,
33 NativeAppEventEmitter ,
44 DeviceEventEmitter ,
5- Platform
5+ Platform ,
6+ processColor
67} from 'react-native' ;
78let { Instabug } = NativeModules ;
89import InstabugUtils from './utils/InstabugUtils' ;
@@ -249,7 +250,7 @@ const InstabugModule = {
249250 * @param {color } primaryColor A color to set the UI elements of the SDK to.
250251 */
251252 setPrimaryColor : function ( primaryColor ) {
252- Instabug . setPrimaryColor ( primaryColor ) ;
253+ Instabug . setPrimaryColor ( processColor ( primaryColor ) ) ;
253254 } ,
254255
255256 /**
You can’t perform that action at this time.
0 commit comments