Search code examples
androidandroid-studioreact-nativereact-native-cli

how do i call a component in react native from a native-android widget?


i am using react native cli (RN=0.61). I have a component which is for SOS message sending. I want to call this from an android widget developed using android studio (java).How can i do it ?

P.S. I have used android-studio to build the widget as there is no direct way of creating widgets using react native.


Solution

  • As of now, there are no methods to communicate from widget -> app. Communication in the opposite way is possible.