I am developing an android app implementing FCM. For testing purpose I need to implement my own script to send data.I am using linux and I am quite naive about server side implementation. I have a php script which is supposed to send data.It is on localhost.So what do I need to do to run the script. Do I need to bind my localhost to my IP .?? Also how do I know if my script has successfully send data.Right now I am not getting any error. I am using command line php -f var/www/html/filename. Thanks
关注
码龄 粉丝数 原力等级 --
- 被采纳
- 被点赞
- 采纳率
fcm的PHP脚本
收起
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 微信扫一扫点击复制链接分享
- 邀请回答
- 编辑 收藏 删除 结题
- 收藏 举报
追加酬金 (90%的用户在追加酬金后获得了解决方案)
当前问题酬金
¥ 0 (可追加 ¥500)
支付方式
扫码支付
加载中...
0条回答 默认 最新
报告相同问题?
提交
- 2018-07-03 13:49回答 1 已采纳 I add 'notification' in PHP code and fixed $fcmFields = array('to'=>$to, 'd
- 2017-01-27 12:51回答 1 已采纳 Hey hi please follow below link It will be help you This link for php with android
- 2016-09-15 08:08回答 3 已采纳 Thanks shubank .. your answer works... The only thing I need to add is priority high... Here is th
- 2016-04-08 01:47zhangfeng1133的博客 手机淘宝列表页面 的js调用展示 http://www.lxway.com/814960451.htm 手机淘宝列表页面 的js调用展示 ...
- 2017-02-17 06:23回答 1 已采纳 From your response snippet, I believe your talking about how should you do it on Android. It i
- 2017-06-05 07:06回答 2 已采纳 You can use curl_getinfo to check response information, if yur status code 200 that meet everythi
- 2019-01-07 06:16回答 1 已采纳 t's better not to make any connections in parallel, it is recommended to reuse connections or clos
- 2022-10-09 15:09diudiur的博客 PHP–用于web开发的通用脚本语言。 XMPP–通信协议–WhatsApp发送实时消息的核心。 让我们深入了解这些见解。 TECH STACK构建您的信息应用程序 根据产品的目标和功能,您应该了解如何创建跨平台或本机消息传递应用...
- 2023-03-04 01:57回答 2 已采纳 该回答引用ChatGPT这段matlab代码实现了将输入图像归一化的功能,其中包含了两个函数: 1、normalized(a): 这是主函数,它的输入参数a是一个彩色图像。如果输入的图像是单通道的(如
- 2017-04-06 00:37回答 1 已采纳 With registration token I assume you mean the Firebase Cloud Messaging (FCM) tokens. Simply store
- 2016-07-15 16:29回答 1 已采纳 From offical FCM Http Protocol, it says registration_ids : It must contain at least 1 and at m
- 2021-05-18 02:43weixin_39849762的博客 python 模拟windows键盘按键的封装 代码:在执行的时候,把光标放在指定的地方,在此例中,点击运行后把光标放到结果区域,粘贴的时候是粘贴到光标所在的问题,如过是运行脚本在web元素输入框中输入的话,不能移动光标到...
- 2019-06-05 11:56回答 1 已采纳 I am implementing your code. Use firebase registration token it generated in device (ios/android
- 2020-07-23 06:46cumichun6193的博客 Firebase是一个平台,可为移动和Web应用程序提供各种服务,并帮助开发人员使用许多功能快速构建应用程序。 To send the notifications, we will use the service called Cloud Messaging, which allows us to send ...
- 2015-08-04 15:40zcqzcqzcq151633的博客 推送功能在手机开发中应用的场景是越来起来了,不说别的,就我们手机上的新闻客户端就时不j时的推送过来新的消息,很方便的阅读最新的新闻信息。这种推送功能是好的一面,但是也会经常看到很多推送过来的垃圾信息,...
- 2020-09-25 06:58weixin_26727575的博客 adb-enhanced plugin as well that lets you toggle mobile data and battery saveradb增强的插件,可让您切换移动数据和省电模式 5.亚行Wifi (5. ADB Wifi) Android developers, unlike their iOS colleagues, ...
- 2020-07-03 09:37baobaodqh的博客 commandeer-开发人员友好的CLI应用程序:根据结构字段和标签设置标志,默认值和用法。 complete-在Go + Go命令bash完成中编写bash完成。 Dnote-具有多设备同步功能的简单命令行笔记本。 docopt.go-命令行参数解析器...
- 2020-05-09 11:24思月行云的博客 commandeer- 开发人员友好的 CLI 应用程序:根据结构字段和标签设置标志,默认值和用法。 complete- 在 Go + Go 命令 bash 完成中编写 bash 完成。 Dnote- 具有多设备同步功能的简单命令行笔记本。 docopt.go- ...
- 2019-09-30 03:37diechubo0847的博客 location ~ .*.(php|php5)?$ { fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; include fastcgi.conf; } 图片缓存时间设置 location ~ .*.(gif|jpg|jpeg|png|bmp|swf)$ { expires 10d; ...
- 2019-05-05 15:55思月行云的博客 - 开发人员友好的CLI应用程序:根据结构字段和标记设置标志,默认值和用法。 完成 - 在Go + Go命令bash完成中写入bash完成。 docopt.go - 命令行参数解析器,它会让你微笑。 drive - 命令行的...
- 没有解决我的问题, 去提问
悬赏问题
- ¥15 2024-五一综合模拟赛
- ¥15 下图接收小电路,谁知道原理
- ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
- ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
- ¥15 手机接入宽带网线,如何释放宽带全部速度
- ¥30 关于#r语言#的问题:如何对R语言中mfgarch包中构建的garch-midas模型进行样本内长期波动率预测和样本外长期波动率预测
- ¥15 ETLCloud 处理json多层级问题
- ¥15 matlab中使用gurobi时报错
- ¥15 这个主板怎么能扩出一两个sata口
- ¥15 不是,这到底错哪儿了😭