Property 'settings' not found on object of type 'id<CDVCommandDelegate>' in phonegap Urbanairship push notification configuration

StackOverflow https://stackoverflow.com/questions/21669716

  •  09-10-2022
  •  | 
  •  

Question

When trying to integrate the phonegap urbanairship iOS plugin I get a build error as follows: In file PushNotificationPlugin.m, Property 'settings' not found on object of type 'id<CDVCommandDelegate>'. How to fix this?
Thanks.

Était-ce utile?

La solution

I guess it had something to do with the library versions. This error was solved by upgrading phonegap to 2.9 and then adding the urbanairship plugin. The phonegap library upgrade was done using the cli.
Ref: https://stackoverflow.com/a/15165712/235273
I used the latest version of urbanairship library and linked with the libUAirship-3.0.2.a static file. The build then succeeds.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top