wonderpush / react-native-wonderpush

React Native based implementation for WonderPush SDK − Advanced push notification service for mobile applications and Websites. High volume, fast delivery and full-featured starting €1/month.
7 stars 1 forks source link

Error with Ruby ruby 2.7.0p0 and Pod 1.10.1 #9

Closed paxicocicd closed 3 years ago

paxicocicd commented 3 years ago

Hello there!

I'm getting this two errors right here just at installing and building, using this versions of Pods (1.10.1) and Ruby (2.7.0p0)

.../ios/Pods/WonderPushExtension/WonderPushExtension/Sources/WPNotificationServiceExtension.m:130:59: No known class method for selector 'extract:'

.../ios/Pods/WonderPushExtension/WonderPushExtension/Sources/WPNotificationServiceExtension.m:256:34: No visible @interface for 'WPReportingData' declares the selector 'filledEventData:'

React Native: 0.63.4 React-native-wonderpush: ^2.0.2, React-native-wonderpush-fcm: ^1.0.2,

ofavre commented 3 years ago

Hi,

Make sure that you are using the same version of the WonderPush and WonderPushExtension pods.

For react-native-wonderpush version 2.0.2, you should use version 4.0.1. Edit your ios/Podfile so that it reads:

target 'WonderPushNotificationServiceExtension' do
  platform :ios, '10.0'

  # Pods for WonderPushNotificationServiceExtension
  pod 'WonderPushExtension', '4.0.1'
end