Reputation: 2845
Sometimes i see a reconnect to WL server dialog box appears at the start-up of the App and sometimes it doesn't popup. My client has objection on this, they want to completely get rid of the "connection failure and re-try again...." message. I told them that sometimes due to weak signals this will happen.
Now he asks for:
Kindly suggest on this, or anything i have to do like optimization :)
Thanks
Upvotes: 0
Views: 91
Reputation: 3166
It is hard to calculate an accurate average request/response size as it heavily depends on your application functionality.
If you want to disable the default connectivity failure behaviour (including the dialog) you need to specify your onConnectionFailure call back in initOptions. This way your callback function will be invoked instead of a default one and it is up to you to decide what should application behave like.
Upvotes: 1