Tuesday, December 31, 2019

Vaibhav Mojidra

Document Vaibhav Mojidra

11 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. 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:

    send.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

    ReplyDelete
  3. I get body:0 as response.body() when sending my notification.
    I using the same table as you.
    Any idea?

    ReplyDelete
  4. dear sir can you provide the project report of password based circuit breaker using Arduino , that would be very helpful for me .

    ReplyDelete
  5. The url for the send notification from one device to another is not working.

    ReplyDelete
  6. Hello Sir,
    i want to send firebase notification by API call using Retrofit?

    ReplyDelete
  7. Sir the app is crashing on notification recieved

    ReplyDelete
  8. 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!

    ReplyDelete

Vaibhav Mojidra

Document Vaibhav Mojidra