Closed AravindhKnightDev closed 1 day ago
Hi @AravindhKnightDev
Which webview_flutter
version are you using? Please share the correct demo screenshot as I see you provided iOS screenshot but you mentioned the issue occurs on Android.
I checked this issue using below minimal sample code on Android but the clipboard menu is showing as desired:
Please try this sample code on your end and confirm.
Hi @huycozy
I'm using webview_flutter: ^4.8.0. As you mentioned, the clipboard menu works for text but not for images. Could you please test this with images as well? I’ve already provided a screenshot and video for reference. But in android, i want it like this
You can use the following demo sandbox link to test the issue with images: https://demo.juz4x.com/hitpay/pay.php
The link you provided above requires input sensitive info so I use this link with a direct image instead: https://github.com/marketplace/models.
Can you please confirm if it works on Android native example or other Android apps? I checked this on Android pure WebView below but the clipboard also doesn't show up as well:
<WebView
android:id="@+id/webView"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
binding.webView.loadUrl("https://github.com/marketplace/models")
That means this seems to be infeasible on Android as my understanding.
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. If you find this problem please file a new issue with the same description, what happens, logs and the output of 'flutter doctor -v'. All system setups can be slightly different so it's always better to open new issues and reference the related ones. Thanks for your contribution.
Steps to reproduce
https://github.com/user-attachments/assets/ccab6cae-d235-4214-b62e-1ef17cfb7517
Flutter 3.24.0 Dart 3.5.0
clipboard menu works on iOS but not working on android.
Expected results
Actual results
The clipboard menu works on iOS but not working on android.
Code sample
Code sample
```dart class PaymentScreenBody extends StatelessWidget { const PaymentScreenBody({super.key}); @override Widget build(BuildContext context) { final PaymentSubscribeViewModel viewModel = ViewModel.watchScreenshots or Video
Screenshots / Video demonstration
[https://github.com/user-attachments/assets/ccab6cae-d235-4214-b62e-1ef17cfb7517]Logs
Logs
```console ```Flutter Doctor output
Doctor output
```console ```