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.
@@ -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") : project.properties["Pointr_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:7.2.1"
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 = getExtOrDefault("kotlinVersion")
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 "com.pointrlabs:pointr:8+"
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.activity:activity:1.9.1'
103
- implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
100
+ implementation 'androidx.constraintlayout:constraintlayout:2.2.1'
104
101
  }
105
102
 
@@ -1,5 +1,5 @@
1
- Pointr_kotlinVersion=1.8.10
1
+ Pointr_kotlinVersion=1.9.24
2
2
  Pointr_minSdkVersion=28
3
- Pointr_targetSdkVersion=34
4
- Pointr_compileSdkVersion=34
3
+ Pointr_targetSdkVersion=35
4
+ Pointr_compileSdkVersion=35
5
5
  Pointr_ndkversion=25.2.9519653
@@ -1,11 +1,4 @@
1
1
  <?xml version="1.0" encoding="utf-8"?>
2
- <manifest xmlns:android="http://schemas.android.com/apk/res/android">
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 MY_CAR_SITE = "myCarForSite"
16
+ const val SHOW_MY_CAR_SITE = "showMyCarForSite"
17
+ const val START_AND_FOCUS = "startAndFocus"
19
18
  }
20
19
  }