React Native Android App Receive Data from Share Intent

This whole problem started when I was working with an app in React Native. I wanted the app to be able to open when it received data from another app through the “share with” intent. For example, if I share an URL through the YouTube app, I wanted my app to be recognized as one of the apps that could handle the URL and open it. I am going to spoil the fun and tell you that there’s no easy way to do it straight through javascript with React Native.