Push notification auto opt out

Avatar

Avatar
Validate 1
Level 1
attrdata-shenli
Level 1

Like

1 like

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
attrdata-shenli
Level 1

Like

1 like

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
attrdata-shenli
Level 1

27-05-2019

The Android app I'm working on has Adobe Mobile Services SDK4 implemented and push notification was set up for it.

Push notification is working fine, however occasionally I run into the trouble of not receiving push notifications. When I check the logs in Charles, I noticed that sometimes there's a lifecycle call being sent from the SDK that opts me out.

1760608_pastedImage_5.png

Questions is, what could be the trigger of causing this lifecycle call which is sending push.optIn as 'False'? On app reinstall, a lifecycle call that sends push.optIn as 'True' is triggered and I'm able to receive push notification again.

In the ADBMobileConfig.json, "privacyDefault" was also set as "optedin".

Did not encounter this issue in iOS.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Employee
Jen_Andrews
Employee

Likes

57 likes

Total Posts

61 posts

Correct reply

36 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile

Avatar
Validate 1
Employee
Jen_Andrews
Employee

Likes

57 likes

Total Posts

61 posts

Correct reply

36 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
Jen_Andrews
Employee

29-05-2019

attrdata-shenlitan​,

This hit is sent when the below app code method is called. 

Config.setPushIdentifier(token);

For example, in order to designate that a user has opted-out of push, you would call `Config.setPushIdentifier(null);`  and for true it would be the token.

Jen

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
Level 1
attrdata-shenli
Level 1

Like

1 like

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
attrdata-shenli
Level 1

Like

1 like

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
attrdata-shenli
Level 1

29-05-2019

Thanks Jen!