Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Push Notifications No Payload #15

Open
vincenzoarieta93 opened this issue Jun 28, 2019 · 0 comments
Open

Push Notifications No Payload #15

vincenzoarieta93 opened this issue Jun 28, 2019 · 0 comments

Comments

@vincenzoarieta93
Copy link

vincenzoarieta93 commented Jun 28, 2019

Hi. I've integrated parse-server-sns-adapter and configured AWS SNS, but I still haven't managed to get it working. In fact, although messages are being sent from AWS correctly, my Android app receive push notifications with no payload.

My Android app's Manifest is the following one:

<service
	android:name="com.parse.fcm.ParseFirebaseInstanceIdService"
	android:exported="true">
	<intent-filter>
		<action android:name="com.google.firebase.INSTANCE_ID_EVENT" />
	</intent-filter>
</service>

<service android:name="com.parse.fcm.ParseFirebaseMessagingService">
	android:name=".push.MyFirebaseService"
	android:exported="false">
	 <intent-filter>
		 <action android:name="com.google.firebase.MESSAGING_EVENT" />
	 </intent-filter>
 </service>

<receiver
	android:name=".push.WSParsePushBroadcastReceiver"
	android:exported="false">
	<intent-filter>
		<action android:name="com.parse.push.intent.RECEIVE" />
		<action android:name="com.parse.push.intent.DELETE" />
		<action android:name="com.parse.push.intent.OPEN" />
	</intent-filter>
</receiver>

where WSParsePushBroadcastReceiver is a subclass of ParsePushBroadcastReceiver. Is that right? Or do I have to use other Services handling incoming push notifications? Is so which one?

Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant