Skip to content

Add datePublished to location reports#231

Open
PoleTransformer wants to merge 1 commit intodchristl:devfrom
PoleTransformer:dev
Open

Add datePublished to location reports#231
PoleTransformer wants to merge 1 commit intodchristl:devfrom
PoleTransformer:dev

Conversation

@PoleTransformer
Copy link
Copy Markdown

@PoleTransformer PoleTransformer commented Mar 14, 2026

A couple days ago Apple stopped returning the datePublished from gateway.icloud.com/acsnservice/fetch. This is the current response:

{"results":[{"payload":"L2HBAA=","description":"found","id":"sAufoi8PJY=","statusCode":0}],"statusCode":"200"}

This breaks the client when parsing the json:

DateTime currentDate =
DateTime.fromMillisecondsSinceEpoch(result['datePublished']);

datePublished returned from the original request still take precedence if Apple is doing A/B testing.

Same issue reported biemster/FindMy#94 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant