idpass / inji

MIT License
1 stars 2 forks source link

launch the app from the OS qr scanner #24

Open danicaerediano opened 2 years ago

danicaerediano commented 2 years ago

send the user to the play store if the app is not installed or call the app with the parameter upon scanning resident QR code

kneckinator commented 2 years ago

@jeremi From my understanding and research this is not possible unless the phone is online and the QR code contains a URL like https://residentapp.mosip.com/?payload=sdfghjksdfghj where it can either re-direct to uniqueapp://my_app_package_name or market://my_app_package_name depending on if the app is detected as installed. I see our intent is registered as io.mosip.residentapp://

We would need to pass the payload to be sent to the app to the web server and I am not sure if this is possible for privacy reasons.