-
Notifications
You must be signed in to change notification settings - Fork 704
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
Import files to web page #591
Comments
The current versions supports the file input field on Android, please check the top of https://github.com/gree/unity-webview/tree/8e7e576949536a4d5e127bc1d46e99060523bcbd#android . |
Hi there !! First of all thank you for the amazing work on this. I'm facing the same issue here, i tried both versions (with and without Fragment). When i browse a page with a button to upload a file, and click on it, nothing happens... Any idea what i'm doing wrong? I'm building an Android app, and test with Android 5.1.1 and another device running Android 8.0.0 Thanks in advance |
I tested the sample app with dist/unity-webview.zip and confirmed it worked. My environment is:
The sample app contains |
Thank you very much for the quick answer. I built an entire new Unity project, and tested with the /dist/unity-webview.zip and can confirm it works !!! Don't know if it was due to my previous project settings or the version of the unitypackage i was using before... Thank you again ! |
Hello! Unfortunately, the input file does not work on Android. On iOS works fine. I'm trying to upload an image to the site at https://mirkoda.com/Identity/Account/Login I didn't dig into the code CWebViewPlugin.java. I looked, there are already changes related to the link a1a2a89 But not all |
This is a part of log from Samsung S8+. I clicking to input file. 06-26 17:40:34.353 5505 5690 D WifiNotificationController: clearPendingNotification with resetRepeatTime= true, state= 0 |
I'm sorry for the inconvenience. Since #655 , a dialog for requesting permissions will be shown only if one of the following permissions are enabled: unity-webview/plugins/Android/src/net/gree/unitywebview/CWebViewPlugin.java Lines 235 to 237 in ed0ceef
You can enable the camera access by defining I'll later update README.md about this point. |
Hello! Thank you for answer! |
Hello. I’m trying to upload some photos or files/documents on page loaded in web view, i read old closed issues but didn’t find final answer about this topic. Can we open “choose action” picker on android depending on web page or there is no ways to perform it ? Thanks in advance
The text was updated successfully, but these errors were encountered: