Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cordova Push Plugin iOS 8

Likely the same problem as PhoneGap Push Plugin Does Not Register iOS 8 Device but I do have an error message.

I have checked the plugin version and I am getting the new version with the iOS mods.

2014-09-26 15:50:54.070 Score My Selfies[401:89341] CDVPlugin class PushPlugin (pluginName: PushPlugin) does not exist.
2014-09-26 15:50:54.071 Score My Selfies[401:89341] ERROR: Plugin 'PushPlugin' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml.
2014-09-26 15:50:54.072 Score My Selfies[401:89341] -[CDVCommandQueue executePending] [Line 158] FAILED pluginJSON = [
  "PushPlugin599142626",
  "PushPlugin",
  "register",
  [
    {
      "alert" : "true",
      "ecb" : "onNotificationAPN",
      "sound" : "true",
      "badge" : "true" 
    }
  ]

I have also uninstalled and reinstalled the plugin several times.

like image 233
tl8 Avatar asked Apr 09 '26 09:04

tl8


1 Answers

I managed to fix this by adding PushPlugin.m to the Build Phases->Compile Sources.

Not sure if this was a Cordova issue or a Netbeans issue.

like image 89
tl8 Avatar answered Apr 14 '26 02:04

tl8