mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-20 23:56:20 +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:
parent
e791f29ce1
commit
62421ee49d
@ -473,9 +473,9 @@ public class NativeToJsMessageQueue {
|
||||
.append(success)
|
||||
.append(",")
|
||||
.append(status)
|
||||
.append(",")
|
||||
.append(",[")
|
||||
.append(pluginResult.getMessage())
|
||||
.append(",")
|
||||
.append("],")
|
||||
.append(pluginResult.getKeepCallback())
|
||||
.append(");");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user