Commit 633d5e78 authored by 7c00's avatar 7c00

移除 android Navigation#onReady 事件

parent 8445e74f
......@@ -72,7 +72,6 @@ class AMapNavigation(context: ThemedReactContext) :
}
override fun onInitNaviSuccess() {
sendEvent("onReady")
}
override fun onServiceAreaUpdate(p0: Array<out AMapServiceAreaInfo>?) {
......
......@@ -45,7 +45,6 @@ class AMapNavigationManager : ViewGroupManager<AMapNavigation>() {
override fun getExportedCustomDirectEventTypeConstants(): Map<String, Any> {
return mapOf(
"onReady" to mapOf("registrationName" to "onReady"),
"onCalculateRouteSuccess" to mapOf("registrationName" to "onCalculateRouteSuccess"),
"onCalculateRouteFailure" to mapOf("registrationName" to "onCalculateRouteFailure")
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment