Thanks for breaking down the problems, Satyajit Malugu.
Adrian Tineo
1

Adrian Tineo thanks for you interest, I may write a follow up post with more detail but here is a sample gist — https://gist.github.com/prolificcoder/11dcff13ab951e9a74484c9b77ce892e this method started out as similar for both iOS and Android but later on, after few failures, it was realized that on iOS notification popup comes first and vice versa in Android. Hence the code had to add in a conditional https://gist.github.com/prolificcoder/11dcff13ab951e9a74484c9b77ce892e#file-gistfile1-txt-L11

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.