react-native-pointr 8.16.0 → 9.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/android/build.gradle +20 -11
- package/android/gradle.properties +3 -3
- package/android/src/main/AndroidManifestNew.xml +2 -9
- package/android/src/main/java/com/pointr/PTRMapWidgetCommandType.kt +1 -3
- package/android/src/main/java/com/pointr/PTRMapWidgetManager.kt +178 -394
- package/android/src/main/java/com/pointr/PointrModule.kt +36 -177
- package/ios/PTRMapWidgetContainerView.swift +247 -0
- package/ios/PTRMapWidgetManager-Bridging.m +59 -0
- package/ios/PTRMapWidgetManager.swift +242 -0
- package/ios/PTRNativeLibrary-Bridging.m +34 -0
- package/ios/PTRNativeLibrary.swift +337 -0
- package/ios/react-native-pointr-Bridging-Header.h +5 -0
- package/package.json +1 -1
- package/react-native-pointr.podspec +1 -1
- package/src/PTRCommand.ts +5 -4
- package/src/PTRMapWidgetUtils.ts +13 -13
- package/android/.settings/org.eclipse.buildship.core.prefs +0 -2
- package/android/src/main/AndroidManifest.xml +0 -12
- package/android/src/main/java/com/pointr/PointrMapWidgetActivity.kt +0 -485
- package/android/src/main/res/layout/pointr_map_widget_activity_layout.xml +0 -16
- package/ios/PTRMapWidgetContainerView.h +0 -19
- package/ios/PTRMapWidgetContainerView.m +0 -281
- package/ios/PTRMapWidgetManager.m +0 -256
- package/ios/PTRNativeLibrary.h +0 -11
- package/ios/PTRNativeLibrary.m +0 -159
- package/ios/PointrApp.swift +0 -636
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [8.16.1]
|
|
8
|
+
|
|
9
|
+
## Updates
|
|
10
|
+
|
|
11
|
+
- iOS fix for `import react_native_pointr-Swift`
|
|
12
|
+
- iOS fix `pod install` issue
|
|
13
|
+
- Android Java compatibility increased to version 11
|
|
14
|
+
|
|
7
15
|
## [8.16.0]
|
|
8
16
|
|
|
9
17
|
### Updates
|
package/android/build.gradle
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
buildscript {
|
|
2
2
|
// Buildscript is evaluated before everything else so we can't use getExtOrDefault
|
|
3
|
-
def kotlin_version = rootProject.ext.has("kotlinVersion") ? rootProject.ext.get("kotlinVersion") :
|
|
3
|
+
def kotlin_version = rootProject.ext.has("kotlinVersion") ? rootProject.ext.get("kotlinVersion") : "1.9.24"
|
|
4
4
|
|
|
5
5
|
repositories {
|
|
6
6
|
google()
|
|
@@ -8,12 +8,23 @@ buildscript {
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
dependencies {
|
|
11
|
-
classpath "com.android.tools.build:gradle:
|
|
12
|
-
// noinspection DifferentKotlinGradleVersion
|
|
11
|
+
classpath "com.android.tools.build:gradle:8.10.1"
|
|
13
12
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
14
13
|
}
|
|
15
14
|
}
|
|
16
15
|
|
|
16
|
+
allprojects {
|
|
17
|
+
repositories {
|
|
18
|
+
maven {
|
|
19
|
+
url "https://android.pointr.dev/artifactory/gradle-release-local"
|
|
20
|
+
credentials {
|
|
21
|
+
username 'consumer'
|
|
22
|
+
password 'AKCp5dKiUPiSx94yLYgSsu6WzM4MaMAohkrpPyDydQgnNsUajTmhBXLzqLVkwJPNFNZzzv5Rt'
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
17
28
|
def reactNativeArchitectures() {
|
|
18
29
|
def value = rootProject.getProperties().get("reactNativeArchitectures")
|
|
19
30
|
return value ? value.split(",") : ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"]
|
|
@@ -77,8 +88,8 @@ android {
|
|
|
77
88
|
}
|
|
78
89
|
|
|
79
90
|
compileOptions {
|
|
80
|
-
sourceCompatibility JavaVersion.
|
|
81
|
-
targetCompatibility JavaVersion.
|
|
91
|
+
sourceCompatibility JavaVersion.VERSION_11
|
|
92
|
+
targetCompatibility JavaVersion.VERSION_11
|
|
82
93
|
}
|
|
83
94
|
}
|
|
84
95
|
|
|
@@ -87,7 +98,7 @@ repositories {
|
|
|
87
98
|
google()
|
|
88
99
|
}
|
|
89
100
|
|
|
90
|
-
def kotlin_version =
|
|
101
|
+
def kotlin_version = rootProject.ext.has("kotlinVersion") ? rootProject.ext.get("kotlinVersion") : "1.9.24"
|
|
91
102
|
|
|
92
103
|
dependencies {
|
|
93
104
|
// For < 0.71, this will be from the local maven repo
|
|
@@ -95,11 +106,9 @@ dependencies {
|
|
|
95
106
|
//noinspection GradleDynamicVersion
|
|
96
107
|
implementation "com.facebook.react:react-native:+"
|
|
97
108
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
98
|
-
implementation
|
|
99
|
-
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
|
|
100
|
-
implementation 'androidx.appcompat:appcompat:1.7.0'
|
|
109
|
+
implementation("com.pointrlabs:pointr:9.1.0")
|
|
110
|
+
implementation ("org.jetbrains.kotlin:kotlin-reflect:$kotlin_version")
|
|
101
111
|
implementation 'com.google.android.material:material:1.12.0'
|
|
102
|
-
implementation 'androidx.
|
|
103
|
-
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
|
112
|
+
implementation 'androidx.constraintlayout:constraintlayout:2.2.1'
|
|
104
113
|
}
|
|
105
114
|
|
|
@@ -1,11 +1,4 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<manifest
|
|
3
|
-
<application
|
|
4
|
-
<activity
|
|
5
|
-
android:name="com.pointr.PointrMapWidgetActivity"
|
|
6
|
-
android:exported="true"
|
|
7
|
-
android:launchMode="singleTask"
|
|
8
|
-
android:screenOrientation="portrait">
|
|
9
|
-
</activity>
|
|
10
|
-
</application>
|
|
2
|
+
<manifest>
|
|
3
|
+
<application/>
|
|
11
4
|
</manifest>
|
|
@@ -2,8 +2,6 @@ package com.pointr
|
|
|
2
2
|
|
|
3
3
|
import androidx.annotation.StringDef
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
@Retention(AnnotationRetention.BINARY)
|
|
7
5
|
@StringDef(value = [PTRMapWidgetCommandType.SITE, PTRMapWidgetCommandType.BUILDING, PTRMapWidgetCommandType.LEVEL, PTRMapWidgetCommandType.POI, PTRMapWidgetCommandType.PATH, PTRMapWidgetCommandType.STATIC_PATH])
|
|
8
6
|
annotation class PTRMapWidgetCommandType {
|
|
9
7
|
companion object {
|
|
@@ -15,6 +13,6 @@ annotation class PTRMapWidgetCommandType {
|
|
|
15
13
|
const val STATIC_PATH = "staticPath"
|
|
16
14
|
const val MARK_MY_CAR_LEVEL = "markMyCarForLevel"
|
|
17
15
|
const val MARK_MY_CAR_SITE = "markMyCarForSite"
|
|
18
|
-
const val
|
|
16
|
+
const val SHOW_MY_CAR_SITE = "showMyCarForSite"
|
|
19
17
|
}
|
|
20
18
|
}
|