fjxmlzn / FindMyHistory

Track your Apple devices and look up their past location, battery levels, and more
MIT License
308 stars 34 forks source link

Include (Find My) Friends in FindMyHistory #12

Open SandiyosDev opened 1 year ago

SandiyosDev commented 1 year ago

Could a optional feature be included to add Friends into the location history?

fjxmlzn commented 1 year ago

I think it does include friends' locations if you are able to see them in the FindMy App. Are you able to see the missing Friends' locations in the FindMy App?

SandiyosDev commented 1 year ago

I think it does include friends' locations if you are able to see them in the FindMy App. Are you able to see the missing Friends' locations in the FindMy App?

I did some digging and found that the location data for Find My Friends is stored in a JSON file at '~/Library/Caches/com.apple.findmy.fmfcore/FriendCacheData.data'. The syntax is a bit different than the JSON file used for Find My devices, so it would be great if support could be added for parsing this file and combining it with the existing data.

Also, I was forking it on my own and just testing out how I could parse that data (device based) to integrate it with a map platform. (Sorta like "location history" on google maps), still testing things out.

fjxmlzn commented 1 year ago

Thank you! Feel free to make a pull request on this feature!

alewine commented 1 year ago

@SGprooo Did you ever get this working? I'd be happy to take a look at whatever code you've done so far, and work to wrap it up.

durosity commented 1 year ago

@SGprooo Did you ever get this working? I'd be happy to take a look at whatever code you've done so far, and work to wrap it up.

Don't suppose you ever got anywhere with that did you? I'd love that functionality in here, it'd make certain things way more easy!