It’s a part of Android and comes pre-installed if you are on a phone running the latest Android Version
https://en.m.wikipedia.org/wiki/Quick_Share
I am not sure if it is a part of AOSP so custom Roms, or phone brands without Google apps support like Huawei, may not include it
Maybe just look at how these inverters work before babbling about. These kits all come with standard off the shelf micro inverters, or rarely bigger string inverters, and will feed back up to 0,8wk into the grid if the energy is not used in the household. If the connection to the grid is lost they turn off within less than 50ms, making them completely safe for line technicians