Closed nosTa1337 closed 3 years ago
Take a look to issue #17
I may forgot to mention I am using Ionic 2 and the documentation says I just need to listen to the specific event:
https://ionicframework.com/docs/native/broadcaster/
// Listen to events from Native this.broadcaster.addEventListener('eventName').subscribe((event) => console.log(event));
I think if I do it that way I just need to know the correct event name. But I didn't manage to find it out yet.
The only events that you could handle using plugin are the ones fired through LocalBroadcaster. This means that if laserscan events are fired in different way you have to bridge them. To have an idea how to do this take a look at #17
Are you successful?
I am using Ionic 2, But I this.broadcaster.addEventListener('android.intent.action.PACKAGE_ADDED').subscribe((event) => It is unsuccessful
relate to #34
closed for inactivity
Hi,
can anyone give me a hint how to work with a laserscanner?
I tried working with adb getevent and received the following things:
`add device 5: /dev/input/event0 name: "keyremap_virtual" events: KEY (0001): KEY_F12 KEY_HOME KEY_VOLUMEUP KEY_SCALE KEY_MENU KEY_WAKEUP KEY_PROG1 KEY_BACK KEY_UNKNOWN input props: