Open settings, and then search for the QR code. Tap the share button and share the QR with your friend. If you want to scan the code, open the QR settings and tap the scan option. The rear camera will open. Scan your friend’s ID with it.