| This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal. |
please tell me how to invalidate the session of user.
I tried kony.application.invalidateSession but it is not supported for android and ios.
Then i tried to logout the user on app exit event :
var callbacks = {
onactive:test,oninactive:test1,onbackground:test2,onforeground:test3,onappterminate:logout};
kony.application.setApplicationCallbacks(callbacks);
But it does not work for me. The control does not execute the code written in logout method.
Kindly suggest the right way to achieve this.
Thanks