Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49076

How to read any push notification data?

$
0
0

@shreyasgombi wrote:

Hi, I would like to read the notification data that I receive on my phone. I have built an ionic application which has a login and verification using OTP message. Currently the user will have to enter OTP by reading from the message and enter the value in an input box. I was thinking if I can read the popup notification message to extract OTP number and then directly use it for verification. Here are my questions,

  1. Do I need to use a plugin? (Would be best, if I need not)
  2. If I use plugin, do I need to register for GCM, etc? (I haven't implemented any push notifications yet).

Would love to see a JSFiddle example or a codepen if possible.

Thank you very much in advance. :grinning:

Language : #ionic #ngcordova

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49076

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>