Skip to content

Commit 4f67017

Browse files
DavidMina96ymabdallah
authored andcommitted
[MOB-11609] Deprecate Instabug.isRunningLive API (#892)
This API works only on iOS with no equivalent on Android, which makes it confusing to users. We should deprecate it and recommend managing and checking app running environment using environment variables instead.
1 parent 84346a3 commit 4f67017

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
- Deprecates Instabug.start in favour of Instabug.init that takes a configuration object for SDK initialization.
55
- Deprecates Instabug.setDebugEnabled, Instabug.setSdkDebugLogsLevel, and APM.setLogLevel in favour of debugLogsLevel property, which can be passed to InstabugConfig while initializing the SDK using Instabug.init.
66
- Deprecates the enums: sdkDebugLogsLevel and logLevel in favour of a new enum LogLevel.
7+
- Deprecates Instabug.isRunningLive API.
78

89
## 11.6.0 (2022-12-29)
910

src/modules/Instabug.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,9 @@ export const disable = () => {
444444
};
445445

446446
/**
447+
* @deprecated This API will be removed in a future release.
448+
* You can manage and check your app running environment using environment variables.
449+
*
447450
* Checks whether app is development/Beta testing OR live
448451
* Note: This API is iOS only
449452
* It returns in the callback false if in development or beta testing on Test Flight, and

0 commit comments

Comments
 (0)