-
Notifications
You must be signed in to change notification settings - Fork 179
update so files to be compatible with android M (23) #39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@BarTsouri this is simply a permission change AFAIK? |
@rubensayshi this may fix #35 |
This is a different compilation for the .so files that are not compatible with target 23 |
As far as I understand from #35 it will fix it. |
If the binaries are different, then, NACK. Why would binaries be included in this package? |
These are the barcode scanner logic files. Those that actually read and interpret the barcode |
How do I know these aren't malicious? |
Your concerns are authentic. I just downloaded the recompiled version and it worked. If you want to feel that the solution is viable be sure that we use it in Capriza. Look at www.capriza.com |
can you give the build instructions for this (I had issues trying) and maybe we can see if they're deterministic and have multiple people sign them? |
I'm not sure that I understand the question. |
@dcousens's point is that we have no guarantee that you didn't mess around with the code before compiling, so my suggestion is that multiple people compile and we compare the hash of the binary. |
paging @tjwoon since he's the owner of the repo ;) |
@BarTsouri Does your fork work well on Android 6.0? If so, can you please give me the access? |
You have access, just pull it from here: |
@BarTsouri Thanks, I will let you know after try. |
/@jilt1015 how did you go? |
@uniphonic did you have experience here? |
@dcousens I have not tried compiling the .so files my self, and have not yet looked up what the steps are for doing so. I've tried building my cordova project with the ones here though, and they seem to work fine. To get it working fully with Android 6 on my Nexus though, I had to follow the steps listed in #50 , which includes an additional .so file as well, which I pulled from another repo, as mentioned in #50 . My fork contains both: |
I'm still yet to verify these deterministically, but, the change is solid. Merging. |
In repository
Downloaded from And my results
Verified. |
The plugin is not usable in Android M (23).
The so file libiconv.so cannot be loaded. The function System.loadLibrary("iconv") throws an exception libiconv.so has text relocations.
I had to replace the so files with new so files from the original zbar project (dm77/barcodescanner#123 (comment)).
The plugin works well now