v0.24.0-rc3 tindroid
0.23 mysql:v0.24.0-rc2 tinode
im create firebase project
adding web app
and server side fcm credentials
specifyed fcm credentials file path in tinode.conf
configured FIREBASE_INIT on server side
edit build.gradle deps in app folder
put google-services.json to app folder
compile new apk with Android Studio
restart tinode and get SENDER_ID_MISMATCH when send message to user with new compiled app
user in chrome browser does not receive notifications.
what wrong? (
js browser console
-weblog.txt
server side log
-sslog.txt
android log
-andlog_tinode.txt
четверг, 22 мая 2025 г. в 16:04:49 UTC+4, Gene:
Please show the client-side startup logs (first ~20 lines).
--
You received this message because you are subscribed to the Google Groups "Tinode General" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tinode+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/tinode/b9962e6a-8b98-4f18-8f9a-5000b8685381n%40googlegroups.com.
im create new mob app in my firebase project with new package name co.tinode.tindroidex for clean testing.
get new google-services.json.
rebuild app.
enable fcm in tinode config.
install apk.
send message "test for fcm" from user with tnpg app to user with fcm app. recipient did not receive the notification.
send message "test for tnpg" from user with fcm app to user with tnpg app. recipient receive the notification.
send message "test two for fcm" again from user with tnpg app to user with fcm app. recipient did not receive the notification.
android syslog contain err and warn:
E AppOps : Bad call made by uid 1000. Package "co.tinode.tindroidex" does not belong to uid 10481.
E AppOps : java.lang.SecurityException: Specified package "co.tinode.tindroidex" under uid 10481 but it is not
im create new firebase project without "tinode" keyword.
step by step configured it with apk sign sha1 fingerprint.
download new app and serverside configs.reconfigured tinode config and static/firebase-init.jsinstall new app on two different phone. fcm register without error in log. on phone using microg - fcm register status OK.
and open one tab Tinode Web in browser without error in console.
check Firebase Installations API status - 3 ok
sent 6 messages between two users
no one received notifications either on the web or in the app. there is one checkmark in the sender's chat.
check Firebase Cloud Messaging API status - 6 request 100%
in tinode for each message an error was received:
fcm invalid config: SENDER_ID_MISMATCH SenderId mismatch; forbidden/SenderId mismatch
field "org" need for tnpg notification.
now i dont use this.
i use fcm.
To view this discussion visit https://groups.google.com/d/msgid/tinode/83c2ad5e-07de-4f76-b043-c4f200bc4e0en%40googlegroups.com.
my client is recompiled with new google-services.json of the same firebase project, the server settings of which I use in tinode in the fcm settings section.
recompiled clients are successfully registered in firebase project, tinode server requests are recorded as erroneous in firebase project statistic.
in the tinod console:
fcm invalid config: SENDER_ID_MISMATCH SenderId mismatch; forbidden/SenderId mismatch
dialog loop )))
where do i need to specify SenderId?
what else to check?
To view this discussion visit https://groups.google.com/d/msgid/tinode/3e211e94-3df0-4e77-a2c7-74d06342e19cn%40googlegroups.com.