You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
iOS and Android disagree on text with no links #31
The condition is inverted relative to Android (TextClassifier.kt:82-88):
Input
iOS returns
Android returns
Non-empty text, no links
[]
one text span
Empty text
one span with empty text
[]
Confirmed at runtime during the audit: classifying "Hey, are we still on for later?" on iOS returns 0 spans.
The widgets hide this by falling back to plain Text when the list is empty, so it looks correct on screen. Anyone calling the documented public SmartTextFlutter.classifyText gets platform-dependent results.
Fix: match Android. Non-empty text with no links returns one text span; empty text returns [].
Activity