I am trying to create an email mailto link in my project using the In-App Web Browser plugin, but when I click on the link from my Android device, it gives me an error:
Hey,
Good catch.
I think I’ve fixed it. I’ve sent .jar file on your email.
Could you replace it with a file from Plugins/Android directory and check if it’s working for you?
So I’ve checked it and it seems PDF viewing isn’t supported out of the box..
I see three possible solutions here:
1. When trying to open URL with .pdf extension browser will open external OS app to view PDF file (meaning user will leave your Unity app)
2. When trying to open URL with .pdf extension browser will redirect users to Google Drive viewer page pointing to requested file
3. You have to embed pdf file using some JS PDF library, such as pdf.js
What do you think is best solution here?
I am inclined to go with 1.
The ERR_UNKNOWN_URL_SCHEME error is commonly because of your browser issue . There’s no application on your device which can handle that particular action. It is a Chromium bug . In Chrome version 40 and up, this bug has resurfaced, but only if you are manually entering the URL of the redirect page in the address bar. The issue is on the chromium issue tracker here .