Open sebas0811buitrago opened 2 years ago
Sorry I just realize that this line "PACKAGE_NAME": "com.rn066datawedge"
had to have the name of my package, I changed and it worked, now it retrieves the scanned data, however it doesn´t get the available scanners but I don´t know why.
Hi, so to retrieve responses back from the DataWedge API (which is how the available scanners are delivered), you will need both the correct action, RESULT_ACTION, the same as https://github.com/darryncampbell/DataWedgeReactNative/blob/master/App.js#L100 and also you need to specify the default category, https://github.com/darryncampbell/DataWedgeReactNative/blob/master/App.js#L103. After registering your receiver, calling enumerate (https://github.com/darryncampbell/DataWedgeReactNative/blob/master/App.js#L163) should result in the scanners being returned as https://github.com/darryncampbell/DataWedgeReactNative/blob/master/App.js#L135. Please check that you have all of those in your application.
First of all thanks for your library, It'll be really helpfull for me when I make it work.
I'm trying to build a qr scan app with your package and it can't get the available scanners neither retrieve any data when I press the scan button. This is what I did so far:
"PACKAGE_NAME": "com.rn066datawedge"
but it didn't work.These are the versions of my dependencies:
This is a repository with my code: repository
Maybe Do I have to change something in my manifest or graddle? Do you have any insight here?
Thanks in advanced.