Skip to content

iOS:: Receiving duplicate notification popup twice at very first time in single remote notification #2546

@ganesh98a

Description

@ganesh98a

Issue

At very First time i am receiving duplicate notification popup twice in single remote notification after i install the app. when i close and reopen the app it's working good. i have followed your guide properly. And it's only happended in iOS


Project Files

iOS

Click To Expand

ios/Podfile:

  • I'm not using Pods
  • I'm using Pods and my Podfile looks like:
 pod 'Firebase/Core', '~> 5.20.1'
 pod 'Firebase/Messaging', '~> 5.20.1'

AppDelegate.m:

#import <Firebase.h>
# didFinishLaunchingWithOptions
if ([FIRApp defaultApp] == nil) {
    [FIRApp configure];
  }


Environment

Click To Expand

  • Platform that you're experiencing the issue on:
    • iOS
    • Android
    • iOS but have not tested behavior on Android
    • Android but have not tested behavior on iOS
    • Both
  • react-native-firebase version you're using that has this issue:
    • 5.5.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: StaleIssue has become stale - automatically added by Stale bot

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions