Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Android Push Notification Deep Link Tracking

Avatar

Avatar
Validate 1
Level 1
sampadak8097139
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
sampadak8097139
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile
sampadak8097139
Level 1

26-09-2017

Hi Adobe Mobile Engineers,

I have following scenario.

I'm receiving push notification in 3 different situations.

1- App is in foreground

2- App is in background

3- App is force closed

I have followed collectLifecycleData and all that documentation.

The sdk tracks analytics for deep link in 1st and 2nd case, although not in the 3rd case.

Basically,

if(MobileConfig.getInstance().mobileUsingAnalytics()) {

  AnalyticsTrackInternal.trackInternal("AdobeLink", cData1, StaticMethods.getTimeSince1970());

}

Execution will not enter the if block in 3rd case. Note that my Notification Receiver activity starts collecting lifecycle data as the first statement in onCreate().

and that is where I'm calling it to track the deep link url after that.

View Entire Topic

Avatar

Avatar
Validate 1
Level 1
sampadak8097139
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
sampadak8097139
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile
sampadak8097139
Level 1

26-09-2017

We have a gateway for the sdk in the app, which was setting the config. In this case, since the sdk was tracking analytics , the gateway to set the config was never called. Fixed that and it worked in force closed case too.