yuki24 / andpush Goto Github PK
View Code? Open in Web Editor NEWAndroid Push Notification in Ruby: The fastest client for FCM (Firebase Cloud Messaging)
Home Page: https://github.com/yuki24/andpush
License: MIT License
Android Push Notification in Ruby: The fastest client for FCM (Firebase Cloud Messaging)
Home Page: https://github.com/yuki24/andpush
License: MIT License
We need to set apns-priority
and apns-push-type
for header from iOS13.
Is there any option to set these properties?
https://developer.apple.com/videos/play/wwdc2019/707/?time=800
Thank you for nice library.
By using fcm, we can send push notification with device id and topic.
Nice to meet you, I'm using andpush.
If I want to specify a deep link with andpush, how should I describe it?
I use it like this.
def self.push_notification(user, title, body)
client = Andpush.new(Setting.fcm_server_key)
payload = {
to: user.device.token,
notification: {
title: title,
body: body
},
data: {
extra: "data"
}
}
client.push(payload)
end
はじめまして、andpushを利用しています。
andpushでディープリンクを指定したい場合は、どのように記載すると良いですか?
このような感じで利用しています。
※英文はGoogle翻訳を使ったので文法に間違いがあると思います、ご容赦ください
I want to use FCM HTTP v1 API via this gem.
Is this gem compatible with it?
If it supports, please tell me the implementation method.
↓legacy to HTTP v1 migrate doc
https://firebase.google.com/docs/cloud-messaging/migrate-v1
NoMethodError (undefined method `new' for Andpush:Module):
newメソッドを使おうとすると存在しないと言われます。
なぜでしょうか?
[translation added by repo maintainer]
The Andpush#new
initializer does not seem to exist. Any idea why this is happening?
Hello,
client = Andpush.new(server_key, pool_size: 25)
after creating the client Is there anyway to close the connection ?
Hi, this is actually a question.
Can one use your gem to send also IOS push notifications through Firebase assuming the APN is correctly connected through the firebase panel?
Thanks
https://gitlab.com/honeyryderchuck/httpx is ruby HTTP library with support for HTTP/2 without libcurl dependency.
Hi, I'm needing to send 10M desktop web pushes in < 1 hour.
So far I see a few articles about how to do this with Elixir, here's the best article I think:
Takeaways from article:
DRAINING
)Unfortunately, I can't use broadcast messages because each message is personalized.
Do you have any idea what performance would be like while using Andpush and HTTP/2 or whatever goods you got?
Cheers!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.