-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[TNS 3.0] Android: Formatted string does not work if defined in XML #4109
Comments
Hi @PeterStaev, It would also help if you could provide some info, is this issue appears on a newly created project or on the old one. |
@tsonevn , after further testing, seems related to the |
I managed to reproduce the exception once I've added |
The fix is available in 'next' version of tns-core-modules. |
Fix will be released in 3.0.1 later this week. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I have the following defined in XML that was working with 2.5:
This throws the following error:
Also tried the short format - directly having
FormattedString
inside the button and then directlySpan
inside it. Also the same problem happens withLabel
. Before testing I have uninstalled the app from device and nukednode_modules
andplatforms
.EDIT
Seems related to the
btn
class from the nativescript theme. If that is removed the exception does not happen.The text was updated successfully, but these errors were encountered: