Giter VIP home page Giter VIP logo

Comments (4)

brannon avatar brannon commented on June 2, 2024 2

@marcobaldo no, it means you shouldn't use the FCM token as the installation ID. They are not the same thing. The installation ID can be any valid value. People typically use a GUID. It should be a value that you know and control.

The FCM token is not a value that you control and it contains characters that are not valid for use in the installation ID. The FCM token will change occasionally and unexpectedly.

When you create (or update) the installation you should set the PushChannel property to the value of the FCM token.

from azure-notificationhubs-dotnet.

marcobaldo avatar marcobaldo commented on June 2, 2024 1

@brannon that makes so much more sense. Thank you.

from azure-notificationhubs-dotnet.

brannon avatar brannon commented on June 2, 2024

This is by design. The token provided by FCM is not intended to be used as the installation ID. The token value can change over time, while the intention of the installation ID is to uniquely identify a particular app installation. The installation ID should be stable, while the FCM token should be specified as a property of the installation and updated frequently.

from azure-notificationhubs-dotnet.

marcobaldo avatar marcobaldo commented on June 2, 2024

@brannon does this mean that for fcm, we can only use registrations and not installations?

from azure-notificationhubs-dotnet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.