Cannot see the QRCode

This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.

Dear Team, I'm trying to use the QRCode generator. I have placed the component inside my form, the default dataToEncode is "kony" - but nothing displays in the screen, only a white square. I'm using V 8 Service Pack 3 Fix Pack 15 - running the my sample App in App Preview. This component does not work with App preview? Regards,

@Olivew Wilson​ can you help with this?

Hi,

It works in the App Preview.

Did you call the api 'generate' to generate the qr code?

Thanks,

Hi @Olivew Wilson​ , I forgot to call 'generate'

small code snippet if anyone has the same issue:

frmQr.qrcodegenerator.dataToEncode = "yourstring"; frmQr.qrcodegenerator.generate();

The problem now is that no QRCode reader can read the QRCode generated. I have tried changing the Error Correction Level, colors, sizes... Noting seams to work.

I found an web API that does the Job

https://api.qrserver.com/v1/create-qr-code/?size=150x150&data=yourstring

that returns an image and works well.

Is there any particular change to be done in the Marketplace component to make it work?

Regards

Hi,

I have tried the same on my side and it works fine. i have tried in Free Form project and Kony Reference project.

Attached the sample Free Form project.

thanks,

Hi @Olivew Wilson​ thank you for responding.

The same result as before on my side, still not working on my side.

I see that in previous threads (December 2018) someone has mentioned an updated version of the component - in Marketplace right now I only see a version published May 2018 ?**Image removed for security reasons**

Regards,

As the component alone has been fixed and uploaded, the published date still remains the same. Please download the component again and test it.

Did you get a chance to import the project that attached in the previous comment?

Thanks,

Hi @Olivew Wilson​ , yes I have tried and unfortunately it doesn't work.

I have erased the component and re-downloaded, still not working.

Any chance?