If there is a requirement to pass message or information using QR code, here the approach:
Prerequisites:
- A published Canvas App
- Power Apps installed on mobile and with access to the published Canvas App
- Canvas App should have BarCodeScanner button to read message from QR
Create QR:
- Use a TextBox control to get input from user
- Add an image in Power Apps to show the QR Code
- Generate the following string on any action: https://chart.googleapis.com/chart?cht=qr&chs=300x300&chl= & TextBox.Text
- Use the above generated string as source for image
- QR Code shows up
Scan QR to Read Message:
- Open Power Apps in mobile, search for Canvas App
- Open Canvas App
- Click on BarCodeScanner button
- Scan the QR
- Label.Text = BarCodeScanner.Value
- You see the message
Note: Refer attached videos