Skip to content

Pod Installation Causes Build Errors for Notification Extension #550

@Tring-Rajaguhan

Description

@Tring-Rajaguhan

SDK version: 5.2.0
React-Native: 0.82.1

Describe the issue
I added the Notification Extension and updated the Podfile by including the target:

target 'NotificationExtension' do
  # Notice the '-richpush' in the line below. This line is different from what was added for the main target.
  pod 'customerio-reactnative-richpush/fcm', :path => '../node_modules/customerio-reactnative'
end

After running the app, I’m getting compile errors.
I’ve also added the required code changes in the NotificationServiceExtension, but I'm still encountering errors.

Screenshots

Image Image

Additional context
I have getting two issue ->

  1. I’m getting compile errors above Screenshot
  2. Ambiguous use of 'didReceive(_:withContentHandler:)'
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions