firebase push notification to specific user [on hold]









up vote
0
down vote

favorite












I have a web application and I want to develop an android app for my application. Since my web application is very responsive, so I decided to make a very simple app using android webview. And I want to send a push notification to users, so I am using firebase cloud messaging (FCM). I have successfuly implemented FCM to my app to send notification to all user at once. But I want to send the notification to specific user so for that FCM is providing FCM TOKEN, but the only problem is how to get the FCM TOKEN with user's email address. I have login/registration and google AOuth in my web application. User can login to the application using google AOuth but inside webview.



How to get the FCM TOKEN with user's email address out side webview or is there any other way of doing it ?



NOTE:- i am using Java as backen server.










share|improve this question













put on hold as off-topic by Frank van Puffelen, chŝdk, pirho, AL., Max Vollmer Nov 8 at 23:00


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions seeking debugging help ("why isn't this code working?") must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Questions without a clear problem statement are not useful to other readers. See: How to create a Minimal, Complete, and Verifiable example." – Frank van Puffelen, pirho, AL.
If this question can be reworded to fit the rules in the help center, please edit the question.












  • go to the link and have a look at all the topics in it. docs are made for everyone form beginner to pro : firebase.google.com/docs/cloud-messaging/android/client
    – Har Kal
    Nov 8 at 12:15






  • 1




    When the user logs into a device, write the deviceID to the Firebase database paired with their email address. Users can have more than one device, so you might want to keep a list of devices with timestamps of when they were last seen.
    – James Poag
    Nov 8 at 12:25














up vote
0
down vote

favorite












I have a web application and I want to develop an android app for my application. Since my web application is very responsive, so I decided to make a very simple app using android webview. And I want to send a push notification to users, so I am using firebase cloud messaging (FCM). I have successfuly implemented FCM to my app to send notification to all user at once. But I want to send the notification to specific user so for that FCM is providing FCM TOKEN, but the only problem is how to get the FCM TOKEN with user's email address. I have login/registration and google AOuth in my web application. User can login to the application using google AOuth but inside webview.



How to get the FCM TOKEN with user's email address out side webview or is there any other way of doing it ?



NOTE:- i am using Java as backen server.










share|improve this question













put on hold as off-topic by Frank van Puffelen, chŝdk, pirho, AL., Max Vollmer Nov 8 at 23:00


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions seeking debugging help ("why isn't this code working?") must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Questions without a clear problem statement are not useful to other readers. See: How to create a Minimal, Complete, and Verifiable example." – Frank van Puffelen, pirho, AL.
If this question can be reworded to fit the rules in the help center, please edit the question.












  • go to the link and have a look at all the topics in it. docs are made for everyone form beginner to pro : firebase.google.com/docs/cloud-messaging/android/client
    – Har Kal
    Nov 8 at 12:15






  • 1




    When the user logs into a device, write the deviceID to the Firebase database paired with their email address. Users can have more than one device, so you might want to keep a list of devices with timestamps of when they were last seen.
    – James Poag
    Nov 8 at 12:25












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have a web application and I want to develop an android app for my application. Since my web application is very responsive, so I decided to make a very simple app using android webview. And I want to send a push notification to users, so I am using firebase cloud messaging (FCM). I have successfuly implemented FCM to my app to send notification to all user at once. But I want to send the notification to specific user so for that FCM is providing FCM TOKEN, but the only problem is how to get the FCM TOKEN with user's email address. I have login/registration and google AOuth in my web application. User can login to the application using google AOuth but inside webview.



How to get the FCM TOKEN with user's email address out side webview or is there any other way of doing it ?



NOTE:- i am using Java as backen server.










share|improve this question













I have a web application and I want to develop an android app for my application. Since my web application is very responsive, so I decided to make a very simple app using android webview. And I want to send a push notification to users, so I am using firebase cloud messaging (FCM). I have successfuly implemented FCM to my app to send notification to all user at once. But I want to send the notification to specific user so for that FCM is providing FCM TOKEN, but the only problem is how to get the FCM TOKEN with user's email address. I have login/registration and google AOuth in my web application. User can login to the application using google AOuth but inside webview.



How to get the FCM TOKEN with user's email address out side webview or is there any other way of doing it ?



NOTE:- i am using Java as backen server.







java android firebase firebase-cloud-messaging






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 8 at 12:06









Electronics World

113




113




put on hold as off-topic by Frank van Puffelen, chŝdk, pirho, AL., Max Vollmer Nov 8 at 23:00


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions seeking debugging help ("why isn't this code working?") must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Questions without a clear problem statement are not useful to other readers. See: How to create a Minimal, Complete, and Verifiable example." – Frank van Puffelen, pirho, AL.
If this question can be reworded to fit the rules in the help center, please edit the question.




put on hold as off-topic by Frank van Puffelen, chŝdk, pirho, AL., Max Vollmer Nov 8 at 23:00


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions seeking debugging help ("why isn't this code working?") must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Questions without a clear problem statement are not useful to other readers. See: How to create a Minimal, Complete, and Verifiable example." – Frank van Puffelen, pirho, AL.
If this question can be reworded to fit the rules in the help center, please edit the question.











  • go to the link and have a look at all the topics in it. docs are made for everyone form beginner to pro : firebase.google.com/docs/cloud-messaging/android/client
    – Har Kal
    Nov 8 at 12:15






  • 1




    When the user logs into a device, write the deviceID to the Firebase database paired with their email address. Users can have more than one device, so you might want to keep a list of devices with timestamps of when they were last seen.
    – James Poag
    Nov 8 at 12:25
















  • go to the link and have a look at all the topics in it. docs are made for everyone form beginner to pro : firebase.google.com/docs/cloud-messaging/android/client
    – Har Kal
    Nov 8 at 12:15






  • 1




    When the user logs into a device, write the deviceID to the Firebase database paired with their email address. Users can have more than one device, so you might want to keep a list of devices with timestamps of when they were last seen.
    – James Poag
    Nov 8 at 12:25















go to the link and have a look at all the topics in it. docs are made for everyone form beginner to pro : firebase.google.com/docs/cloud-messaging/android/client
– Har Kal
Nov 8 at 12:15




go to the link and have a look at all the topics in it. docs are made for everyone form beginner to pro : firebase.google.com/docs/cloud-messaging/android/client
– Har Kal
Nov 8 at 12:15




1




1




When the user logs into a device, write the deviceID to the Firebase database paired with their email address. Users can have more than one device, so you might want to keep a list of devices with timestamps of when they were last seen.
– James Poag
Nov 8 at 12:25




When the user logs into a device, write the deviceID to the Firebase database paired with their email address. Users can have more than one device, so you might want to keep a list of devices with timestamps of when they were last seen.
– James Poag
Nov 8 at 12:25

















active

oldest

votes






















active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

How do I collapse sections of code in Visual Studio Code for Windows?

ャフサォクコ ケウ,コ,ワ メ,ロスョノ゙,クネ,フムカヤヲニ,エコ゚ツ ウイオン゙ケワサネォキモュキォウイノンコチ゚メヌナイゥフュ,カヒウネェ ネ,ホノケ,ムュキ ッボーミュハ,チ ツス ィ メウイマヤ,゙ウチ ヅ ロ,ォジヌェ ャヌット ェ,マャ,チナエヒネソキツテ トホヲヲミーァ