simonmarquis / fcm-toolbox Goto Github PK
View Code? Open in Web Editor NEW๐ฒ Firebase Cloud Messaging toolbox
Home Page: https://fcm-toolbox-public.web.app
License: Apache License 2.0
๐ฒ Firebase Cloud Messaging toolbox
Home Page: https://fcm-toolbox-public.web.app
License: Apache License 2.0
I just started using Firebase recently, the default configuration of Firebase is Firebase Cloud Messaging API, and it took me a while to find the API key for Cloud Messaging API.
Planning to migrate from Cloud Messaging API to Firebase Cloud Messaging API?
I get MISSING_INSTANCEID_SERVICE
in titlebar and toast.
How can I debug?
I use microG. FCM-toolbox did not registered, but some other apps can receive message.
Versions
Hi Simon
Great project as always..
Thanks for sharing the source code!
I encountered an error while building in the build.gradle file sync phase
This version of the Android Support plugin for IntelliJ IDEA (or Android Studio) cannot open this project, please retry with version 2021.1.1 or newer.
I tried to find solutions to this error in Google, but they created other errors in the project.
Is there a way to build properly?
(I'm using the latest Android Studio version)
Thank you!
Hi Simon,
great tool! However, I have a suggestion: is it hard for you to add a feature to receive notification when app is background?
Currently, even when app is running (is on task list) after sometime app disconnect from FCM service (app icon not green).
It would be very helpful is app could be running in the background (as a service) and receive notification even when the phone is locked- just like Signal or Whatsapp do.
Regards
Chris
Hi, can you assist me in sending notification via topic in the web app
How can one achieve it?
What I have done
What happened
{
"to": "token",
"time_to_live": 60,
"priority": "high",
"data": {
"ping": {}
}
}
{
"multicast_id": xxxxxxx,
"success": 1,
"failure": 0,
"canonical_ids": 0,
"results": [
{
"message_id": "0:xxxxxxx"
}
]
}
E AndroidRuntime: FATAL EXCEPTION: Firebase-Messaging-Intent-Handle
E AndroidRuntime: Process: fr.smarquis.fcm, PID: 6444
E AndroidRuntime: java.lang.IllegalArgumentException: Cannot serialize abstract class k5.a
E AndroidRuntime: at e5.a.a(SourceFile:29)
E AndroidRuntime: at e5.d0.c(SourceFile:163)
E AndroidRuntime: at e5.d0.a(SourceFile:4)
E AndroidRuntime: at fr.smarquis.fcm.services.FcmService.c(SourceFile:319)
E AndroidRuntime: at com.google.firebase.messaging.FirebaseMessagingService.b(SourceFile:846)
E AndroidRuntime: at androidx.emoji2.text.n.run(SourceFile:88)
E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E AndroidRuntime: at p1.n.run(SourceFile:26)
E AndroidRuntime: at java.lang.Thread.run(Thread.java:920)
Enviroment:
Sender:
Receiver:
FCM config:
I tried the official FCM-toolbox, everything works well.
Sorry but I'm new to FCM and android, is there anything wrong with my config?
the mobile app is awesome,can u pls open source ur webapp too
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.
.github/workflows/android.yml
actions/checkout v3
actions/setup-java v3
gradle/gradle-build-action v2.4.2@749f47bda3e44aa060e82d7b3ef7e40d953bd629
gradle/gradle-build-action v2.4.2@749f47bda3e44aa060e82d7b3ef7e40d953bd629
actions/upload-artifact v3
gradle.properties
settings.gradle.kts
build.gradle.kts
app/build.gradle.kts
gradle/libs.versions.toml
androidx.appcompat:appcompat 1.6.1
androidx.constraintlayout:constraintlayout 2.1.4
androidx.core:core-ktx 1.10.1
androidx.test.espresso:espresso-core 3.5.1
androidx.lifecycle:lifecycle-livedata-ktx 2.6.1
androidx.lifecycle:lifecycle-viewmodel-ktx 2.6.1
androidx.preference:preference-ktx 1.2.0
androidx.recyclerview:recyclerview 1.3.0
androidx.room:room-compiler 2.5.1
androidx.room:room-ktx 2.5.1
androidx.room:room-runtime 2.5.1
androidx.room:room-testing 2.5.1
androidx.test.ext:junit 1.1.5
androidx.transition:transition 1.4.1
com.google.firebase:firebase-bom 32.1.0
com.google.android.material:material 1.9.0
com.google.gms:google-services 4.3.15
junit:junit 4.13.2
io.insert-koin:koin-android 3.4.0
io.insert-koin:koin-test 3.4.0
org.jetbrains.kotlin:kotlin-gradle-plugin 1.8.21
org.jetbrains.kotlinx:kotlinx-coroutines-android 1.7.1
org.jetbrains.kotlinx:kotlinx-coroutines-core 1.7.1
org.jetbrains.kotlinx:kotlinx-coroutines-play-services 1.7.1
com.squareup.moshi:moshi 1.15.0
com.squareup.moshi:moshi-adapters 1.15.0
com.squareup.moshi:moshi-kotlin 1.15.0
com.squareup.moshi:moshi-kotlin-codegen 1.15.0
com.android.application 8.0.2
org.jetbrains.kotlin.android 1.8.21
com.android.library 8.0.2
com.android.lint 8.0.2
com.android.test 8.0.2
org.jetbrains.kotlin.jvm 1.8.21
com.google.devtools.ksp 1.8.21-1.0.11
com.google.gms.google-services 4.3.15
gradle/wrapper/gradle-wrapper.properties
gradle 8.1.1
docs/index.html
popper.js 1.14.7@sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1
Hi Sir,
Where can I find the Source for FCM Server
I cloned the project the system works amazing! Thank you!
If I understood correctly I should see on the messaging page, all the devices connected to the app, can you understand why I do not see the connected devices?
I want to point out that once I connect to the app on the phone, the connection appears in the Realtime Database, but is not updated in my web app.
Thank you very much ๐
Hi!
Thanks for this great tool ๐ ! I wanted to ask whether topic conditions (search for condition) are supported or there is plan to support them in the future.
I could also offer to do a pull request to enable this.
Best,
Peter
Hi! I want to rebuild your app with my FCM credentials but i have an error "No matching client found for package name 'fr.smarquis.fcm'"
What i do wrong? i build it throught Android Studio using Build tab. Thanks!
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.