Android Question Not receive push gcm

Status
Not open for further replies.

devmobile

Active Member
Licensed User
Hello
I use gcm in my project because i cannot use fcm for my reason
I can receive push in activity MyPush
but sometime i cannot receive push and when i finish MyPush activity,push receive and i can handle it
Maybe activity is affecting on push?

(Also when i close app,push receive)
 

devmobile

Active Member
Licensed User
Is there another way to use push system in my app?(example node js or other)
Because maybe gcm not working in my app and make problem in service
I need to strong push system without any problem
 
Upvote 0

KMatle

Expert
Licensed User
Longtime User
Upvote 0

devmobile

Active Member
Licensed User
I don't understand the question. You see that the message arrives. Something in your service code is incorrect. How will it help to change the server side?
I complete my question
I cannot receive push sometimes in Samsung device.
I use php api for send push
 
Upvote 0

devmobile

Active Member
Licensed User
1. Are you monitoring the logs?
2. Can you post your MessageArrived code in PushService module?
1- Yes i use toastmessageshow when i receive push and Log
2- Yes
I dont have problem in receive push only i cannot receive sometimes
Maybe broadcast receiver not register well
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
This thread is a good example of how not to ask a question.
You should help us help you. This means that you should accurately provide all the relevant information.

This thread is locked. If you like start a new one and explain what you did and what is the problem.
Both GCM and FCM work reliably if implemented correctly.
 
Upvote 0
Status
Not open for further replies.
Top