Expand my Community achievements bar.

s.abort equivalent for mobile SDK

Avatar

Level 2

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.

2 Replies

Avatar

Level 9

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!

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/