The mobile app (Framework7, Capacitor) SC are hosted on the web app and calls the same DB (Nodes, BS5, Postgresql).
Can I use the same sockets=“true” process for my Mobile App?
If not, how to deal with real time data update?
Hi George,
(Mobile app / emulator / Capacitor + bootstrap5)
Setting an url in the field do not set the url in the meta… ie the sockets is not well setted… and refresh does not work.
As soon as I add sockets="true" in the meta dmx-serverconnect the result is not displayed anymore in my app.
What version of Wappler are you on? Websockets stopped working completely in 5.8 (released two weeks ago) so if you’re on a recent version, that may be your issue. Per the updates here Debugging Issues with Websockets we’re expecting various fixes in the next release.
Hi Dorian,
5.8.2 comes with an extension update since yesterday so you shouldn’t need to replace, it 'll be done automatically i guess.
Don’t forget to add <dmx-socket id="socket1" remoteurl="http://your-domain.com"></dmx-socket> in your index page for mobile.
Thanks a lot! But I probably have a bud in mine. I can’t successfully save remote url.
The value set is not retained for some reason. Did that happen to you?