开发者

How to stop Push Notifications connecting to web server if about to timeout?

开发者 https://www.devze.com 2023-04-04 14:34 出处:网络
I currently have push notifications in my app and my app gets the notifications from a web server. Sometimes, if there are too many people trying to load the same script, it crashes the app because it

I currently have push notifications in my app and my app gets the notifications from a web server. Sometimes, if there are too many people trying to load the same script, it crashes the app because it times out. Is there a way of saying, if five seconds have passed, to disregard the code to get the push notifications?

Thanks,

开发者_开发问答James

0

精彩评论

暂无评论...
验证码 换一张
取 消