-
Notifications
You must be signed in to change notification settings - Fork 35
installation on react-native 0.54.0 #45
Comments
Same issue , not work in react-native 0.55+ |
Same too..., @Assem-Hafez , @kyungjoongo did you manage to inject cordova plugin into react native app?? |
@mribbons I seen that you had been worked on your fork, maybe you could help us? |
From memory I didn't have much luck with this plugin. Transpiling of the cordova plugin's js files wouldn't work. I suggest you locate RN ports of the cordova packages you need, or write them yourself. |
@mribbons so I probably also abandon this idea. I have got one more question to you, did you know any other libraries to react native which have good barcode scan performance? I didn't manage to scan AZTEC code using |
@mateuszmatyszkowicz zxing is one I have heard a lot of but never tried (I have only worked with built in (hardware) scanners for android). Google "zxing react native", there's a few options to look at. |
I am trying to install the library in my project but i found that the react-native MainActivity is different from what i see in the example. Here is the code:
MainActivity
MainApplication
can you please guide me on how to pass the activity in the MainApplication to this line
cordovaPluginPackage = new CordovaPluginPackage(this)
and how to access the value assigned to cordovaPluginPackage in the MainAcitivity
is that applicable or i have to downgrade the react-native version?
The text was updated successfully, but these errors were encountered: