mirror of
https://github.com/apache/cordova-android.git
synced 2026-05-11 00:00:05 +08:00
CB-2530: Update callbackFromNative syntax to args
New callbackFromNative syntax expects an array of arguments instead of a single message.
This commit is contained in:
@@ -473,9 +473,9 @@ public class NativeToJsMessageQueue {
|
||||
.append(success)
|
||||
.append(",")
|
||||
.append(status)
|
||||
.append(",")
|
||||
.append(",[")
|
||||
.append(pluginResult.getMessage())
|
||||
.append(",")
|
||||
.append("],")
|
||||
.append(pluginResult.getKeepCallback())
|
||||
.append(");");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user