fluttify-project / amap_location_fluttify

高德地图 定位组件 Flutter插件

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GEOFENCE_BROADCAST_ACTION 广播没有注销

Heipi opened this issue · comments

commented

插件版本
0.25.0
遇到bug的平台(Android/iOS)
Android
描述bug
Activity com.ai.assistant.ContainFragmentActivity has leaked IntentReceiver me.yohom.amap_location_fluttify.sub_handler.custom.SubHandlerCustom$1@e4ee922 that was originally registered here. Are you missing a call to unregisterReceiver()?
android.app.IntentReceiverLeaked: Activity com.ai.assistant.ContainFragmentActivity has leaked IntentReceiver me.yohom.amap_location_fluttify.sub_handler.custom.SubHandlerCustom$1@e4ee922 that was originally registered here. Are you missing a call to unregisterReceiver()?
at android.app.LoadedApk$ReceiverDispatcher.(LoadedApk.java:1669)
at android.app.LoadedApk.getReceiverDispatcher(LoadedApk.java:1446)
at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1614)
at android.app.ContextImpl.registerReceiver(ContextImpl.java:1587)
at android.app.ContextImpl.registerReceiver(ContextImpl.java:1575)
at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:627)
at me.yohom.amap_location_fluttify.sub_handler.custom.SubHandlerCustom.getSubHandler(SubHandlerCustom.java:38)
at me.yohom.amap_location_fluttify.AmapLocationFluttifyPlugin.onAttachedToActivity(AmapLocationFluttifyPlugin.java:100)
复现步骤

期望行为

截图

flutter doctor

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.