I’m using CustomwebView in my app and when i click on a link like on Whatsapp chat, when Android open the bottom sheet “Open With” it propose me to open it with my app.
How to avoid that?
How to tell Android this is not an webviewer?
i uncheck “Follow Links” on CustomwebView settings but nothing.
I tested it (uninstall and reinstall), still showing
Just Make A list of all the domains ->
When WebView URL changes
If WebViewer Current URL contains whatsapp.com or wa.me
then open the url with Activity Starter
If I understand what you are talking about is not what I’m talking about.
I can not control what Android should do from Whatsapp because is not my App, i would love but no.
What i mean is the user will click a link (any url of any website) from Whatsapp it self, then Android propose to open it with my App because Android think my app is a webviewer probably because i use a webviewer (CustomWebviewer extension) inside.
There is a modified version of the Custom WebView extension that doesn’t add your app in the browser list , you can find it in the GitHub repo:
See also the FAQ section here:
This file has been truncated.
CustomWebView is an extended form of web viewer with more customization and flexibility (For MIT AI2 and its distros)<br>
**Latest Version : 9.2**<br>
**Required Api : 21** <br>
**Permissions:** `android.permission.WRITE_EXTERNAL_STORAGE,android.permission.ACCESS_DOWNLOAD_MANAGER,android.permission.ACCESS_FINE_LOCATION,android.permission.RECORD_AUDIO, android.permission.MODIFY_AUDIO_SETTINGS, android.permission.CAMERA,android.permission.VIBRATE,android.webkit.resource.VIDEO_CAPTURE,android.webkit.resource.AUDIO_CAPTURE,android.launcher.permission.INSTALL_SHORTCUT`
- More customization options than normal web viewer
- Long Click event
- New window request event
- Close window request event
- Load local files and content using Html and Js
- Find words and phrases in webview
- Evaluate Js and get result
- Upload files to websites
- Error occurred event
- Get output from console
- Form Resubmission event
- Get content height
- Get SSL Certificate of website
This is just Awsome!
when I was downloading I had seen the modified version but I had the mood to read more so I took the normal one. that will teach me…
Thanks very much!
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.