Unact / yandex_mapkit

Flutter implementation of YandexMapkit
MIT License
132 stars 151 forks source link

Yandex Search #370

Open khorunaliyevtursunali opened 2 weeks ago

khorunaliyevtursunali commented 2 weeks ago

MissingPluginException(No implementation found for method initSession on channel yandex_mapkit/yandex_search) I'm using Dart 3.3.0 and Flutter 3.19.2 YandexMapKit 4.0.2 Yandex map opened and markers working perfectly But when I using YandexSearch.searchByText is not working

batya3000 commented 1 week ago

any updates? almost the same error MissingPluginException(No implementation found for method initSession on channel yandex_mapkit/yandex_driving)

in YandexDriving.requestRoutes

DCrow commented 1 week ago

Hello!

Have you set your desired variant correctly? In android/gradle.properties for Android and in ios/Podfile for iOS.

By default lite variant is used, which does not implement YandexDriving, YandexBycicle, YandexPedestrian, YandexSearch, YandexSuggest.

batya3000 commented 1 week ago

my bad. thanks, now it works)

khorunaliyevtursunali commented 1 week ago

@DCrow My variant gradle.properties -> yandexMapkit.variant=full build.gradle -> implementation 'com.yandex.android:maps.mobile:4.2.2-full' in dependencies But still has error