Skip to content

Commit cf85203

Browse files
TheBuggedYRNHeshamMegid
authored andcommitted
[MOB-11436] Deprecate callPrivateApi (#866)
1 parent f23dadc commit cf85203

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
@@ -5,6 +5,7 @@
55
- Adds new string keys: insufficientContentMessage and insufficientContentTitle
66
- Adds missing mapping for some existing keys if relevant to the other platform
77
- Removes the string key: video
8+
- Deprecates the legacy API `callPrivateApi`
89

910
## 11.5.1 (2022-12-14)
1011

src/modules/Instabug.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,9 @@ export const onReportSubmitHandler = (handler?: (report: Report) => void) => {
561561
NativeInstabug.setPreSendingHandler(handler);
562562
};
563563

564+
/**
565+
* @deprecated Legacy API that will be removed in future releases.
566+
*/
564567
export const callPrivateApi = (apiName: string, param: any[]) => {
565568
NativeInstabug.callPrivateApi(apiName, param);
566569
};

0 commit comments

Comments
 (0)