Remove Request Listener

0 votes
Could someone please tell me how to remove an appWarpClient request Listener.  I'm using Corona.
I created the request Listener by

--appWarpClient.addRequestListener("onConnectDone", scene.onConnectDone)

I thought it would be logical to remove it by

--appWarpClient.removeRequestListener("onConnectDone", scene.onConnectDone)

but unfortunately it doesn't work.  Thanks!
asked Apr 1, 2014 in AppWarp by floppyfinapp (21 points)

1 Answer

0 votes
This scenario is fixed in our next Lua SDK release. I will update this thread once its out. Expected by EOD today.
answered Apr 2, 2014 by dhruvc (1,099 points)
The version with the changes is available on our git repo

https://github.com/shephertz/AppWarpLua/tree/master/V_1.6.1

You will need to do for example

appWarpClient.resetRequestListener("onConnectDone")

appWarpClient.resetNotificationListener("onChatReceived")
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...