0

I'm using intel xdk - cordova, I'm trying to exit from app on tapping back button.But below mentioned code not working,it works only when I add crosswalk in my build settings. I don't want to add crosswalk as it is heavy.Help me to make this code work without crosswalk.

jquery

navigator.app.exitApp();
veeran
  • 352
  • 1
  • 6
  • 16
  • Possible duplicate of [PhoneGap - navigator.app.exitApp() Not Working](http://stackoverflow.com/questions/35144829/phonegap-navigator-app-exitapp-not-working) – Blauharley Dec 31 '16 at 11:47

1 Answers1

0

I selected optimize with crosswalk option in build settings, now it is working fine.

Robert
  • 5,278
  • 43
  • 65
  • 115
veeran
  • 352
  • 1
  • 6
  • 16