Closed tecufanujacu closed 3 years ago
Yes, i forgot about that
i update it https://github.com/ibnux/Android-SMS-Gateway/commit/2a253e342af58939ddc49dde7a6d82cabe4c7c6d
And what about the error MismatchSenderId? I'm still having it.
You need to create firebase project And add .json file to android project
And server key in php Must the same project
From Android studio Goto Tools -> Firebase Connect to firebase Add Firebase messaging
Oh yes, I only now checked this: https://github.com/ibnux/Android-SMS-Gateway/blob/master/app/build.gradle
Sorry. I have also opened an issue about not outgoing sms.
It works, the problem was my default sms app. It's wonderful, thanks a lot. Great work.
Now I'll recompile the app for my backend.
Thank you.
The backend doesn't seem to work.
$firebasekey shouldn't be called as global in function sendPush?
firebasekey have to be generated in firebase console at this link: https://console.firebase.google.com/ ?
If I correctly understood the steps anyway I have an error with the backend: {"multicast_id":xxxxxxxxxxxxxxxxxxx,"success":0,"failure":1,"canonical_ids":0,"results":[{"error":"MismatchSenderId"}]}
Please could you provide more info about how to use it?