Ability to use clickable Spans in a NativeScirpt project.
At the moment as workaround it could be used ClickableSpan for Android and NSLinkAttribute for iOS. For NativeScript TypeScirpt or NativeScript Angular 2 project we should also install tns-platform-declarations with npm install tns-platform-declarations --save and to follow the setup instructions here.
For iOS we should also implement textViewShouldInteractWithURLInRange delegate method, which will be fired, when some of the clickable text parts have been selected.
An example could be found here.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Reactions are currently unavailable
Ability to use clickable Spans in a NativeScirpt project.
At the moment as workaround it could be used ClickableSpan for Android and NSLinkAttribute for iOS. For NativeScript TypeScirpt or NativeScript Angular 2 project we should also install tns-platform-declarations with npm install tns-platform-declarations --save and to follow the setup instructions here.
For iOS we should also implement textViewShouldInteractWithURLInRange delegate method, which will be fired, when some of the clickable text parts have been selected.
An example could be found here.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.