Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ jobs:
yarn turbo run build:android --cache-dir="${{ env.TURBO_CACHE_DIR }}"

build-ios:
runs-on: macos-latest
runs-on: macos-26
env:
XCODE_VERSION: 16.2
XCODE_VERSION: 26.x
TURBO_CACHE_DIR: .turbo/ios
steps:
- name: Checkout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ import com.yandex.mapkit.map.CameraUpdateReason
class CameraPositionChangeEvent(
surfaceId: Int,
viewTag: Int,
private val eventName: String,
private val name: String,
private val cameraPosition: CameraPosition,
private val reason: CameraUpdateReason,
private val finished: Boolean,
) : Event<CameraPositionChangeEvent>(surfaceId, viewTag) {

override fun getEventName(): String = eventName
override fun getEventName(): String = name

override fun getEventData(): WritableMap =
Arguments.createMap().apply {
Expand Down
4 changes: 2 additions & 2 deletions android/src/main/java/com/yamaplite/Events/PressEvent.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ import com.yandex.mapkit.geometry.Point
class PressEvent(
surfaceId: Int,
viewTag: Int,
private val eventName: String,
private val name: String,
private val point: Point,
) : Event<PressEvent>(surfaceId, viewTag) {

override fun getEventName(): String = eventName
override fun getEventName(): String = name

override fun getEventData(): WritableMap =
Arguments.createMap().apply {
Expand Down
6 changes: 3 additions & 3 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1679,7 +1679,7 @@ PODS:
- React-perflogger (= 0.79.2)
- React-utils (= 0.79.2)
- SocketRocket (0.7.1)
- YamapLite (1.0.0):
- YamapLite (1.0.2):
- DoubleConversion
- glog
- hermes-engine
Expand Down Expand Up @@ -2004,10 +2004,10 @@ SPEC CHECKSUMS:
React-timing: a90f4654cbda9c628614f9bee68967f1768bd6a5
React-utils: a612d50555b6f0f90c74b7d79954019ad47f5de6
ReactAppDependencyProvider: 04d5eb15eb46be6720e17a4a7fa92940a776e584
ReactCodegen: a204c3379029e4116b1eda5c1d3a17926db49003
ReactCodegen: c63eda03ba1d94353fb97b031fc84f75a0d125ba
ReactCommon: 76d2dc87136d0a667678668b86f0fca0c16fdeb0
SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748
YamapLite: 69b4961e1f7ebf84556009927fb93bad039ce77f
YamapLite: 944f7a153a1f8bb5cecd0492200779dfc2fcd320
YandexMapsMobile: e6443bf72724581ec9f884abdbae254273bc2912
Yoga: c758bfb934100bb4bf9cbaccb52557cee35e8bdf

Expand Down
4 changes: 4 additions & 0 deletions ios/ClusteredYamapLiteView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@
#import <react/renderer/components/YamapLiteViewSpec/RCTComponentViewHelpers.h>

#import "RCTFabricComponentsPlugins.h"
#if __has_include("YamapLite/YamapLite-Swift.h")
#import "YamapLite/YamapLite-Swift.h"
#else
#import "YamapLite-Swift.h"
#endif
#import <YandexMapsMobile/YMKMapKitFactory.h>

using namespace facebook::react;
Expand Down
4 changes: 4 additions & 0 deletions ios/YamapLiteCircleView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@
#import <react/renderer/graphics/Color.h>

#import "RCTFabricComponentsPlugins.h"
#if __has_include("YamapLite/YamapLite-Swift.h")
#import "YamapLite/YamapLite-Swift.h"
#else
#import "YamapLite-Swift.h"
#endif

using namespace facebook::react;

Expand Down
4 changes: 4 additions & 0 deletions ios/YamapLiteMarkerView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
#import <React/RCTConversions.h>

#import "RCTFabricComponentsPlugins.h"
#if __has_include("YamapLite/YamapLite-Swift.h")
#import "YamapLite/YamapLite-Swift.h"
#else
#import "YamapLite-Swift.h"
#endif
#import <react/renderer/components/YamapLiteViewSpec/ComponentDescriptors.h>
#import <react/renderer/components/YamapLiteViewSpec/EventEmitters.h>
#import <react/renderer/components/YamapLiteViewSpec/Props.h>
Expand Down
4 changes: 4 additions & 0 deletions ios/YamapLitePolygonView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@

#import "RCTFabricComponentsPlugins.h"
#import "Utils/PointsEqual.h"
#if __has_include("YamapLite/YamapLite-Swift.h")
#import "YamapLite/YamapLite-Swift.h"
#else
#import "YamapLite-Swift.h"
#endif
#import <YandexMapsMobile/YMKMapKitFactory.h>

using namespace facebook::react;
Expand Down
4 changes: 4 additions & 0 deletions ios/YamapLitePolylineView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@

#import "RCTFabricComponentsPlugins.h"
#import "Utils/PointsEqual.h"
#if __has_include("YamapLite/YamapLite-Swift.h")
#import "YamapLite/YamapLite-Swift.h"
#else
#import "YamapLite-Swift.h"
#endif
#import <YandexMapsMobile/YMKMapKitFactory.h>

using namespace facebook::react;
Expand Down
4 changes: 4 additions & 0 deletions ios/YamapLiteView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@
#import <react/renderer/components/YamapLiteViewSpec/RCTComponentViewHelpers.h>

#import "RCTFabricComponentsPlugins.h"
#if __has_include("YamapLite/YamapLite-Swift.h")
#import "YamapLite/YamapLite-Swift.h"
#else
#import "YamapLite-Swift.h"
#endif

using namespace facebook::react;

Expand Down
4 changes: 4 additions & 0 deletions ios/YamapUtils.mm
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
#import <React/RCTBridge.h>
#import <React/RCTUIManager.h>

#if __has_include("YamapLite/YamapLite-Swift.h")
#import "YamapLite/YamapLite-Swift.h"
#else
#import "YamapLite-Swift.h"
#endif
#import <YandexMapsMobile/YMKMapKitFactory.h>
#import <YandexMapsMobile/YRTI18nManager.h>

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@exterio/react-native-yamap-lite",
"version": "1.0.1",
"version": "1.0.3",
"description": "A lightweight wrapper for the Yandex MapKit SDK",
"main": "./lib/module/index.js",
"module": "./lib/module/index.js",
Expand Down
Loading