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.