In iOS it's possible to configure a Selection and Edit Menu. That looks like this:
Also, the API is displayed here: https://developer.apple.com/library/ios/documentation/StringsTextFonts/Conceptual/TextAndWebiPhoneOS/AddingCustomEditMenuItems/AddingCustomEditMenuItems.html
So is this possible on React Native? I am building a chat app where we need to allow copying messages and also custom menu items.
On iOS, customising the edit menu is achieved through UIMenuController
.
However if we look at the react-native repo the only occurrence of that class (until today) can be found in the RCTTextView class.
If you want to use it for other components you'll have to bridge it yourself.
Some 3rd party libraries exist.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With