Dear Sir, in your source code " Send Notifications from one device to another using token in firebase (Java), the following line is not executed below:
hi..i want source code of database for atm web application. how can i get it? i tried to find on github but couldn't get it, will you please share the database source code. i really need it urgently!
This comment has been removed by the author.
ReplyDeleteDear Sir, in your source code " Send Notifications from one device to another using token in firebase (Java), the following line is not executed below:
ReplyDeletesend.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
FirebaseDatabase.getInstance().getReference().child("Tokens").child(UserTB.getText().toString().trim()).child("token").addListenerForSingleValueEvent(new ValueEventListener() {
@Override
public void onDataChange(@NonNull DataSnapshot snapshot) {
String usertoken = snapshot.getValue(String.class);
Log.d(TAG,"Token: "+ usertoken);
sendNotifications(usertoken, Title.getText().toString().trim(), Message.getText().toString().trim());
}
@Override
public void onCancelled(@NonNull DatabaseError error) {
}
});
}
});
after click send button code is not entering this block.. Can you assists me please where is the problem ?/
Thanks, Moshad
Token shows null....
DeleteI get body:0 as response.body() when sending my notification.
ReplyDeleteI using the same table as you.
Any idea?
dear sir can you provide the project report of password based circuit breaker using Arduino , that would be very helpful for me .
ReplyDeleteThe url for the send notification from one device to another is not working.
ReplyDeleteAmazing Work!
ReplyDeleteHello Sir,
ReplyDeletei want to send firebase notification by API call using Retrofit?
Sir the app is crashing on notification recieved
ReplyDeletehi..i want source code of database for atm web application. how can i get it? i tried to find on github but couldn't get it, will you please share the database source code. i really need it urgently!
ReplyDeleteMailed you
Delete