fcm
Version, currently master branch1 version
- master branchlatestAug 13, 2018
github.com/9to6/fcm
Fcm client for Crystal-lang
2 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
fcm:
github: 9to6/fcm
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
0.25.1- License
- MIT
- Author
- 9to6 <ktk0011@gmail.com>
Dependencies
Development Dependencies
- webmock*github: manastech/webmock.cr, branch: masterdev
README
# fcm
Firebase notification client for Crystal language
## Installation
Add this to your application's `shard.yml`:
```yaml
dependencies:
fcm:
github: 9to6/fcm
```
## Usage
```crystal
require "fcm"
fcm = Fcm::Fcm.new("api-token")
# fcm.send(registration_ids: ["4sdsx", "8sdsd"], {data: {score: "5x1"}})
fcm.send(["4sdsx", "8sdsd"], {data: {score: "5x1"}}.to_h)
fcm.send_to_topic("news")
```
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Aug 13, 2018
- Crystal
0.25.1- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/9to6/fcm
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 13, 2026
- Synced
- Aug 13, 2026
- Versions
- 1