Skip to content
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

iOS Scribble (handwriting text input feature) conflicts with stylus stroke recognition #18

Open
mattrussell-sonocent opened this issue May 18, 2022 · 5 comments

Comments

@mattrussell-sonocent
Copy link
Contributor

Thanks for the ace library!

When using an Apple Pencil on iOS with Scribble input enabled, there's a delay of maybe 1 second before the library begins to recognise the stylus stroke. Before then, a temporary grey stroke is shown, which I suspect is the OS attempting handwriting recognition briefly. If I disable Settings -> Apple Pencil -> Scribble, then the library recognises the stroke immediately.

iOS: 15.4.1
scribble: 0.4.0
Flutter: 2.10.5

RPReplay_Final1652872299.MP4
@wxxedu
Copy link
Contributor

wxxedu commented May 21, 2022

I am also experiencing this issue. Thanks so much for the insight on disabling scribble, cuz I didn't know where the problem came from at all.

@timcreatedit
Copy link
Owner

@mattrussell-sonocent thanks for the insight! Is this still a problem now that iOS scribble (confusing naming) is officially supported by flutter?

@wxxedu
Copy link
Contributor

wxxedu commented Oct 2, 2022

Hi! This is still a problem (I ended up not using the Scribble package and used a custom Listener widget in my app, and despite being officially supported by flutter, my app still experiences this issue with Scribble enabled in iOS's settings. Since this package also uses the Listener widget, I think that it will also be a issue for this case.
I will look into whether if there are some ways to disable Scribble locally for the app. If I happen to find one, I will share it here:-)

@madebyframe
Copy link

I'm still getting this with Flutter 3.7.0 and Scribble 0.9.1. @wxxedu Did you have any luck finding a workaround to disable the Apple Pencil Scribble feature for the app or a Scribble instance?

@PaulPopTudor
Copy link

I managed to solve this by adding into the Info.plist the following code:

<key>UIPencilInteractionEnabled</key>
<false/>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants