I'm trying to use FCM to send myself some monitoring data. I already implemented a working solution based on the quick starts but because I just want to provide a way to receive notifications, my app is completely useless. I know I can just remove
<activity android:name=".Notifications" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
From the manifest to get an app without Launcher, like a background service. Doing so seems to desactivate FCM.
The real question is :
Can I use FCM without activity, by just implementing services ?