我们可以在Windows桌面/控制台或Linux控制台应用程序上使用C ++使用FireBase云消息传递来发送或接收消息,还是同时使用这两种方式? [英] Can we use FireBase cloud Messaging to send or receive messages or both ways using C++ on Windows Desktop/Console or Linux console appliction?

查看:87
本文介绍了我们可以在Windows桌面/控制台或Linux控制台应用程序上使用C ++使用FireBase云消息传递来发送或接收消息,还是同时使用这两种方式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

构建FirebaseCloudMessaging示例后应用程序在Windows上使用Visual Studio 2015,使用C ++设置appOptions,显示"Initialized Firbase Cloud Messaging",但我看不到可用于通信的FCM令牌.

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.

推荐答案

Firebase C ++库专门设计用于iOS和Android应用程序.

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

示例项目的自述文件的第一行解释为:

Firebase C ++ SDK的iOS和Android示例.

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

以及Firebase C ++ SDK的文档的第一行:

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

Firebase C ++ SDK在iOS和Android的Firebase之上提供了C ++接口.

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.

这篇关于我们可以在Windows桌面/控制台或Linux控制台应用程序上使用C ++使用FireBase云消息传递来发送或接收消息,还是同时使用这两种方式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆