Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error: exec proxy not found for :: LocalNotification :: deviceready

Tags:

I am new to Cordova and Phonegap and I am trying to develop a reminder application. I used cordova-plugin-local-notifications ( https://github.com/katzer/cordova-plugin-local-notifications ). I installed the plugin using the the installation command

cordova plugin add https://github.com/katzer/cordova-plugin-local-notification

Then I tried to run the app on the browser and there was an error on browser console:

Error: exec proxy not found for :: LocalNotification :: deviceready

Not sure what I am doing wrong.

Questions:

  1. What is this problem?
  2. What am I doing wrong and how to fix this?

Thanks in advance and sorry for my bad English.

like image 643
Afnan Tanzil Avatar asked Oct 03 '16 06:10

Afnan Tanzil


1 Answers

The plugin is simply not supported on the browser platform.

See the docs as of 10th of April, 2017:

Supported Platforms


The current 0.8 branch supports the following platforms:

  • iOS (>= 8)
  • Android (SDK >=7)
  • Windows 8.1 (added with v0.8.2)
  • Windows Phone 8.1 (added with v0.8.2)
  • Windows 10 (added with v0.8.3)

Your browser console states that it can not execute the plugin, since it supports only the mobile OS stated above.

like image 199
Barthy Avatar answered Sep 24 '22 16:09

Barthy