Skip to content

Commit

Permalink
Update Android and iOS to 4.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
DCrow committed Oct 31, 2022
1 parent b33427b commit 1796c1b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ import YandexMapsMobile

### Initializing for Android

1. Add dependency `implementation 'com.yandex.android:maps.mobile:4.2.0-full'` to `android/app/build.gradle`
1. Add dependency `implementation 'com.yandex.android:maps.mobile:4.2.2-full'` to `android/app/build.gradle`
2. Add permissions `<uses-permission android:name="android.permission.INTERNET"/>` and `<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>` to `android/app/src/main/AndroidManifest.xml`
3. Add `import com.yandex.mapkit.MapKitFactory;` to `android/app/src/main/.../MainActivity.java`/`android/app/src/main/.../MainActivity.kt`
4. `MapKitFactory.setApiKey("YOUR_API_KEY");` inside method `onCreate` in `android/app/src/main/.../MainActivity.java`/`android/app/src/main/.../MainActivity.kt`
Expand All @@ -56,7 +56,7 @@ import YandexMapsMobile

```groovy
dependencies {
implementation 'com.yandex.android:maps.mobile:4.2.0-full'
implementation 'com.yandex.android:maps.mobile:4.2.2-full'
}
```

Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ android {
}

dependencies {
implementation 'com.yandex.android:maps.mobile:4.2.0-full'
implementation 'com.yandex.android:maps.mobile:4.2.2-full'
}
2 changes: 1 addition & 1 deletion example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@ flutter {
}

dependencies {
implementation 'com.yandex.android:maps.mobile:4.2.0-full'
implementation 'com.yandex.android:maps.mobile:4.2.2-full'
}
2 changes: 1 addition & 1 deletion ios/yandex_mapkit.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Pod::Spec.new do |s|
s.public_header_files = 'Classes/**/*.h'
s.static_framework = true
s.dependency 'Flutter'
s.dependency 'YandexMapsMobile', '4.2.0-full'
s.dependency 'YandexMapsMobile', '4.2.2-full'

s.ios.deployment_target = '12.0'
end

0 comments on commit 1796c1b

Please sign in to comment.