skip to Main Content

I would like to implement the Firebase In-App Messaging feature in my application. Documentation is available at https://firebase.google.com/docs/in-app-messaging/get-started?platform=ios

To implement that feature I installed a library in my project using the below pod.

pod 'FirebaseInAppMessaging'

After installation, I got Property has a previous declaration error.

error screenshot

I don’t know how to fix this issue, If anyone has an idea please let me know.

2

Answers


  1. Remove from Podfile and add by packages:

    target -> file -> add Packages -> search url => https://github.com/firebase/firebase-ios-sdk.git -> add Package

    enter image description here

    Login or Signup to reply.
  2. FirebaseInAppMessaging is in beta and that needs to be acknowledged in the Podfile with something like:

    pod 'FirebaseInAppMessaging', "> 10.12-beta"

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search