Application getting crashed in ios(cordova based)

I have developed a custom mobile application using sapui5 for android and ios. In android it is working fine.

Based technologies :

  • sapui5 - for clentside
  • cordova - for cross platform
  • sap mobile platform - to connect sap

I am facing a problem in ios :

  • First time logged in successful but second time logged in logged but after that application crashed.

I found previous data like register information exist(of previous logged in). I think it is register and deleteregistration problem of sap mobile platform in ios.

If i register and delete register then it is working fine. If i didn't delete registration and kill the application then next login crashed.