refreshFindMyFriends()
Refreshes and returns the latest Find My location data for all friends who are sharing their location with you.Returns
An array of location items for all friends sharing their location
FindMyLocationItem
Represents location data for a friend in the Find My network.Fields
The phone number or email address of the person sharing their locationExample:
"+1234567890"A tuple containing [latitude, longitude] coordinatesExample:
[37.7749, -122.4194]Full address of the locationExample:
"123 Main St, San Francisco, CA 94102, USA"Shortened address of the locationExample:
"123 Main St"Additional location context or description
Location name or labelExample:
"Home" or "Work"Unix timestamp (in milliseconds) when the location was last updatedExample:
1709438400000Whether a location refresh is currently in progress
The quality/type of location data:
legacy: Older location datalive: Real-time location trackingshallow: Basic location data
Unix timestamp (in milliseconds) when the location data expires (for live locations)Example:
1709442000000Example
Refresh Find My data and check if a specific contact is sharing their location:Related Methods
getFindMyFriends()- Get cached location data without refreshinggetLocationForHandle(handle)- Get location for a specific handleisHandleSharingLocation(handle)- Check if a handle is sharing their location
Location data requires iCloud to be signed in on the BlueBubbles server and Find My Friends to be enabled.