Add "Firebase Cloud Messaging" developer service entry
"Firebase Cloud Messaging" is the new service that will replace "Google
Cloud Messaging" moving forward.
Bug: http://b.android.com/232616
Test: N/A, services are not tested and code will be going away within a few
versions.
Change-Id: Idbafdca156505aafdaffa930159824ea31c1d734
(cherry picked from commit 4126093581a2027a1ddab1b8f5b5c032510f92e9)
diff --git a/resources/cloud_messaging/logo_fcm_color_2x_web_32dp.png b/resources/cloud_messaging/logo_fcm_color_2x_web_32dp.png
new file mode 100644
index 0000000..eff15c6
--- /dev/null
+++ b/resources/cloud_messaging/logo_fcm_color_2x_web_32dp.png
Binary files differ
diff --git a/resources/cloud_messaging/recipe.xml b/resources/cloud_messaging/recipe.xml
new file mode 100644
index 0000000..501f920
--- /dev/null
+++ b/resources/cloud_messaging/recipe.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0"?>
+<recipe>
+ <dependency mavenUrl="com.google.firebase:firebase-messaging:${google.play.version}"/>
+</recipe>
diff --git a/resources/cloud_messaging/service.xml b/resources/cloud_messaging/service.xml
new file mode 100644
index 0000000..07aa0e2
--- /dev/null
+++ b/resources/cloud_messaging/service.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<service
+ format="1"
+ category="Notifications"
+ name="Firebase Cloud Messaging"
+ id="firebase_cloud_messaging"
+ description="Allows you to send and receive data between your server and your users' devices. Open up the Firebase assistant under the Tools menu for more options."
+ learnMore="https://firebase.google.com/docs/cloud-messaging/"
+ icon="logo_fcm_color_2x_web_32dp.png"
+ execute="recipe.xml">
+</service>
diff --git a/resources/google_service_bundle.xml b/resources/google_service_bundle.xml
index 888b5c0..fa29ecb 100644
--- a/resources/google_service_bundle.xml
+++ b/resources/google_service_bundle.xml
@@ -25,6 +25,12 @@
<resource>recipe.xml</resource>
<resource>logo_admob_color_2x_web_32dp.png</resource>
</service>
+ <service name="Firebase Cloud Messaging"
+ resourceRoot="/cloud_messaging">
+ <resource>service.xml</resource>
+ <resource>recipe.xml</resource>
+ <resource>logo_fcm_color_2x_web_32dp.png</resource>
+ </service>
<service name="Identity"
resourceRoot="/identity">
<resource>service.xml</resource>