-
Notifications
You must be signed in to change notification settings - Fork 697
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Query: Does unity-webview support intent links? #1126
Comments
I haven't confirmed whether the plugin works for your situation, but the plugin tries to start an activity as below: unity-webview/plugins/Android/webview/src/main/java/net/gree/unitywebview/CWebViewPlugin.java Lines 720 to 729 in 3aa60f0
|
I did a search on the codebase for the URL scheme "intent://" but nothing came up - so sounds like it probably doesn't handle intents :-( |
I adjusted code to treat |
Wow, that was quick! Massive thanks for jumping on it so quickly :-) I'm starting a new job tomorrow so going to be flat out for next few days, but hopefully will have a play with it later this week. Awesome!!! |
Hi there,
Firstly, congrats on an excellent bit of software - has saved me a whole bunch of time!
For my Unity Android app I'm using Android intents to do deep linking within my app. I was therefore wondering whether unity-webview supports url-based Android intents at all - so clicking on a webview 'intent url' would take me back inside the same app (in a fully webview-host agnostic way)?
https://developer.chrome.com/docs/android/intents#examples
I can potentially achieve my solution using the javascript Unity.__ function but would prefer a tidier solution that just uses url-based intents.
[Apologies in advance if this is already covered in the documentation. ]
Best,
Stefan
The text was updated successfully, but these errors were encountered: