1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

FCM JavaScript API Implementation

Discussion in 'JavaScript' started by vrnsood, Jan 6, 2017.

  1. #1
    Hi,

    I recently came across the following blog post regarding FCM JavaScript API:

    https://firebase.googleblog.com/2016/10/announcing-firebase-cloud-messaging-for.html

    I have tried to implement this API in an ASP.NET application. But I haven't been able to receive the push notifications on web browsers other than Chrome. I have successfully developed the server module in VC#.NET to push notification to clients running Chrome.

    The website on which I am trying to implement this functionality is:

    https://www.bestmobilephones.co.in

    Has anybody developed an implementation of this newly released API? I have viewed the videos on the Firebase YouTube channel but have been unsuccessful up until this point in time. Due to lack of working examples, I feel we should start this thread to invite JavaScript experts to share their views.
     
    vrnsood, Jan 6, 2017 IP
  2. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #2
    Push notifications isn't supported in Firefox or Edge, far as I know. You would need to use hacks and workarounds to achieve the same. Or create the functionality as a plugin.
     
    PoPSiCLe, Jan 21, 2017 IP