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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Some Android devices being registered target platform Apple

JAElliott
Level 2
Level 2

I'm working with multiple app dev teams and some of them are reporting that some Android devices being registered target platform Apple.

 

I believe this is something code related because my application registers fine on the same Launch property, but I wondered if anyone with technical knowledge of this process might be able to explain what might be the issue here.

 

See top line below...

 

image.png

5 Replies
Ryan_Morales
Employee
Employee

Hi @JAElliott ,

The target platform that a device has on ACS is determined by the ACP SDK which is running on the device (Android or iOS). I remember in a previous post you had mentioned that collectPii had been used to register devices on ACS. Has the Launch rule using collectPii to register devices been disabled? One possible cause for this issue is that you may have some Android devices which are incorrectly triggering the collectPii rule setup for registering iOS devices.

 

Additionally, it would be very helpful if you could provide some debug logs from devices that are showing the issue.

 

Thanks,

Ryan

JAElliott
Level 2
Level 2
The collectPii workaround has been disabled now that the backend problems have been resolved and the Launch rule disabled passing token via contextData.
JAElliott
Level 2
Level 2
Ok, it turns out there is one potential Adobe back end problem, and one dev issue which was causing the same end result.
JAElliott
Level 2
Level 2

It turned out there were 2 issues causing this same end result. 1 was front end (dev), 1 seems to be an Adobe back end issue.

 

1 - Front end

Developer forgot to put the lifecycle start code into their app...

@Override
public void onResume() {
super.onResume();
MobileCore.setApplication(getApplication());
MobileCore.lifecycleStart(null);
}

@Override
public void onPause() {
super.onPause();
MobileCore.lifecyclePause();
}

When lifecycle start was included the device was registered correctly.

 

 

2 - Back end issue Privacy

Both developers of different Android apps discovered that if we configure Launch to default to privacy status UNKNOWN, then within the app when consent is given change it to OPT_IN, the devices get registered incorrectly.
If we default the privacy status to OPT_IN they get registered correctly.

 

I will need to raise this with Adobe support.

jantzen_belliston-Adobe
Level 10
Level 10
Do any of the answers below answer your initial question? If so, can you select one of them as the correct answer? If none of the answers already provided answer your question, can you provide additional information to better help the community solve your question?