From 8de84e3e139bedf4cc9a949b786e4fb287c7dc6a Mon Sep 17 00:00:00 2001 From: Emmanuel Quentin Date: Thu, 26 May 2022 08:18:09 -0400 Subject: [PATCH] Fix hasVideo attribute not casted to string @see https://github.com/react-native-webrtc/react-native-callkeep/commit/2ba0c6c43d4a344c6befcc12981674531e2ca6d1#commitcomment-74567114 --- android/src/main/java/io/wazo/callkeep/RNCallKeepModule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/src/main/java/io/wazo/callkeep/RNCallKeepModule.java b/android/src/main/java/io/wazo/callkeep/RNCallKeepModule.java index 2b375c9d..8c6c0eb5 100644 --- a/android/src/main/java/io/wazo/callkeep/RNCallKeepModule.java +++ b/android/src/main/java/io/wazo/callkeep/RNCallKeepModule.java @@ -187,7 +187,7 @@ public void reportNewIncomingCall(String uuid, String number, String callerName, args.putString("handle", number); args.putString("callUUID", uuid); args.putString("name", callerName); - args.putString("hasVideo", hasVideo); + args.putString("hasVideo", String.valueOf(hasVideo)); if (payload != null) { args.putString("payload", payload); }