For the future, it is a standalone module made by a company called "it's my bike".
It has modular connections inside that are easily pulled loose. If you have trouble with yours and do not get a "charging" notice in the app, check that the cable hasn't come unplugged on the module.