Changed count type from number to String

This commit is contained in:
Akshay
2024-08-21 19:08:18 +05:30
parent db83a97011
commit 10d4e8e94d
@@ -45,10 +45,7 @@ export class WECapInbox extends AwesomeCordovaNativePlugin {
* @returns {Promise<number>} - The count of notifications.
*/
@Cordova()
getNotificationCount(
successCallback: (count: number) => void, // TODO verify if it is string number
errorCallback: (error: string) => void
): Promise<any> {
getNotificationCount(successCallback: (count: String) => void, errorCallback: (error: string) => void): Promise<any> {
return;
}