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.
Ability to use clickable Spans in a NativeScirpt project.
At the moment as workaround it could be used
ClickableSpanforAndroidandNSLinkAttributeforiOS. ForNativeScript TypeScirptorNativeScript Angular 2project we should also installtns-platform-declarationswithnpm install tns-platform-declarations --saveand to follow the setup instructions here.For
iOSwe should also implementtextViewShouldInteractWithURLInRangedelegate 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.