I'm using Salesforce mobile push alongside with Firebase Messaging.
Since I'm building the notifications manually on FirebaseMessagingService, I'd like to know if there's a public method to track the opening events.
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.Sign up to join this community
The Marketing Cloud Mobile Push SDKs support multiple push provider configurations. Take a look at the documentation for such https://salesforce-marketingcloud.github.io/MarketingCloudSDK-Android/trouble-shooting/multiple-push-sdks.html
The piece of the puzzle that's going to be missing for you is the
messageId if you're trying to track messages sent via Firebase in our system.
The troubleshooting docs might be helpful too https://salesforce-marketingcloud.github.io/MarketingCloudSDK-Android/trouble-shooting/trouble-shooting-push-setup.html
Additional Info (edits)
You can "wrap" your
PendingIntent that will collect analytics for the message, but this would require testing and validation on your part as this isn't a "recommended" approach (ref. https://salesforce-marketingcloud.github.io/MarketingCloudSDK-Android/javadocs/7.2/com.salesforce.marketingcloud.notifications/-notification-manager/redirect-intent-for-analytics.html)