Any extensions to generate QR codes?

Original Post

gostaria de uma extensão para gerar QRCOD tipo de banco quero criar um app chaves Pix aonde vou poder colocar minha chave Pix as informações necessárias predefinido e salvar ao clicar na logo gerar o QRCOD do Pix e também poder utilizar para outros meios também como link e clicar para fazer download e fazer uma edição para estabelecer sendo um QRCOD permanente sem prazo então estão precisando de uma extensão para fazer APK kodular no web já fiz um mais quero migrar para kodular

I would like an extension to generate banking-style QR codes. I want to create a ‘Pix Keys’ app where I can input my Pix key and the necessary predefined information and save it. By clicking on the logo, it should generate the Pix QR code. I also want to use it for other purposes like links, downloads, and the ability to edit it to create a permanent QR code without an expiration date. I need an extension for Kodular (APK); I’ve already made a web version but want to migrate to Kodular.

Translated by @RaYzZz

Hi dear,

Please make sure to always write in English.
While looking into Pix QR codes, I did a bit of research on how they work and noticed it’s not just simple text you can plug into a QR code generator.
However, bypassing that issue, you can use the native component.

or

Hi! :+1:
if you explain a few more details about the QR code you want.

  1. What type of QR code do you need exactly?

    • Pix payment QR (EMV/Pix standard)
    • Normal text/URL QR code
    • Both types
  2. What information fields should the extension support? For example:

    • Pix key
    • Merchant name
    • City
    • Amount
    • Transaction ID
    • Any other fields?
  3. What features do you want in the extension? For example:

    • Generate permanent QR codes (no expiration)
    • Generate dynamic/payment QR codes
    • Save QR image to the device
    • Edit or update saved QR data
    • Add logo inside the QR code
    • Generate QR for links, downloads, or text
  4. Do you need the QR code to follow the official Pix specification from Banco Central do Brasil?

  5. How should it work inside Kodular? For example:

    • Input fields → Generate QR
    • Click a logo/button → show QR
    • Save profiles of Pix keys
1 Like

Google translates

Exactly this a complete QRCOD both for payment and for personalized links, I’m creating a free TV APK and there will have the QRCOD donation and also want to make a Pix wallet APK with this information there I will make a list of my banks and put the key Pix of them so other people will be able to do the same there will not be needing to go in the bank of it pick up the key Pix only access the application and choose there can generate the QRCOD or copy and put there in case you want to do.

Also, why did you mark the topic as solved? Have you find a solution?

That’s exactly it, a complete QR code for both payments and personalized links. I’m creating a free TV APK and it will have a donation QR code, and I also want to make a Pix wallet APK with this information. I’ll make a list of my banks and put their Pix keys so other people can do the same. They won’t need to go to their bank to get a Pix key; they can just access the app and choose, then generate the QR code or copy it and add it. If you want a QR code with a personalized link, there will be the option to download the QR code image. For example, you can put the link from a business’s bio, a table QR code, and much more. This extension would help a lot.

1 Like

Thank you for your clarification. :+1:
Here is your requested extension. :slight_smile:
Please test it and share your review. :down_arrow:

com.glich.pixpro.aix (675.8 KB)

Kodular Block Implementation

1. Pseudo-Code Logic

Scenario: Generating a Saved Pix Key

WHEN GenerateBtn.Click:
  // 1. Get data from UI or TinyDB
  SET pixKey = TextBox_Key.Text
  SET name = "Mahir Labib"
  SET city = "Sao Paulo"
  SET amount = TextBox_Amount.Text (Use "0" for permanent)
  SET txID = "***"
  
  // 2. Build the banking-standard payload
  SET payload = PixPro.BuildPixPayload(pixKey, name, city, amount, txID)
  
  // 3. Generate the Image with Logo
  SET qrBitmap = PixPro.CreateQRWithLogo(payload, 500, "bank_logo.png")
  
  // 4. Display and Save
  SET Image_Display.Picture = qrBitmap
  SET PixPro.ExportQRCode(payload, 500, "MyPixCode")

2. Kodular Block Implementation

Here is how you should arrange your blocks for the Pix Wallet and Export features:

A. Generating the Pix QR

Use the BuildPixPayload block first. This returns a long string of text. Plug that text into the CreateQRWithLogo block.

  • LogoPath: Use the name of the file uploaded to your Kodular Assets (e.g., nubank_logo.png).
  • Size: 500 to 1024 is recommended for high-quality printing.

B. Saving for the “Wallet”

Since you want a list of keys, use TinyDB to store a List of Pairs.

  • Tag: “MyKeys”
  • Value: A list containing (BankName, PixKey).
  • When the user clicks an item in your RecyclerNativeList, pull the associated key and run the generator logic.

C. Exporting to Gallery

To save the image permanently to the phone:

  • Call ExportQRCode.
  • Content: Use the same payload string generated earlier.
  • FileName: Give it a unique name (e.g., Pix_Payment_ + Clock.Now).
2 Likes

I just now encounter some bugs in extension.And fix it properly
Here is Updated extension :down_arrow:
com.glich.pixpro.aix (676.9 KB)

2 Likes

Please start a new thread in category Extensions to present your extension to the community, add a short documentation and a screenshot of the available blocks. Then link to that thread from here. Thank you

Taifun