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

[FEATURE REQUEST] Offline push How to customized configuration information for different channels #2450

Closed
phpmaple opened this issue Jul 26, 2024 · 6 comments

Comments

@phpmaple
Copy link

Why this feature?

I cannot customize the diverse configuration of offline push channels.

Suggested Solution

Support customized configurations for different channels in a certain way, such as Huawei and Xiaomi.

Additional Information

No response

@kubbot
Copy link
Contributor

kubbot commented Jul 26, 2024

Hello! Thank you for filing an issue.

If this is a bug report, please include relevant logs to help us debug the problem.

Join slack 🤖 to connect and communicate with our developers.

@printlin
Copy link
Contributor

It is clear that OpenIM only supports unified push services, such as jpush and getui, which are push integration platforms. We suggest that you integrate the vendor-specific push services(huawei,xiaomi) yourself and then provide a unified interface for OpenIM to call. This is how we handle it in our business operations.

@phpmaple
Copy link
Author

How can I provide my custom interface for OpenIM to call, using webhook? Is there related documentation?

@printlin
Copy link
Contributor

This is a custom feature that involves modifying the source code, and there is no official documentation available. You will need to read the source code yourself, understand the push business logic, and modify the code. You can refer to the code in internal/push/offlinepush as a guide.

@printlin
Copy link
Contributor

I have already implemented this in our business and successfully deployed it. Feel free to reach out with any questions.

@printlin
Copy link
Contributor

How can I provide my custom interface for OpenIM to call, using webhook? Is there related documentation?

I found a beforeOfflinePush webhook, which might allow you to meet your requirements without modifying the source code.

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

4 participants