My requirement is how to detect the device level notification on/off in android device using javascript (don't use any kind of plug-in only you can use plug-in if this plugin support to PWA application).(我的要求是如何使用javascript检测android设备中的设备级别通知开/关(不要使用任何类型的插件,除非此插件支持PWA应用程序,否则您可以使用该插件)。)
As per if notification off I need to show the pop up to user please enable the notification feature you'll get notifications.(根据通知是否关闭,我需要向用户显示弹出窗口,请启用通知功能,您将收到通知。)
Below answer is only for detective browser level notification.(以下答案仅用于侦探性浏览器级别的通知。) If anybody know Please give me exact answer how to do it.(如果有人知道,请给我确切的答案。) Because,I stopped there.(因为,我停在那里。)
Please check the image here user enable once if user disable then I'm unable to send notification.(如果用户禁用,请检查此处用户启用的图像,如果用户禁用,则无法发送通知。)
ask by Prabhat translate from so
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…