How can I cancel any async Backendless operation on exiting app in Android


If I am executing any asynchronous operation like User Login and decide to exit the app, then how can i stop that method so that any code that is present in the callback is not executed so that it doesn’t throw any exception.

Thanks in advance.

Hi Puneet,

you have to create a separate thread and work with it.
There is no way to make it with our callbacks.