google_places_sdk_plus_ios 0.3.6
google_places_sdk_plus_ios: ^0.3.6 copied to clipboard
The iOS implementation of Flutter plugin for google places sdk
0.3.6 #
- Fix:
ratinganduserRatingsTotalstill returned0/0.0on some places — changed check fromuserRatingsTotal == 0to direct value checks (rating > 0,userRatingsTotal > 0)
0.3.5 #
- Fix:
ratinganduserRatingsTotalreturned0instead ofnullwhen a place has no ratings, causing inconsistency with Android
0.3.4 #
- Use UUID for photo references instead of incrementing counter
- Clear photo metadata cache on
deinitialize() - Validate coordinate ranges, radius, and photo dimensions — return
FlutterErrorfor invalid values
0.3.3 #
- Remove all
print()debug statements from native plugin - Fix PriceLevel serialization to return string values matching Android (e.g.
"PRICE_LEVEL_MODERATE"instead of raw int2) - Fix error codes: autocomplete now returns
API_ERROR_AUTOCOMPLETEand fetchPlace returnsAPI_ERROR_PLACE(both previously returned genericAPI_ERROR) - Replace force unwraps (
as!) with safeguard letchecks that returnFlutterErrorinstead of crashing - Fix implicitly unwrapped optional return type on
getSessionToken()
0.3.2 #
- Fix: session token was not cleared after
fetchPlace(), causing subsequent autocomplete searches to reuse a stale token and break session billing boundaries. The token is now invalidated after everyfetchPlace()call.
0.3.1 #
- Fix: Corrected Swift generated header import in
FlutterGooglePlacesSdkIosPlugin.m— was referencing old module nameflutter_google_places_sdk_iosinstead ofgoogle_places_sdk_plus_ios, causing'flutter_google_places_sdk_ios-Swift.h' file not foundbuild error.
0.3.0 #
Initial release of google_places_sdk_plus_ios.
- Full Google Places API (New) support — exclusively targets the new API
- Removed
useNewApiparameter frominitialize() - Migrated all iOS API calls from Legacy to New Places API:
findAutocompletePredictionsusesGMSAutocompleteRequest+fetchAutocompleteSuggestionsfetchPlaceusesGMSFetchPlaceRequest+fetchPlacewithplacePropertiesfetchPlacePhotousesGMSFetchPhotoRequest+fetchPhotowith configurablemaxSize
- Implements
searchByTextandsearchNearby - Implements
updateSettingsfor runtime API key and locale changes - Serializes all new Place fields including reviews, service attributes, and photo metadata
- Swift Package Manager (SPM) support via
Package.swift
Forked from flutter_google_places_sdk by Matan Shukry.