Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
phonegap 2.5.0 を使用していますが、exit アプリは常に object has no method exitApp を提供します
使用済みnavigator.device.exitApp()
navigator.device.exitApp()
これは減価償却ですか?それとも私の使い方が間違っているのでしょうか
ありがとう
この条件を使用できます
if (navigator.app) { navigator.app.exitApp(); } else if (navigator.device) { navigator.device.exitApp(); }
これはうまくいきます。バージョンの問題はありません。
BackButton.exitApp(); を使用できます。