A condition for being able to charge the phone is that it supports wireless charging (Qi). Phones not equipped with wireless charging receivers can often be supplemented with a shell that makes wireless charging possible.
Warning
Wireless charging may affect the operation of an implanted pacemaker or other medical devices. If you have one, it is recommended to consult with your doctor before using the wireless charging system.