I have been working on a web socket app that uses a extension from pura vide and author is Andres_Cotes
The extension is available at WebSocket Client Extension - Extensions - AppyBuilder
While using the extension im getting an error - " Error : The operation Text cannot accept the arguments: , [nothing ] "
i have went through few posts regarding the error and there is some Error so to fix that i grabbed the source from the Author’s Github : https://github.com/codebutler/android-websockets/blob/master/src/main/java/com/codebutler/android_websockets/WebSocketClient.java
Can anyone help me with spotting the error in the source so i can fix that.
Balajidev
(Balaji Dev)
December 5, 2021, 7:49am
#2
Show your blocks where you used this block
Your error repost contains empty string it seems.
Peter
(Moderator)
December 5, 2021, 8:04am
#5
You should wait for the connection to be ready i think.
1 Like
Implementing that doesnot work either
Balajidev
(Balaji Dev)
December 5, 2021, 8:22am
#8
Can u post the error screenshot because maybe you didn’t post whole error
Thats the complete error i just copy pasted
You can move the send message block instead of button click into On connect .
On button click event block you can use
Call websocket . Connect
Ayush_kawad
(Ayush kawad)
December 5, 2021, 11:30am
#11
i will get the same error
Then you have to check your web socket working or not
Ayush_kawad
(Ayush kawad)
December 5, 2021, 12:12pm
#13
web socket is hosted and wokring properly , i have tested that could you go through the code and check whats the issue ?
if i get the issue i would try to fix and recompile that easily
@Ayush_kawad , Try this extension
[icon] WebSocket Connector
Hello everyone, I am here with my new extension that is WebSocket Connector. This extension helps you to use web sockets in your apps. This extension can help you to integrate real-time databases in your application for example Firebase DB. That can be used for chatting and other purpose applications.
Launched On :- 2021-12-04T18:30:00Z (UTC)
Last Updated On :- 2021-12-04T18:30:00Z (UTC)
Latest Version :- 1
Let see its blocks and their documentation
All Blocks
…
3 Likes
system
(system)
Closed
January 25, 2022, 2:51pm
#15
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.