cordovasencha-touchsencha-touch-2cordova-3sencha-touch-2.1

Android 3.3: Uncaught ReferenceError: ContactFindOptions is not defined at file:///android_asset/www/index.html:1


I have made apk for my sencha-touch project but getting this error when trying to access the phonebook contacts. Please look into the matter.


Solution

  • I just put my sencha touch build file inside the myproject>www file of my phonegap project and also linked the cordova.js file which was already there and ran cordova run android and now my application is accessing phonebook. (Don't forget to add plugin for contacts cordova plugin add org.apache.cordova.contacts)