Exit from app when click button in android phonegap?

前端 未结 7 1846
时光取名叫无心
时光取名叫无心 2020-12-28 11:13

I am new to phonegap. I have prepared one sample application. My application has 2 pages, the first page has one button, when clicked the second page will open. It is workin

7条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-28 12:06

    @Pradip Kharbuja

    In Cordova-2.6.0.js (l. 4032) :

    exitApp:function() {
      console.log("Device.exitApp() is deprecated. Use App.exitApp().");
      app.exitApp();
    }
    

提交回复
热议问题