fweinaug/expandable_text

onUrlTap doesn't work on real device but only on emulator

Opened this issue · 0 comments

Hi, @fweinaug

I have tried everything and after that i am logging this issue.

Device: Iphone XR
OS: iOS 16.6 (same behavior in iOS 16.5.1 on same device before)
Flutter: 3.10.6 (also tested in 3.10.1)
Xcode 15.3 Beta. (also tested in xcode 14.3)
MAC OS Ventura.

My issue is that i am unable to trigger the event onUrlTap at all. The only thing that fires is onLinkTap if I add that. Other than that neither onPrefixTap, nor onHash/onMention nothing works.

Importnat Point: When i put a breakpoint inside expandable_text.dart if(element.isUrl && widget.onUrlTap!=null) ... and then tap multiple times, and resume the program, surprisingly onUrlTap fires as many times as i have tapped it.

Can anyone point what is the issue? BTW it works fine on Iphone X OS 16.3 and also on all android real devices. The issue is with Iphone XR OS 16.5.1 - 16.6.