Clean-architecture-barcode-scanner-using-Jetpack-compose
Clean-architecture-barcode-scanner-using-Jetpack-compose copied to clipboard
Error while reading QR codes for url
I am trying to navigate to next screen after scanning by passing the Scanned String as argument. It is working with Barcodes with raw text, but not working with QR Codes containing url. Getting the following error:
java.lang.IllegalArgumentException: Navigation destination that matches request NavDeepLinkRequest{ uri=android-app://androidx.navigation/Entry/https://me-qr.com/UaO51PbX } cannot be found in the navigation graph NavGraph(0x0) startDestination={Destination(0x78cbcae6) route=Main}
Can you help me out why the NavDeepLinkRequest with argument as a url is not working but with a different string it is working?