My Code as below, when i get the intent log only return me ok. I need to get list of profile in data wedge. Please help.
(<any>window).plugins.intentShim.sendBroadcast({
action: 'com.symbol.datawedge.api.ACTION',
extras: {
"com.symbol.datawedge.api.GET_PROFILES_LIST": ""
}
},
function (intent) {
let data_string = "com.symbol.datawedge.api.RESULT_GET_PROFILES_LIST";
console.log('Profile-' + intent.extras[data_string]);
},
function () {
}
);