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

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

问题描述

构建 FirebaseCloudMessaging 示例后应用程序在 Windows 上使用 Visual Studio 2015,使用 C++ 设置 appOptions,它显示已初始化 Firbase 云消息传递"但我看不到 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 文档的第一行:

Firebase C++ SDK 在 Firebase 之上为 iOS 和 Android 提供 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.

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

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