Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49284

Ionic FirebasePush Notification Received but not Showing on IOS

$
0
0

@contrasto97 wrote:

Hi, I’m sending push notification through firebase cloud messaging. On android it’s working fine but on ios not. on the Xcode console I see that the message is received but nothing is shown. on iPhone when I go to setting of my app I cant find notification page.
I have already set all certificate

my code

async getToken(user) {
    let token;
    if (this.platform.is('android')) {
      token = await this.firebase.getToken();
    }

    if (this.platform.is('ios')) {
      token = await this.firebase.getToken();
      await this.firebase.grantPermission();
    }
    
    this.saveToken(token, user);
  }

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49284

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>