I imported the required you mentionned, I also have the same typo, corrected
But still no notification, no alert when app is going background... Also tried on a fresh new generated app :(
What environnement you use to develop/test that? working on simulators?
Have you built your app using phonegap?
I build my app onto an android device wrapped in phonegap.
I tried on a Sencha Touch 2.1 generated app (with Sencha Cmd 3.0). I loaded cordova-2.3.0.js like explained here:
Generating an iOS phonegap app (./create .... ) and replacing www folder with sencha www folder is a best way?
Sorry, I'am new in sencha and phonegap... ;)
Hi, you cant use Sencha cmd with Phonegap, the Phonegap framework is not only the cordova-2.3.0.js, this js is the bridge between js and native, you are missing the native part of Phonegap, follow this: