简体   繁体   English

突然通知不起作用(Mirror API)

[英]Suddenly notification is not working (Mirror API)

I have installed glass APK in my mobile. 我已经在手机中安装了玻璃APK。 I have created a APP in MIRROR API with PHP(web services). 我已经用PHP(网络服务)在MIRROR API中创建了一个APP。 This was working since for 4-5 months, but suddenly this is stop working. 自4-5个月以来一直有效,但是突然停止了工作。 When I tap in mobile and share anything with contacts, the web service is not getting called (in error log file nothing is writable). 当我点击移动设备并与联系人共享任何内容时,不会调用Web服务(错误日志文件中没有可写的内容)。

My subscribed notification url is - https://mirrornotifications.appspot.com/forward?url=http://mydomainname/appname/notify.php And I can see the subscription list when I print the subscription. 我订阅的通知URL是-https: //mirrornotifications.appspot.com/forward? url =http://mydomainname/appname/notify.php并且我可以在打印订阅时看到订阅列表。

I have checked, everything is fine and I am also getting timeline when running PHP script manually. 我检查了一下,一切都很好,并且在手动运行PHP脚本时也得到了时间表。

I am totally surprised as it is suddenly stop working for only notification. 我完全感到惊讶,因为它突然停止工作,仅用于通知。

You're using the Glass app on an Android phone, not on Glass itself? 您是在Android手机上使用Glass应用程序,而不是在Glass本身上使用? This sounds like a very unsupported configuration, so I'm not surprised that it might have broken. 这听起来像是非常不受支持的配置,所以对于它可能已损坏,我并不感到惊讶。 In the past few weeks, the Glass software has been updated and been rebased to a new version of Android, so I wouldn't rule out that the wire protocol also changed. 在过去的几周中,Glass软件已经更新,并已改版为新版本的Android,因此,我不排除有线协议也已更改。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM