darryncampbell / react-native-datawedge-intents

React Native interface for Zebra's DataWedge Intent API
MIT License
43 stars 46 forks source link

intents send from cmd are not received #24

Closed mrojas18 closed 2 years ago

mrojas18 commented 2 years ago

hi!! great work!

sorry for my english,

i'm having this issue,

currently i'm developing an app, and right now i have a device TC-21, and everything works good, but when i try to send an intent with some data from cmd, the intent is send, but on the app is not received,

example of intent adb shell am start -a com.famiq.logistica.SCAN -c android.intent.category.DEFAULT -e com.symbol.datawedge.data_string 2021038932 -e com.symbol.datawedge.source scanner -e com.symbol.datawedge.label_type LABEL-TYPE-EAN13

config profile

var profileConfig = { "PROFILE_NAME": "FamiqLogisticaApp", "PROFILE_ENABLED": "true", "CONFIG_MODE": "UPDATE", "PLUGIN_CONFIG": { "PLUGIN_NAME": "BARCODE", "RESET_CONFIG": "true", "PARAM_LIST": {} }, "APP_LIST": [{ "PACKAGE_NAME": "com.famiq.logistica", "ACTIVITY_LIST": ["*"] }] };

can you help me?

darryncampbell commented 2 years ago

Hi, is this still an open issue? I see it was closed and reopened. If this is still an issue, could you please provide the configuration of your DtaaWedge output plugin(s)? Also, I assume you have seen it but if not, this article will be relevant: https://developer.zebra.com/community/home/blog/2018/12/20/testing-your-zebra-scanning-application-on-an-emulator

mrojas18 commented 2 years ago

hi!! thanks for your answer,

it looks like i should change start by broadcast on the intent,

adb shell am broadcast -a com.famiq.logistica.SCAN -c android.intent.category.DEFAULT -e com.symbol.datawedge.data_string 2021038932 -e com.symbol.datawedge.source scanner -e com.symbol.datawedge.label_type LABEL-TYPE-EAN13

thanks!!