@valap95 I can't be much help without knowing what the code or error was - maybe you could post up in a new Thread?
However have you considered just connecting from your phone to Bangle.js using the standard Nordic UART service that's implemented in the Bangle? (eg https://www.espruino.com/Interfacing#bluetooth-le)
You can then just send JS commands to control the app. While the code in the BangleRun app is all minified, you could add code like Global.myFn = function...., then you can call this code just by sending the text "myFn('some data')\n" down the UART connection
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
@valap95 I can't be much help without knowing what the code or error was - maybe you could post up in a new Thread?
However have you considered just connecting from your phone to Bangle.js using the standard Nordic UART service that's implemented in the Bangle? (eg https://www.espruino.com/Interfacing#bluetooth-le)
You can then just send JS commands to control the app. While the code in the BangleRun app is all minified, you could add code like
Global.myFn = function....
, then you can call this code just by sending the text"myFn('some data')\n"
down the UART connection