{"id":2310,"date":"2019-09-23T20:51:43","date_gmt":"2019-09-23T11:51:43","guid":{"rendered":"https:\/\/www.beeete2.com\/blog\/?p=2310"},"modified":"2020-02-19T21:53:56","modified_gmt":"2020-02-19T12:53:56","slug":"android%e3%81%a7%e7%ab%af%e6%9c%ab%e3%81%abpush%e3%83%a1%e3%83%83%e3%82%bb%e3%83%bc%e3%82%b8%ef%bc%88fcm%ef%bc%89%e3%81%8c%e5%b1%8a%e3%81%8b%e3%81%aa%e3%81%84%e5%95%8f%e9%a1%8c","status":"publish","type":"post","link":"https:\/\/www.beeete2.com\/blog\/?p=2310","title":{"rendered":"Android\u3067\u7aef\u672b\u306bPush\u30e1\u30c3\u30bb\u30fc\u30b8\uff08FCM\uff09\u304c\u5c4a\u304b\u306a\u3044\u554f\u984c"},"content":{"rendered":"<p>\u4eca\u3001\u81ea\u5206\u304c\u4f1a\u793e\u3067\u4f5c\u3063\u3066\u3044\u308b\u30a2\u30d7\u30ea\u306fPush\u901a\u77e5\u304c\u5c4a\u304b\u306a\u3044\u3068\u30b5\u30fc\u30d3\u30b9\u304c\u6210\u308a\u7acb\u305f\u306a\u3044\u91cd\u8981\u306a\u901a\u77e5\u3068\u306a\u3063\u3066\u304a\u308a\u307e\u3059\u3002<br \/>\n\u57fa\u672c\u7684\u306bFirebase Cloud Messaging(FCM)\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n\u5b9a\u671f\u7684\u306b\u3068\u3044\u3046\u308f\u3051\u3067\u306f\u306a\u3044\u306e\u3067\u3059\u304c\u3001Push\u901a\u77e5\u304c\u5c4a\u304b\u306a\u3044\u3068\u3044\u3046\u554f\u3044\u5408\u308f\u305b\u304c\u4f55\u5ea6\u304b\u3042\u308a\u8abf\u67fb\u3057\u307e\u3057\u305f\u3002<\/p>\n<h2>Firebase Cloud Messaging\u306e\u8a73\u7d30<\/h2>\n<p>Android\u30a2\u30d7\u30ea\u3092\u4f7f\u3063\u3066\u3044\u308b\u30a2\u30d7\u30ea\u3067\u901a\u77e5\u3092\u5b9f\u88c5\u3059\u308b\u5834\u5408\u3001\u307b\u3068\u3093\u3069FCM\u3092\u4f7f\u3046\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u3053\u3061\u3089\u306e\u30da\u30fc\u30b8\u306b\u8a73\u7d30\u304c\u8a18\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\n<a href=\"https:\/\/firebase.google.com\/docs\/cloud-messaging\/concept-options?hl=ja\" target=\"_blank\" rel=\"noopener noreferrer\">FCM \u30e1\u30c3\u30bb\u30fc\u30b8\u306b\u3064\u3044\u3066<\/a><\/p>\n<p>\u3088\u304f\u4f7f\u3046\u8a2d\u5b9a\u3092\u7c21\u5358\u306b\u8aac\u660e\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h2>\u901a\u77e5\u306e\u7a2e\u985e<\/h2>\n<p>FCM\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u306f\uff12\u3064\u3042\u3063\u3066\u30c7\u30fc\u30bf\u30e1\u30c3\u30bb\u30fc\u30b8\u3057\u304b\u4f7f\u3063\u3066\u3044\u307e\u305b\u3093\u3002<br \/>\n\u30c7\u30fc\u30bf\u30e1\u30c3\u30bb\u30fc\u30b8\u306f\u30a2\u30d7\u30ea\u3067\u901a\u77e5\u3092\u53d7\u3051\u3066\u3001\u30e1\u30c3\u30bb\u30fc\u30b8\u306b\u542b\u307e\u308c\u308b\u5185\u5bb9\u3092\u5143\u306b\u7aef\u672b\u306bNotification\uff08\u901a\u77e5\uff09\u3092\u51fa\u3059\u3068\u304b\u305d\u3046\u3044\u3046\u7528\u9014\u306b\u4f7f\u3046\u3068\u601d\u308f\u308c\u307e\u3059\u3002<\/p>\n<h3>\u512a\u5148\u5ea6<\/h3>\n<p>\u512a\u5148\u5ea6\u3082\u73fe\u57282\u3064\u3042\u308a\u307e\u3059\u3002<br \/>\n\u4f7f\u3044\u5206\u3051\u306f\u6975\u8ad6\u306b\u306a\u308a\u307e\u3059\u304c\u3001\u9045\u5ef6\u3057\u3066\u3088\u3044\u304b\u3069\u3046\u304b\u3067\u6c7a\u3081\u308b\u3068\u601d\u308f\u308c\u307e\u3059\u3002<br \/>\n\u7279\u5fb4\u3068\u3057\u3066\u3001\u512a\u5148\u5ea6\u3092<code>\u9ad8<\/code>\u306b\u3059\u308b\u3068\u7aef\u672b\u304cDoze\u30e2\u30fc\u30c9\u306e\u5834\u5408\u3082Push\u901a\u77e5\u304c\u884c\u308f\u308c\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u512a\u5148\u5ea6\uff1a\u901a\u5e38\n<ul>\n<li>\u9045\u5ef6\u3057\u3066\u3082\u3088\u3044<\/li>\n<li>\u304a\u77e5\u3089\u305b\u306a\u3069\u5c11\u3057\u9045\u5ef6\u3057\u3066\u3082\u554f\u984c\u306a\u3044\u5834\u5408\u306b\u4f7f\u3046<\/li>\n<\/ul>\n<\/li>\n<li>\u512a\u5148\u5ea6\uff1a\u9ad8\n<ul>\n<li>\u9045\u5ef6\u3057\u3066\u306f\u3044\u3051\u306a\u3044<\/li>\n<li>\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u306e\u901a\u77e5\u306a\u3069\u9045\u5ef6\u3059\u308b\u3068\u610f\u5473\u304c\u306a\u3044\u5834\u5408\u306b\u4f7f\u3046<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u3053\u3053\u3067\u6ce8\u610f\u304c\u5fc5\u8981\u306a\u306e\u306f\u3001\u5927\u306f\u5c0f\u3092\u517c\u306d\u308b\u7684\u306a\u611f\u899a\u3067\u5e38\u306b\u512a\u5148\u5ea6\uff1a\u9ad8\u306b\u3057\u3068\u3051\u3070\u3044\u3044\u3058\u3083\u306a\u3044\uff1f\u3068\u601d\u308f\u306a\u3044\u3053\u3068\u3067\u3059\u3002<br \/>\nAndroid9\u4ee5\u964d\u5c0e\u5165\u3055\u308c\u305f\u30a2\u30d7\u30ea\u30fb\u30b9\u30bf\u30f3\u30d0\u30a4\u30fb\u30d0\u30b1\u30c3\u30c8\u306e\u8a2d\u5b9a\u306b\u3088\u308a\u3001\u512a\u5148\u5ea6\uff1a\u9ad8\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u53d7\u4fe1\u3067\u304d\u308b\u56de\u6570\u306b\u5236\u9650\u304c\u884c\u308f\u308c\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n<a href=\"https:\/\/developer.android.com\/topic\/performance\/power\/power-details.html\" target=\"_blank\" rel=\"noopener noreferrer\">Power management restrictions<\/a><\/p>\n<p>\u9045\u5ef6\u3057\u3066\u3082\u826f\u3044\u3082\u306e\u306f\u9045\u5ef6\u3055\u305b\u308b\u3088\u3046\u306b\u9069\u5207\u306b\u512a\u5148\u5ea6\u3092\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h3>\u6709\u52b9\u671f\u9650<\/h3>\n<p>\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u6709\u52b9\u671f\u9650\u3067\u3059\u3002<br \/>\n\u4f8b\u3048\u3070\u6709\u52b9\u671f\u9650\u30921\u65e5\u306b\u3057\u3066\u3044\u305f\u5834\u5408\u3001\u30e1\u30c3\u30bb\u30fc\u30b8\u9001\u4fe1\u6642\u306b\u7aef\u672b\u304c\u96fb\u6e90\u3092\u843d\u3068\u3057\u3066\u3044\u305f\u306a\u3069\u3067Push\u901a\u77e5\u3092\u53d7\u3051\u53d6\u308c\u306a\u3044\u5834\u5408\u3082\u6709\u52b9\u671f\u9650\u5185\u306b\u53d7\u3051\u53d6\u308c\u308b\u74b0\u5883\u306b\u306a\u308c\u3070\u518d\u9001\u3055\u308c\u307e\u3059\u3002<\/p>\n<h4>\u6709\u52b9\u671f\u9650\u30920\u306b\u3057\u305f\u5834\u5408<\/h4>\n<p>\u6709\u52b9\u671f\u9650\u30920\u306b\u3057\u305f\u5834\u5408\u3067\u3059\u304c\u3001FCM\u5185\u3067\u9045\u5ef6\u304c\u6700\u5c0f\uff08\u30d9\u30b9\u30c8\u30a8\u30d5\u30a9\u30fc\u30c8\uff09\u306b\u306a\u308b\u3068\u3044\u3046\u512a\u9047\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u305d\u306e\u4ee3\u308f\u308a\u518d\u9001\u306f\u884c\u308f\u308c\u307e\u305b\u3093\u3002<br \/>\nPush\u901a\u77e5\u3092\u9001\u4fe1\u3057\u305f\u305d\u306e\u77ac\u9593\u3057\u304b\u610f\u5473\u304c\u306a\u3044\u3082\u306e\u3001\u9045\u5ef6\u3057\u3066\u53d7\u4fe1\u3057\u3066\u3082\u610f\u5473\u304c\u306a\u3044\u3082\u306e\u306f\u6709\u52b9\u671f\u9650\u30920\u306b\u3059\u308b\u3068\u3088\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u9006\u306b\u9045\u5ef6\u3055\u305b\u3066\u3082\u53d7\u4fe1\u3055\u305b\u305f\u3044\u5834\u5408\u306f0\u3092\u6307\u5b9a\u3057\u3066\u306f\u3044\u3051\u307e\u305b\u3093\u3002<\/p>\n<h2>Push\u901a\u77e5\u304c\u5c4a\u304b\u306a\u3044\u30fb\u30fb\u30fb<\/h2>\n<p>\u958b\u767a\u6642\u306f\u305d\u308c\u307b\u3069\u3067\u306f\u306a\u3044\u306e\u3067\u3059\u304c\u3001\u5b9f\u904b\u7528\u3092\u884c\u3046\u3068Push\u901a\u77e5\u304c\u5c4a\u304b\u306a\u3044\u3068\u3044\u3046\u3053\u3068\u304c\u767a\u751f\u3059\u308b\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u7279\u306b\u5384\u4ecb\u306a\u306e\u304c\u3001FCM\u306f\u7aef\u672b\u306b\u9001\u4fe1\u3057\u3066\u3044\u308b\u306e\u306b\u30a2\u30d7\u30ea\u306b\u901a\u77e5\u3055\u308c\u306a\u3044\u5834\u5408\u3067\u3059\u3002<\/p>\n<p>\u5b8c\u5168\u306b\u3068\u3044\u3046\u308f\u3051\u3067\u306f\u306a\u3044\u306e\u3067\u3059\u304c\u3001\u554f\u984c\u306e\u5207\u308a\u5206\u3051\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8a18\u8f09\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u307e\u305a\u3001Push\u901a\u77e5\u306fFCM\u304b\u3089\u7aef\u672b\u306b\u9001\u4fe1\u3055\u308c\u308b\u306e\u3067\u975e\u5e38\u306b\u8ffd\u8de1\u304c\u96e3\u3057\u3044\u3067\u3059\u3002\u3053\u306e\u90e8\u5206\u3067\u30a2\u30d7\u30ea\u304c\u95a2\u4e0e\u51fa\u6765\u308b\u90e8\u5206\u306f\u307b\u3068\u3093\u3069\u306a\u3044\u3068\u601d\u308f\u308c\u307e\u3059\u3002<br \/>\n\u5207\u308a\u5206\u3051\u306e\u65b9\u6cd5\u3067\u3059\u304c\u3001\u6700\u521d\u306bFCM\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u914d\u4fe1\u30ed\u30b0\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<br \/>\nFCM\u306e\u30ed\u30b0\u306fFirebase\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3054\u3068\u306bBigQuery\u306b\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n\u975e\u5e38\u306b\u6b8b\u5ff5\u306a\u3053\u3068\u306bBigQuery\u306b\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3059\u308b\u5834\u5408Firebase\u306e\u30d7\u30e9\u30f3\u3092\u5f93\u91cf\u8ab2\u91d1\u306eBlaze\u306b\u5909\u66f4\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u305f\u3060\u3001BigQuery\u306b\u306f\u6bce\u6708\u306e\u7121\u6599\u67a0\u304c\u3042\u308a\u3001\u76f8\u5f53\u6570\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u9001\u4fe1\u3057\u3066\u3044\u306a\u3044\u3001\u5b9a\u671f\u7684\u306b\u30c7\u30fc\u30bf\u3092\u5ec3\u68c4\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u8ab2\u91d1\u5bfe\u8c61\u306b\u306a\u308b\u3053\u3068\u306f\u306a\u3044\u306e\u3067\u306f\u306a\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h3>BigQuery\u3067\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u914d\u4fe1\u72b6\u6cc1\u3092\u898b\u308b<\/h3>\n<p>\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u306f\u6642\u5dee\u306e\u95a2\u4fc2\u3082\u3042\u308a\u3001\u65e5\u672c\u6642\u9593\u306e\u5834\u54082\u65e5\u5f8c\u304f\u3089\u3044\u306b\u30c7\u30fc\u30bf\u304c\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u308b\u3068\u601d\u3044\u307e\u3059\uff08\u74b0\u5883\u306b\u3088\u3063\u3066\u7570\u306a\u308b\u304b\u3082\uff09<br \/>\n\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3055\u308c\u305f\u30ec\u30b3\u30fc\u30c9\u306b\u306f\u5927\u307e\u304b\u306b\u30e1\u30c3\u30bb\u30fc\u30b8ID\uff08\u7279\u5b9a\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\uff09\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9ID\uff08\u8ab0\u306b\u9001\u3063\u305f\u304b\uff09\u3001\u30a4\u30d9\u30f3\u30c8\u304c\u542b\u307e\u308c\u307e\u3059\u3002<br \/>\n\u305d\u306e\u4ed6\u3001\u512a\u5148\u5ea6\u3084\u6709\u52b9\u671f\u9650\u306a\u3069\u306e\u60c5\u5831\u3082\u542b\u307e\u308c\u307e\u3059\u304c\u5927\u5909\u6b8b\u5ff5\u306a\u3053\u3068\u306b\u30c7\u30fc\u30bf\u306e\u4e2d\u8eab\u306f\u542b\u307e\u308c\u307e\u305b\u3093\u30fb\u30fb\u30fb\u3002<br \/>\n\u3053\u306e\u60c5\u5831\u3067\u6700\u3082\u5927\u4e8b\u306a\u306e\u304c\u30a4\u30d9\u30f3\u30c8\u306e\u9805\u76ee\u3067\u3059\u3002<br \/>\n\u3053\u306e\u30a4\u30d9\u30f3\u30c8\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u3067FCM\u4e0a\u3067\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u3069\u306e\u3088\u3046\u306b\u51e6\u7406\u3055\u308c\u305f\u304b\u308f\u304b\u308a\u307e\u3059\u3002<br \/>\n\u901a\u5e38\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u914d\u4fe1\u3055\u308c\u308b\u3068<\/p>\n<ul>\n<li>\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u53d7\u3051\u4ed8\u3051\u305f\uff08MESSAGE_ACCEPTED\uff09<\/li>\n<li>\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u914d\u4fe1\u3057\u305f\uff08MESSAGE_DELIVERED\uff09<\/li>\n<\/ul>\n<p>\u306e2\u30ec\u30b3\u30fc\u30c9\u3067\u304d\u307e\u3059\u3002<br \/>\n\u3055\u3089\u306b\u3001\u7aef\u672b\u304c\u518d\u63a5\u7d9a\u5f8c\u914d\u4fe1\u3057\u305f\uff08MESSAGE_DELIVERED_ON_RECONNECT\uff09\u3001Doze\u30e2\u30fc\u30c9\u4e2d\u3067\u9045\u5ef6\uff08MESSAGE_DELAYED_DOZE\uff09\u3001\u6709\u52b9\u671f\u9650\u304e\u308c\uff08MESSAGE_EXPIRED\uff09\u306a\u3069\u304c\u308f\u304b\u308a\u307e\u3059\u3002<br \/>\n\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u3069\u306e\u3088\u3046\u306a\u72b6\u614b\u306b\u306a\u3063\u3066\u3044\u308b\u304b\u3068\u3044\u3046\u3053\u3068\u304c\u308f\u304b\u308b\u306e\u3067Push\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u5c4a\u304b\u306a\u3044\u539f\u56e0\u304c\u3069\u3053\u306b\u3042\u308b\u306e\u304b\u9001\u4fe1\u5143\u3068\u9001\u4fe1\u5148\u306b\u5207\u308a\u5206\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n\u305d\u3082\u305d\u3082<code>MESSAGE_DELIVERED<\/code>\u304c\u306a\u3051\u308c\u3070\u914d\u4fe1\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3057<code>MESSAGE_EXPIRED<\/code>\u306e\u5834\u5408\u306f\u6709\u52b9\u671f\u9650\u304c\u5207\u308c\u305f\u306e\u3067\u914d\u4fe1\u3055\u308c\u308b\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\n\u8a73\u7d30\u306f\u3053\u3061\u3089\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<br \/>\n<a href=\"https:\/\/firebase.google.com\/docs\/cloud-messaging\/understand-delivery\" target=\"_blank\" rel=\"noopener noreferrer\">\u30e1\u30c3\u30bb\u30fc\u30b8\u914d\u4fe1\u306b\u3064\u3044\u3066<\/a><\/p>\n<p>\u3053\u308c\u3067\u3001\u554f\u984c\u89e3\u6c7a\u30fb\u30fb\u30fb\u3068\u306a\u3089\u306a\u3044\u3068\u3053\u308d\u304cPush\u901a\u77e5\u306e\u6df1\u3044\u3068\u3053\u308d\u3060\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\nFCM\u306e\u30a4\u30d9\u30f3\u30c8\u304c<code>MESSAGE_DELIVERED<\/code>\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u306b\u30a2\u30d7\u30ea\u306bPush\u901a\u77e5\u304c\u5c4a\u304b\u306a\u3044\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h2>Push\u901a\u77e5\u3092\u62d2\u3080\u8981\u56e0\u306a\u3069<\/h2>\n<h3>Doze\u30e2\u30fc\u30c9\u306b\u3064\u3044\u3066\uff08\u554f\u984c\u306a\u3044\u3068\u601d\u308f\u308c\u308b\uff09<\/h3>\n<p>Android 6\u4ee5\u964d\u306b\u642d\u8f09\u3055\u308c\u305fDoze\u30e2\u30fc\u30c9\u306b\u95a2\u3057\u3066\u306f\u3001\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u512a\u5148\u5ea6\u3092\u9ad8\u306b\u3057\u3066\u3044\u308b\u9650\u308a\u306f\u554f\u984c\u304c\u3042\u308b\u3068\u306f\u601d\u3048\u307e\u305b\u3093\u3067\u3057\u305f\u3002<br \/>\nDoze\u306b\u5165\u3063\u3066\u3044\u3066\u3082\u53d7\u4fe1\u3057\u3066\u30a2\u30d7\u30ea\u304c\u8d77\u52d5\u3057\u307e\u3059\u3002<br \/>\n\u3068\u306f\u3044\u3048\u3001\u5b8c\u74a7\u3067\u306f\u306a\u3044\u306e\u3067\u53d7\u4fe1\u3067\u304d\u306a\u3044\u5834\u5408\u3082\u3042\u308b\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u81ea\u5206\u304c\u8a66\u3057\u305f\u611f\u3058\u3067\u306f\u512a\u5148\u5ea6\u304c\u9ad8\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304cDoze\u4e2d\u306b\u9855\u8457\u306b\u53d7\u4fe1\u3067\u304d\u306a\u3044\u3068\u3044\u3046\u3053\u3068\u306f\u306a\u304b\u3063\u305f\u306e\u3067\u5225\u306e\u539f\u56e0\u304c\u3042\u308b\u3068\u601d\u308f\u308c\u307e\u3059\u3002<\/p>\n<h3>\u30e2\u30d0\u30a4\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u56de\u7dda\u6642<\/h3>\n<p>\u958b\u767a\u6642\u306fWiFi\u3092\u4f7f\u3046\u3053\u3068\u304c\u591a\u3044\u3068\u601d\u3046\u306e\u3067\u6c17\u304c\u4ed8\u304d\u306b\u304f\u3044\u90e8\u5206\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u3053\u308c\u306f\u516c\u5f0f\u306a\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u898b\u3064\u3051\u3089\u308c\u306a\u3044\u306e\u3067\u3059\u304c\u3001\u7aef\u672b\u304c\u5e38\u6642FCM\u306e\u30b5\u30fc\u30d0\u30fc\u3068\u63a5\u7d9a\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u7aef\u672b\u304cFCM\u30b5\u30fc\u30d0\u30fc\u3068\u5207\u65ad\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u3001\u5f53\u7136\u3067\u3059\u304c\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u914d\u4fe1\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<p>DoCoMo\u3084AU\u3084SoftBank\u306a\u3069\u306e\u30ad\u30e3\u30ea\u30a2\u306f\u554f\u984c\u306a\u304b\u3063\u305f\u306e\u3067\u3059\u304c\u3001MVNO\u3067\u554f\u984c\u304c\u3042\u308b\u6a5f\u7a2e\u304c\u3042\u308a\u307e\u3057\u305f\u3002<br \/>\n\u6050\u3089\u304f\u8272\u3005\u306a\u539f\u56e0\u7b49\u3067FCM\u3068\u306e\u63a5\u7d9a\u304c\u5207\u65ad\u3055\u308c\u3066\u3044\u308b\u3082\u306e\u3068\u601d\u308f\u308c\u307e\u3059\u3002<br \/>\n\uff08bigquery\u306e\u30ed\u30b0\u3082<code>MESSAGE_DELIVERED<\/code>\u304c\u306a\u3044\uff09<br \/>\n\u6a5f\u7a2e\u56fa\u6709\u306e\u554f\u984c\u306f\u8272\u3005\u554f\u984c(\u8a9e\u5f0a)\u304c\u3042\u308a\u305d\u3046\u306a\u306e\u3067\u8a73\u7d30\u306f\u8a18\u8f09\u3057\u307e\u305b\u3093\uff08\u304a\u554f\u3044\u5408\u308f\u305b\u3044\u305f\u3060\u3051\u308c\u3070\u671f\u5f85\u306b\u6dfb\u3048\u308b\u304b\u306f\u308f\u304b\u308a\u307e\u305b\u3093\u304c\u304a\u4f1d\u3048\u3059\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\uff09<br \/>\nMVNO\u3067\u3082\u52d5\u4f5c\u78ba\u8a8d\u3059\u308b\u3053\u3068\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002<\/p>\n<h3>broadcast intent callback: result=CANCELLED forIntent<\/h3>\n<p>\u539f\u56e0\u306f\u308f\u304b\u3089\u306a\u304b\u3063\u305f\u306e\u3067\u3059\u304cPush\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u53d7\u4fe1\u6642\u306b<code>broadcast intent callback: result=CANCELLED forIntent package name<\/code>\u3068\u30ed\u30b0\u304c\u8868\u793a\u3055\u308c\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3057\u305f\u3002<br \/>\n\u3053\u3061\u3089\u306b\u3082\u540c\u69d8\u306e\u8a18\u8f09\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n<a href=\"https:\/\/stackoverflow.com\/questions\/39480931\/error-broadcast-intent-callback-result-cancelled-forintent-act-com-google-and\" target=\"_blank\" rel=\"noopener noreferrer\">Error broadcast intent callback: result=CANCELLED forIntent { act=com.google.android.c2dm.intent.RECEIVE pkg=com.flagg327.guicomaipu (has extras) }<\/a><\/p>\n<p>\u305f\u3057\u304b\u306b\u30c7\u30d0\u30c3\u30b0\u4e2d\u306e\u30a2\u30d7\u30ea\u3092\u30bf\u30b9\u30af\u304b\u3089\u524a\u9664\u3057\u305f\u3042\u3068\u3001\u30d7\u30c3\u30b7\u30e5\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u9001\u308b\u3068\u3053\u306e\u30ed\u30b0\u304c\u8868\u793a\u3055\u308c\u305f\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u3057\u304b\u3057\u30ea\u30ea\u30fc\u30b9\u30d3\u30eb\u30c9\u3067\u3082\u540c\u69d8\u306e\u73fe\u8c61\u304c\u767a\u751f\u3057\u305f\u3088\u3046\u306a\u8a18\u61b6\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\nQA\u4e2d\u306b\u767a\u751f\u3057\u3066QA\u306f\u57fa\u672c\u7684\u30ea\u30ea\u30fc\u30b9\u30d3\u30eb\u30c9\u3067\u884c\u3063\u3066\u304a\u308a\u307e\u3059\u3002\u3046\u308b\u899a\u3048\u306a\u306e\u3067\u3059\u304cAndroid9\u304b10\u3067\u7701\u96fb\u529b\u304b\u3089\u5bfe\u8c61\u30a2\u30d7\u30ea\u3092\u9664\u5916\u3092\u3059\u308b\u3053\u3068\u3067\u6b63\u3057\u304f\u30d7\u30c3\u30b7\u30e5\u304c\u5c4a\u304f\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<br \/>\n\u306a\u306e\u3067App Standby Bucket\u3067\u5236\u9650\u3055\u308c\u305f\u5f71\u97ff\u304b\u3068\u601d\u3063\u3066\u304a\u308a\u307e\u3057\u305f\u304c\u78ba\u8a3c\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<h3>\u539f\u56e0No1<\/h3>\n<p>\u7aef\u672b\u306b\u642d\u8f09\u3055\u308c\u3066\u3044\u308b\u7701\u96fb\u529b\u30e2\u30fc\u30c9\u3067\u3059\u3002<br \/>\n\u4f8b\u3048\u3070\u3001ASUS\u3084HUAWEI\u306e\u6a5f\u7a2e\u306b\u306f\u30a2\u30d7\u30ea\u306e\u81ea\u52d5\u8d77\u52d5\u3055\u305b\u308b\u304b\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u3002<br \/>\n\u81ea\u52d5\u8d77\u52d5\u304c\u7121\u52b9\u306b\u306a\u3063\u3066\u3044\u308b\u5834\u5408\u3001Push\u901a\u77e5\u3092\u53d7\u4fe1\u3057\u3066\u3082\u30a2\u30d7\u30ea\u304c\u8d77\u52d5\u3067\u304d\u306a\u3044\u305f\u3081\u30a2\u30d7\u30ea\u304b\u3089\u901a\u77e5\u3092\u51fa\u3059\u306a\u3069\u306e\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u8d77\u3053\u3059\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002<br \/>\n\u307e\u305f\u3001\u3053\u306e\u5834\u5408\u3067\u3059\u304cBigQuery\u306efcm\u306e\u30a4\u30d9\u30f3\u30c8\u3092\u898b\u3066\u307f\u308b\u3068<code>MESSAGE_DELIVERED<\/code>\u306b\u306a\u3063\u3066\u3044\u308b\u3068\u601d\u308f\u308c\u307e\u3059\u3002<\/p>\n<p>\u307b\u3068\u3093\u3069\u304c\u30e1\u30fc\u30ab\u30fc\u304c\u5b9f\u88c5\u3057\u3066\u3044\u308b\u7701\u96fb\u529b\u30e2\u30fc\u30c9\u304c\u95a2\u4fc2\u3057\u3066\u3044\u308b\u5834\u5408\u304c\u591a\u3044\u3068\u601d\u308f\u308c\u307e\u3059\u3002<\/p>\n<h3>\u305d\u308c\u3067\u3082Push\u304c\u5c4a\u304b\u306a\u3044\u30fb\u30fb\u30fb<\/h3>\n<p>\u305d\u308c\u3067\u3082Push\u304c\u5c4a\u304b\u306a\u3044\u3053\u3068\u304c\u3042\u308a\u307e\u3057\u305f\u3002<br \/>\n\u529b\u4e0d\u8db3\u3067\u539f\u56e0\u306f\u308f\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002<br \/>\n\u30ed\u30b0\u3092\u898b\u308b\u9650\u308a\u3067\u306f\u30a4\u30d9\u30f3\u30c8\u304c<code>MESSAGE_DELIVERED<\/code>\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u7aef\u672b\u304b\u3089\u30a2\u30d7\u30ea\u306b\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u914d\u4fe1\u3055\u308c\u305f\u5f62\u8de1\u304c\u3042\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002<br \/>\n\u3053\u306e\u90e8\u5206\u306f\u5f15\u304d\u7d9a\u304d\u8abf\u67fb\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u7279\u306bPush\u30e1\u30c3\u30bb\u30fc\u30b8\u306f\u5c4a\u304b\u306a\u3044\u3068\u30e6\u30fc\u30b6\u30fc\u306b\u30b9\u30c8\u30ec\u30b9\u3092\u4e0e\u3048\u308b\u8981\u56e0\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\nBigQuery\u306b\u30c7\u30fc\u30bf\u3092\u6d41\u3059\u3053\u3068\u3067\u3042\u308b\u7a0b\u5ea6\u7279\u5b9a\u306f\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\nDoze\u30e2\u30fc\u30c9\u306f\u5931\u793c\u306a\u304c\u3089\u7591\u3063\u3066\u3044\u305f\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u81ea\u5206\u306e\u691c\u8a3c\u7d50\u679c\u3067\u306f\u554f\u984c\u304c\u3042\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002<br \/>\n\u305d\u308c\u3088\u308a\u3082MVNO\u4f7f\u7528\u6642\u306e\u307b\u3046\u304c\u3088\u308a\u9855\u8457\u306b\u73fe\u8c61\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<br \/>\nPush\u901a\u77e5\u304c\u5c4a\u304b\u306a\u3044\u554f\u984c\u306f\u975e\u5e38\u306b\u8ffd\u8de1\u304c\u96e3\u3057\u3044\u90e8\u5206\u3082\u3042\u308b\u306e\u3067\u3059\u304c\u3001\u3053\u306e\u8a18\u4e8b\u304c\u304a\u5f79\u306b\u305f\u3066\u308b\u3068\u5e78\u3044\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u3001\u81ea\u5206\u304c\u4f1a\u793e\u3067\u4f5c\u3063\u3066\u3044\u308b\u30a2\u30d7\u30ea\u306fPush\u901a\u77e5\u304c\u5c4a\u304b\u306a\u3044\u3068\u30b5\u30fc\u30d3\u30b9\u304c\u6210\u308a\u7acb\u305f\u306a\u3044\u91cd\u8981\u306a\u901a\u77e5\u3068\u306a\u3063\u3066\u304a\u308a\u307e\u3059\u3002 \u57fa\u672c\u7684\u306bFirebase Cloud Messaging(FCM)\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002 \u5b9a\u671f\u7684 &#8230; <\/p>\n","protected":false},"author":1,"featured_media":2075,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[84],"tags":[],"views":27642,"_links":{"self":[{"href":"https:\/\/www.beeete2.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2310"}],"collection":[{"href":"https:\/\/www.beeete2.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.beeete2.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.beeete2.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.beeete2.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2310"}],"version-history":[{"count":9,"href":"https:\/\/www.beeete2.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2310\/revisions"}],"predecessor-version":[{"id":2497,"href":"https:\/\/www.beeete2.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2310\/revisions\/2497"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.beeete2.com\/blog\/index.php?rest_route=\/wp\/v2\/media\/2075"}],"wp:attachment":[{"href":"https:\/\/www.beeete2.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2310"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.beeete2.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2310"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.beeete2.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2310"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}