Comments (3)
Hi @realvotum , thank you for reporting the issue.
As you said, the earlier versions are OK in both production and debug apps yet Flutter and Huawei Maps changed significantly since then. For now, you may change com.huawei.hms.flutter.map.map.MapController.java
file's, void init() function's, HmsMap.RESUMED case as described below:
...
case HmsMap.RESUMED:
//Comment out this two lines.
//mapView.onCreate(null);
//mapView.onStart();
mapView.onResume();
break;
...
After changing the plugin file, please do not forget to Invalidate Caches and Restart the project using Android Studio.
Also, the 1.22 Version of Flutter is released recently. It is advised to use Flutter Version 1.20 since it's the version that Huawei Map Flutter Plugin is developed.
The mentioned issue is in our update scope, we will provide a permanent solution with our next release.
from hms-flutter-plugin.
@SerdarCanDev good job with those comment-outs, it works this way, thanks 👍
I will wait for the official fix in the next release of the plugin then. Do you have it already scheduled?
Also, shall I keep the issue open? Or do I close it? Since the working solution is already provided.
from hms-flutter-plugin.
We couldn't schedule the next release yet, but please follow the pub.dev for the latest releases.
from hms-flutter-plugin.
Related Issues (20)
- AGP8 upgrade
- CRITICAL : the future initFusedLocationService() never end HOT 9
- huawei_push GetToken returned null HOT 5
- [Huawei_push][Bug] cancelNotificationsWithId is not await or return any result
- Flutter Huawei FIDO: unable to decode FIDO registration response
- 集成huawei_location 提示FusedLocationService is not initialized HOT 2
- Huawei analytics does not work on Flutter HOT 1
- Unexpected CFBundleExecutable Key
- Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager.
- UserHandle data is missing in Flutter FIDO Authentication result HOT 5
- Geocoding Service Error
- [huawei_map] Clicking on Marker Causes setZIndex:Failure win parameter HOT 1
- 有无支持基于鸿蒙的Flutter适配的计划
- Getting MissingPluginException when using with Huawei Location inside workmanager
- [huawei_ads] Previous integration broken, error during build
- com.huawei.hms.flutter.iap.MethodCallHandlerImpl.onActivityResult(MethodCallHandlerImpl.java:14)
- 用什么插件集成CheckAppUpdate?没有特定的插件 HOT 1
- Padding Oracle
- 6.12.0+302 didn't compile
- The map gets displayed for a short extra time when navigating to another page, and when navigating back from the map page
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hms-flutter-plugin.