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 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
@@ -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,12 +8,23 @@ 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
  }
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.VERSION_1_8
81
- targetCompatibility JavaVersion.VERSION_1_8
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 = getExtOrDefault("kotlinVersion")
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 "com.pointrlabs:pointr:8+"
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.activity:activity:1.9.1'
103
- implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
112
+ implementation 'androidx.constraintlayout:constraintlayout:2.2.1'
104
113
  }
105
114
 
@@ -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,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 MY_CAR_SITE = "myCarForSite"
16
+ const val SHOW_MY_CAR_SITE = "showMyCarForSite"
19
17
  }
20
18
  }