Value of type 'CAPPlugin' has no member 'getConfig'

Viewed 27
1 Answers

You are using @capacitor/push-notifications 4.x version while still using @capacitor/ios 3.x.

Version 4.x of the plugins are meant to be used with version 4.x of platforms.

You should update @capacitor/ios to 4.x or downgrade @capacitor/push-notifications to 1.x.

Note, if you decide to upgrade to 4.x, you should also update android, cli and core packages and since it's a major version it requires some other changes, check the migration guide

Related