on 04-23-2021 1:01 PM
Hi,
I am trying the implemented Barcarole Scanner in one of my MDK page. I am using BarcodeScannerAction and in onSuccess I am calling BarcodeScanResult.js
BarcodeScanResult.js
export default function BarcodeScanResult(context) {
var actionResult = context.getActionResult('BarcodeScanner');
let pageProxy = context.getPageProxy();
if (actionResult) {
pageProxy.setActionBinding({ 'Result': actionResult.data, });
return context.executeAction('/DemoSampleApp/Actions/ShowScanValueMessage.action');
}
}
ShowScanValueMessage.action is a tostAction
{ "Message": "Scan value is {Result}", "_Type": "Action.Type.ToastMessage" }
But this action is not executing.
Please let me know am I doing anything wrong there.
subha2007p21
The Android App Store client has been updated to 5.2.3, please try again.
I see the expected result.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The iOS App Store client just update to MDK 5.2.1 today and I tried using that version with your rule and toast message. I saw the expected result.
What version of MDK are you running and on what platform?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.