diff --git a/android/src/main/java/com/syan/agora/AgoraModule.java b/android/src/main/java/com/syan/agora/AgoraModule.java index 9062ec296..de69b2faa 100644 --- a/android/src/main/java/com/syan/agora/AgoraModule.java +++ b/android/src/main/java/com/syan/agora/AgoraModule.java @@ -664,7 +664,7 @@ public void run() { WritableMap map = Arguments.createMap(); map.putInt("uid", uid); map.putInt("state", state); - map.putInt("uid", reason); + map.putInt("reason", reason); map.putInt("elapsed", elapsed); sendEvent(getReactApplicationContext(), AGRemoteAudioStateChanged, map); }