I’m building an app similar to LinkedIn. How can I offer to users to generate a qr code to their page for sharing purposes to clients? Is it possible without a plugin and if not, which one is reliable and easy to use clientside? Many thanks in advance!
Possible without plugin, but easier to create your own plugin and put the custom code there, it gives you better structured output. I built one, I have the code to offer you if you need. It inserts a logo and everything, but as a tip, I think you should do this server side and save it to the DB field. QR codes usually take a bit of time to render, so you shouldn’t have the frontend wait on the resolve.
Yes, you can generate QR codes without a plugin by using a QR code API or a JavaScript library like qrcode.js , it runs entirely client-side and creates the QR image in the browser. You just feed it the user’s profile URL and it outputs the QR you can show or download.
If you prefer a plugin for convenience, look for one that’s well-rated and supports client-side generation, so you don’t rely on server calls. Either way, the basic idea is the same: take the user’s profile link, run it through a QR generator, and display the resulting image for them to share.