- Breaking Change: API 33 support has been added.
- Breaking Change: Added the optional
routePolicy
parameter to thecreate
method of theSearchService
class.
- Optimized the internal memory.
- Modified the internal structure of the plugin. Please use import 'package:huawei_site/huawei_site.dart'; not to get any errors.
- Deleted the capability of prompting users to install HMS Core (APK).
- Added the icon attribute to the Poi object.
- Added the countries attribute to TextSearchRequest and QuerySuggestionRequest, which is used to pass multiple country or region codes.
- [Breaking Change] Migrated library to null safety.
- Updated HMSLogger.
- Removed the deprecated setPoliticalView method.
- The error which raised when deserializing NaN values is fixed.
- SearchService can be initialized by calling create named constructor.
- SearchService is now requires apiKey parameter to be set.
- SearchIntent is now requires apiKey parameter to be set.
- Added the autocomplete API.
- Added the tertiaryAdminArea attribute to AddressDetail.
- Added the utcOffset attribute to the Site object returned by the place detail search API, and added the priceLevel, businessStatus, and openingHours attributes to the Poi object.
- Added the prediction attribute to the Site object returned by the place search suggestion and autocomplete APIs.
- Added the optional parameter children to the keyword search, place detail search, place search suggestion, widget, and autocomplete APIs. The parameter indicates whether to return the child node.
- Added the childrenNodes attribute to the Poi object.
- Added the strictBounds attribute for NearbySearchRequest, indicating whether to strictly restrict place search in the bounds specified by location and radius.
- Added the strictBounds attribute for QuerySuggestionRequest and SearchFilter, indicating whether to strictly restrict place search in the bounds specified by Bounds.
- Deprecated the setPoliticalView method in the TextSearchRequest, NearbySearchRequest, DetailSearchRequest, QueryAutocompleteRequest, QuerySuggestionRequest, and SearchFilter classes.
- Added the siteSearchActivity method.
- Added the SearchIntent class to start site search activity.
- Added the SearchFilter class, which is used in a SearchIntent object as filter.
- Added the streetNumber attribute in the AddressDetail class, which is used for setting or obtaining the street number of a place.
- Added the HwLocationType class, which contains constants of Huawei POI types.
- Added the enableLogger and disableLogger methods.
- Initial release.