Set Theme

By default, the Instabug SDK uses a light theme. This, however, can be changed to use a dark theme. To do this, you can use this API while passing the relevant enum to it.

Method

Instabug.setColorTheme(.dark)
[Instabug setColorTheme:IBGColorThemeDark];
Instabug.setColorTheme(InstabugColorTheme.InstabugColorThemeLight);
Instabug.setColorTheme(InstabugColorTheme.InstabugColorThemeLight)
Instabug.setColorTheme(Instabug.colorTheme.dark);
Instabug.setColorTheme(ColorTheme.dark);
Instabug.setColorTheme(Instabug.colorTheme.dark);
//iOS
Instabug.SetColorTheme(IBGColorTheme.Light);

//Android
Instabug.SetColorTheme(InstabugColorTheme.InstabugColorThemeLight);
Theme Parameters:

//Light
.light
//Dark
.dark
//Light
IBGColorThemeLight
//Dark
IBGColorThemeDark
//Light
IBGColorThemeLight
//Dark
IBGColorThemeDark
//Light
IBGColorThemeLight
//Dark
IBGColorThemeDark
//Light
Instabug.colorTheme.light
//Dark
Instabug.colorTheme.dark
//Light
ColorTheme.light
//Dark
ColorTheme.dark
//Light
Instabug.colorTheme.light
//Dark
Instabug.colorTheme.dark
//iOS
//Light
IBGColorTheme.Light
//Dark
IBGColorTheme.Dark

//Android
//Light
InstabugColorTheme.InstabugColorThemeLight
//Dark
InstabugColorTheme.InstabugColorThemeDark