I want to add a fire alarm function to my app. I think the push notification may be the best choice. But if there is much delay, like over 10 mins, it would be meaningless
To avoid the delay,we should take care libraries of FCM in build.gradle(both project and module level ) and google-services.json. All should be up to date.