after a while you unsubscribe and resubscribe one of the two: is it here that you saw the duplicated snapshot coming through?
No, it's not.
I attach new log here.
My operation flows:
1. Start server
2. Start adapters & connect to server
3. Open test web page in desktop browser to check. It's ok (websocket mode).
4. Run mobile app (html + javascript + phonegap + android 2.3)
i. Connect to server (Polling mode)
ii. Subscribe 2 items: MERGE M.HO.1 and DISTINCT MI.HO.1 --> ok, received data
iii. Unsubscribe item MERGE M.HO.1
iv. Subscribe (again) MERGE M.HO.1 --> ok, received data
v. Unsubscribe (again) MERGE M.HO.1 --> DISCONNECTED --> retry connection --> receive snapshot of item DISTINCT MI.HO.1
From step (iv) to step (v), I press BACK button on mobile device (actually, it goes back to do step iii). There is only single global instance of LS client on my app.
Regards,
Last edited by tvhnet2013; August 30th, 2013 at 05:48 PM.
Bookmarks