'Use a React component inside a hovering view that was created by a service
I'm currently working on an Android app that is in essence a floating window (like FB chat heads). I would like to take advantage of React Native to create the content for this floating window but have run into a problem - I cannot seem to find a good way to accomplish this. I'm currently using LayoutInflater and WindowManager in a Service to get the blank view to show up and this part works just fine. I've tried adding the React component as a fragment but that requires an Activity to be present which in my case is not possible.
Hope you guys can help me out. Cheers.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
