react-native-pointr 8.16.1 → 9.2.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/android/build.gradle +6 -9
- package/android/gradle.properties +3 -3
- package/android/src/main/AndroidManifestNew.xml +2 -9
- package/android/src/main/java/com/pointr/PTRMapWidgetCommandType.kt +3 -4
- package/android/src/main/java/com/pointr/PTRMapWidgetManager.kt +265 -394
- package/android/src/main/java/com/pointr/PointrModule.kt +36 -177
- package/ios/PTRMapWidgetContainerView.swift +248 -0
- package/ios/PTRMapWidgetManager-Bridging.m +116 -0
- package/ios/PTRMapWidgetManager.swift +255 -0
- package/ios/PTRNativeLibrary-Bridging.m +34 -0
- package/ios/PTRNativeLibrary.swift +357 -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 +25 -4
- package/src/PTRMapWidgetUtils.ts +107 -16
- 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 -164
- package/ios/PointrApp.swift +0 -636
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,8 +8,7 @@ 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
|
}
|
|
@@ -87,7 +86,7 @@ repositories {
|
|
|
87
86
|
google()
|
|
88
87
|
}
|
|
89
88
|
|
|
90
|
-
def kotlin_version =
|
|
89
|
+
def kotlin_version = rootProject.ext.has("kotlinVersion") ? rootProject.ext.get("kotlinVersion") : "1.9.24"
|
|
91
90
|
|
|
92
91
|
dependencies {
|
|
93
92
|
// For < 0.71, this will be from the local maven repo
|
|
@@ -95,11 +94,9 @@ dependencies {
|
|
|
95
94
|
//noinspection GradleDynamicVersion
|
|
96
95
|
implementation "com.facebook.react:react-native:+"
|
|
97
96
|
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'
|
|
97
|
+
implementation("com.pointrlabs:pointr:9.2.0")
|
|
98
|
+
implementation ("org.jetbrains.kotlin:kotlin-reflect:$kotlin_version")
|
|
101
99
|
implementation 'com.google.android.material:material:1.12.0'
|
|
102
|
-
implementation 'androidx.
|
|
103
|
-
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
|
100
|
+
implementation 'androidx.constraintlayout:constraintlayout:2.2.1'
|
|
104
101
|
}
|
|
105
102
|
|
|
@@ -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,9 +2,7 @@ package com.pointr
|
|
|
2
2
|
|
|
3
3
|
import androidx.annotation.StringDef
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
@Retention(AnnotationRetention.BINARY)
|
|
7
|
-
@StringDef(value = [PTRMapWidgetCommandType.SITE, PTRMapWidgetCommandType.BUILDING, PTRMapWidgetCommandType.LEVEL, PTRMapWidgetCommandType.POI, PTRMapWidgetCommandType.PATH, PTRMapWidgetCommandType.STATIC_PATH])
|
|
5
|
+
@StringDef(value = [PTRMapWidgetCommandType.SITE, PTRMapWidgetCommandType.BUILDING, PTRMapWidgetCommandType.LEVEL, PTRMapWidgetCommandType.POI, PTRMapWidgetCommandType.PATH, PTRMapWidgetCommandType.STATIC_PATH, PTRMapWidgetCommandType.START_AND_FOCUS])
|
|
8
6
|
annotation class PTRMapWidgetCommandType {
|
|
9
7
|
companion object {
|
|
10
8
|
const val SITE = "site"
|
|
@@ -15,6 +13,7 @@ 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"
|
|
17
|
+
const val START_AND_FOCUS = "startAndFocus"
|
|
19
18
|
}
|
|
20
19
|
}
|