Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flutter 客户端使用FCM进行推送,该如何配置呢? #43

Open
laopaoer-wallet opened this issue May 27, 2024 · 6 comments
Open

Comments

@laopaoer-wallet
Copy link

提issue要求

请仔细阅读推送项目说明接入推送流程。正常情况下都可以接入成功的,如果无法接入成功,请提供一下全部信息:

  1. 请写出推送的完整流程。
  2. 请写出推送的每个环节是那一方来负责,比如android端注册推送并调用setDeviceToken由你们android研发来负责。
  3. 你认为那个环节出了问题,并给出证据。因为我们没有服务和客户端的任何信息,所以请务必给出全面详细的信息。
  4. 接入推送流程中问题排查中每一步的结果。

为了尽快定位问题,需要提供足够的信息,请按照我们的要求格式来提问。如果您不按照格式提问,我们将无法回复您的问题

@imndx
Copy link
Contributor

imndx commented May 28, 2024

config目录下,有个fcm相关配置

@laopaoer-wallet
Copy link
Author

laopaoer-wallet commented May 28, 2024

config目录下,有个fcm相关配置

关键我们安卓跟ios 都是使用FCM推送的,我看push_server 的源代码,安卓是配置了FCM,但是ios 还是走APNS的?

@laopaoer-wallet
Copy link
Author

wildfirechat.conf 配置了

push.android.server.address http://ip:8085/android/push

看push_server 的日志,im_server 并没有调用 push_server.

im_server 跟 push_server 只能是在同一个内网吗?

@imndx
Copy link
Contributor

imndx commented May 28, 2024

不需要在同一个内网,但需要能访问通

问题排查,请参考:推送问题排查

@FrancisTX
Copy link

FrancisTX commented Jul 1, 2024

遇到了一样的问题 我们也是安卓ios都用的fcm @laopaoer-wallet 请问有找到配置方法吗?
@imndx 我找到的配置方法是在push_server
/push.md 里面说的,但是并没有找到里面说的fcm对应的push/google-services.json配置文件,ios配置在链接的repo里面也没有找到配置方法

@imndx
Copy link
Contributor

imndx commented Jul 2, 2024

google-services.json是Android客户端配置的吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants