s.abort equivalent for mobile SDK | Community
Skip to main content
Pradeep-Jaiswal
February 18, 2025
Solved

s.abort equivalent for mobile SDK

  • February 18, 2025
  • 1 reply
  • 664 views

for mobile app implementation, is there equivalent for s.abort ? so if we need to not send adobe pixel, even if native app developer sends trackState/trackAction ?

 

UseCase is to urgently suppress some of the trackState/trackAcion calls which are no longer required, and we cant wait for the next app release to suppress the trackState/trackAction calls. We wanted to quickly handle it through adobe launch property.

Best answer by Pradeep-Jaiswal

It took little longer for me to respond here, but I built similar solution before your message.

You can review here https://www.linkedin.com/feed/update/urn:li:activity:7297729900529008641/

 

1 reply

Harveer_SinghGi1
Community Advisor
Community Advisor
February 20, 2025

Hi @pradeep-jaiswal ,

That is an interesting use case. I wonder if Modify Data action from Mobile Core extension can be used to achieve this, I haven't tried it though.

Maybe you can do a POC by creating a rule with below components,

  • Events: Set these two events for the rule
    • Mobile Core:Track Action:Actions exists
    • Mobile Core:Track State:State exists
  • Conditions: Add logic to identify calls you want to suppress
  • Actions: Add Mobile Core:Modify Data action to the rule to return false/null (using the JSON template) for the request payload similar to returning false in onBeforeEventSend of AEP Web SDK

Cheers!

Pradeep-Jaiswal
Pradeep-JaiswalAuthorAccepted solution
February 21, 2025

It took little longer for me to respond here, but I built similar solution before your message.

You can review here https://www.linkedin.com/feed/update/urn:li:activity:7297729900529008641/