I am developing an application for WinRT 8.1 and I have added the connection resiliency features of the AppWarp SDK to my application but I am noticing that my connection is being disconnected and recovered very often. Many times my device is simply sitting with no actions happening and for some reason my connection to AppWarp will disconnect and then recover very quickly. I've noticed this happens a lot when I interact with the screen and navigate between pages. Is it possible that the background thread for the AppWarp connection is just being starved by other threads and thus it drops the connection?
It always very quickly recovers successfully and my internet service is connected the entire time so I am not sure what is going on.
It seems like when the UI is running something slightly more demanding like switching between pages with animations that is when the disconnect happens so it is most likely that the background thread that is maintaining the AppWarp connection just isn't being run often enough to maintain the connection. I can also make it happen by tapping dummy buttons (i.e. they call no function) on the screen very rapidly. But it also will just happen randomly when I leave the phone sitting for a while so I really can't figure out what the cause is. I am doing my testing on the Windows Phone 8.1 emulator and my actual Windows Phone 8.1 device (Nokia Lumia 1020).
I have also now tested the same code running on Windows 8.1 and it has the same issues. It seems the AppWarp SDK is very sensitive to timing and threading and disconnects very easily as it seems to happen most often when navigating between pages.
I have now also tested using the AppWarp SDK for Windows Phone Silverlight 8 and it works fine and I don't have the disconnect issues. So it seems there is a bug in the AppWarp WinRT SDK.