One of the downsides to working with React Native is that react native provides access to only a small fraction of the APIs available on iOS and Android forcing developers to create native wrappers for missing APIs.
Tal Kol of Wix has created a great library to help remedy this utilizing reflection to allow you to access all native APIs with a clean and simple syntax. Tal created this because he wanted to access the contentOffset method which is not provided with React Native’s scroll view implementation.
You can read more about React-Native-Invoke on Tal Kol’s blog.
You can find React-Native-Invoke on Github here.
A great library for those working with React Native.
Original article: React-Native-Invoke – A React Native Library For Easy Use Of All Native iOS And Android APIs
©2017 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.