r/HMSCore • u/NoGarDPeels • Aug 07 '23
News & Events June Updates of HMS Core Plugins
HMS Core provided the following updates in June for Flutter, React Native, Cordova, and Xamarin frameworks:
| Framework | Plugin | Native Kit Version | Description |
|---|---|---|---|
| Flutter | Account | Account 6.11.0.300 | - Deprecated familyName and givenName in the AuthAccount class. - Resolved a performance-related issue to improve the service reliability. You do not need to do anything. - Updated targetSdkVersion to 33, to make sure that your app can run properly on Android 13. |
| Availability | Base SDK 6.11.0.301 | - Updated targetSdkVersion to 33. - Updated the HMS Base SDK to 6.11.0.301. | |
| Location | Location 6.11.0.301 | - Optimized the scenario where no GNSS location is returned. - Added the logic of checking whether the value is empty during coordinate conversion - Added error code 10206 for the geofence function, indicating that the geofence function is disabled. - Added PRIORITY_HIGH_ACCURACY_AND_INDOOR (location request type) to LocationRequest, which is used to check whether the location is an indoor location or a fused one. - Added the utility class LocationUtils for converting WGS84 coordinates into GCJ02 coordinates. - Added LonLat, which is a coordinate object returned after coordinate type conversion. - Modified getCoordinateType and setCoordinateType in HWLocation, and setCoordinateType in LocationRequest. - Modified the following APIs in FusedLocationProviderClient to support setting of the output coordinate type: · getLastLocationWithAddress(LocationRequest request) · requestLocationUpdates(LocationRequest request, LocationCallback callback, Looper looper) · requestLocationUpdatesEx(LocationRequest request, LocationCallback callback, Looper looper) - Adapted to Android 13, so that your app can use related functions normally when running on Android 13. - Optimized callback parameters of the disableBackgroundLocation and enableBackgroundLocation(int id, Notification notification) methods in FusedLocationProviderClient. - Optimized AndroidManifest.xml in the Location SDK to ensure that the displayed version number is consistent with the integrated version number. Modified the naming rule of xxx**.properties** in the Location SDK to solve the integration conflict issue. | |
| React Native | Account | Account 6.11.0.300 | - Deprecated familyName and givenName in the AuthAccount class. - Resolved a performance-related issue to improve the service reliability. You do not need to do anything. |
| Availability | Base SDK 6.11.0.301 | - Updated targetSdkVersion to 33. Updated the HMS Base SDK to 6.11.0.301. | |
| Location | Location 6.11.0.301 | - Updated the device types supported by the geofence service. Updated the device types supported by the activity identification service. | |
| Cordova | Account | Account 6.11.0.300 | - Deprecated familyName and givenName in the AuthAccount class. - Resolved a performance-related issue to improve the service reliability. You do not need to do anything. Updated targetSdkVersion to 33, to make sure that your app can run properly on Android 13. |
| Availability | Base SDK 6.11.0.301 | - Updated targetSdkVersion to 33. Updated the HMS Base SDK to 6.11.0.301. | |
| Location | Location 6.11.0.301 | - Added support for Android API 33. - Added the convertCoord method for converting WGS84 coordinates into GCJ02 coordinates. - Added LonLat, which is a coordinate object returned after coordinate type conversion. - Added coordinateType in HWLocation and LocationRequest. - Optimized callback parameters of the disableBackgroundLocation and enableBackgroundLocation(int id, Notification notification) methods in FusedLocationProviderClient. - Added PRIORITY_HIGH_ACCURACY_AND_INDOOR (location request type) to LocationRequest, which is used to check whether the location is an indoor location or a fused one. - Updated the device types supported by the geofence service. Updated the device types supported by the activity identification service. | |
| Xamarin | Account | Account 6.11.0.300 | - Resolved a performance-related issue to improve the service reliability. Deprecated getFamilyName and getGivenName in the AuthAccount class. You are advised not to use these methods. |
| Location | Location 6.11.0.301 | - Added the utility class LocationUtils for converting WGS84 coordinates into GCJ02 coordinates. - Added LonLat, which is a coordinate object returned after coordinate type conversion. - Added PRIORITY_HIGH_ACCURACY_AND_INDOOR (location request type) to LocationRequest, which is used to check whether the location is an indoor location or a fused one. - Added error code 10206 for the geofence function, indicating that the geofence function is disabled. - Optimized callback parameters of the disableBackgroundLocation and enableBackgroundLocation(int id, Notification notification) methods in FusedLocationProviderClient. - Optimized AndroidManifest.xml in the Location SDK to ensure that the displayed version number is consistent with the integrated version number. - Modified the naming rule of xxx**.properties** in the Location SDK to solve the integration conflict issue. - Modified getCoordinateType and setCoordinateType in HWLocation, and setCoordinateType in LocationRequest. - Modified the following APIs in FusedLocationProviderClient to support setting of the output coordinate type: · getLastLocationWithAddress(LocationRequest request) · requestLocationUpdates(LocationRequest request, LocationCallback callback, Looper looper) · requestLocationUpdatesEx(LocationRequest request, LocationCallback callback, Looper looper) - Updated the device types supported by the activity identification service. Updated the device types supported by the geofence service. | |
HMS Core has provided plugins for many kits on multiple platforms for developers. Welcome to the website of HUAWEI Developers for more plugin information.
1
Upvotes