Can we use FireBase cloud Messaging to send or rec

2019-01-29 05:01发布

问题:

After building FirebaseCloudMessaging Sample Application on Windows Using Visual studio 2015, Setting appOptions using C++, It says "Initialized Firbase Cloud Messaging" But I don't see FCM token available to communicate.

回答1:

The Firebase C++ libraries are specifically designed to be used in iOS and Android apps.

The first line of the sample project's readme explains that as:

iOS and Android samples for the Firebase C++ SDK.

And the first line of the documentation of the Firebase C++ SDK:

The Firebase C++ SDK provides a C++ interface on top of Firebase for iOS and Android.

So while the sample apps may compile on other platforms, the underlying infrastructure they need to work is not available on those platforms.