Skip to content

fix(android): Formatted string NoSuchMethodError #10704

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

Merged
merged 1 commit into from
Feb 21, 2025

Conversation

CatchABus
Copy link
Contributor

@CatchABus CatchABus commented Feb 21, 2025

PR Checklist

What is the current behavior?

Right now, android FormattedString throws exception due to using a TypeFaceSpan constructor that's available since API 28.

What is the new behavior?

Reverted most CustomTypeFaceSpan class changes done in PR #10682 including the constructor that's faulty for older devices.

Fixes/Implements/Closes #10702.

@CatchABus CatchABus force-pushed the fix/android-typeface-span branch from 1bc4899 to 5798025 Compare February 21, 2025 19:10
@NathanWalker NathanWalker merged commit 3587917 into NativeScript:main Feb 21, 2025
3 checks passed
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

Successfully merging this pull request may close these issues.

Android: App crash on Android version ≤ 8 when using FormattedString
2 participants