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
does it support ios device on unity? #32
Comments
|
Hi Tim, I'm neither an Unity expert nor do I own an iOS device. The Unity code was written by @alexnsfx and just pulled into the repo by me. So maybe he can give us a hint. For now, could you please give more details about "it did not work"? Can you deliver some kind of stack trace or exception message? |
|
When it run on unity edtitor, win/mac both run well. Android well too, but ios, it does not, I think the reason may be at I'm not sure, but I'll do my best to test it and give the feedback. |
|
Hi @tim-hub , could you please try the following and tell me, if this fixed your problems. Please change line 37 in UnityQRCode.cs from:
(I've read that iOS doesn't support ARGB32, but I can't test it, so please test it for me.) |
|
yeah, thanks for your help in advance, I will test in next monday |
|
And don't forget to sync/checkout the newest version of the library. I've added some major bugfixes today. |
|
I seemed that is still not work. |
|
I'm sorry, but the TextureFormat thing was my only idea. I don't know how to help you, without getting more information on the error. Can you debug your app and give me more detailed information? |
|
Hello. If you get any help on this I can try to help. Sorry about this vague response. |
|
Hey @tim-hub , hi @Biodam - some days are gone and so there are some news. Since I implemented a PCL version of the library, would you be so kind, to test again with the PCL version? Just use the "QRCoderProject.Portable.sln" project to compile the QRCoder.dll (or grab it from the Nuget package). The portable version has only one QRCode type (BitmapByteQRCode). You can use it as described in the following: |
|
Hey @codebude , I tried to test the PCL version , but got an error when I import the QRCoder.dll to Unity.(Unity5.4.3p2 32bit) And I also tried the common version , but I can't get it work on android. Got the error as below Any help will be appreciated. |
|
Hi @yangyujiang would it be ok for you, to send me some sample code or your sample project? So that I can debug, what's going wrong? |
|
@yangyujiang one more idea. The PCL library is built with target x86. Grab the code from GitHub an try to compile the PCL library with target ARM. Maybe this helps to run on your Android. |
|
It has been over 5 months since a reply. Is this dead, especially because no traffic inquiring? |
|
@Hydroque - since I neither have an iPhone nor I'm really experienced in Unity, I can't handle this problem alone. But since this problem existed I didn't want to close it, before I have a proof that this problem is fixed. In 1-2 months I'll get a iPhone, so that I can test it myself. So long I like to keep this issue open. |
|
I wonder if it reproduces on an emulator. |
|
@codebude did you get that iPhone you said you would have? |
|
Is this issue still relevant? |
|
Hi @Ruffio - I'm sorry, but I can't say if this is fixed, because I still don't have an iPhone dev environment. If you can help to solve this I would be happy. |
|
@codebude Sorry for late reply, I did not try the PCL version yet. It takes a really long time for this issue. |
It worked weel when I run it on unity editor (mac), but when I publish to ios device, it seemed that it did not work.
The text was updated successfully, but these errors were encountered: