react-native-pointr 9.3.1 โ†’ 9.5.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.
@@ -0,0 +1,21 @@
1
+ {
2
+ "java.configuration.updateBuildConfiguration": "disabled",
3
+ "java.compile.nullAnalysis.mode": "automatic",
4
+ "cSpell.words": [
5
+ "androidx",
6
+ "Autoresizing",
7
+ "datamanager",
8
+ "deeplink",
9
+ "EDIP",
10
+ "nativecore",
11
+ "nonnull",
12
+ "Parcelable",
13
+ "Pathfinding",
14
+ "pathmanager",
15
+ "pointrlabs",
16
+ "Subview",
17
+ "uimanager",
18
+ "viewmodels",
19
+ "wayfinding"
20
+ ]
21
+ }
package/CHANGELOG.md CHANGED
@@ -4,6 +4,16 @@ 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
+ ## [9.5.0] - 2026-03-02
8
+
9
+ ### Changed
10
+ - Mobile SDK 9.5.0 integration.
11
+
12
+ ## [9.4.0] - 2026-02-05
13
+
14
+ ### Changed
15
+ - Mobile SDK 9.4.0 integration.
16
+
7
17
  ## [9.3.1] - 2026-01-07
8
18
 
9
19
  ### Added
@@ -91,9 +91,9 @@ dependencies {
91
91
  // For < 0.71, this will be from the local maven repo
92
92
  // For > 0.71, this will be replaced by `com.facebook.react:react-android:$version` by react gradle plugin
93
93
  //noinspection GradleDynamicVersion
94
- implementation "com.facebook.react:react-native:+"
94
+ implementation "com.facebook.react:react-android:0.82.1"
95
95
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
96
- implementation("com.pointrlabs:pointr:9.3.0")
96
+ implementation("com.pointrlabs:pointr:9.5.0")
97
97
  implementation ("org.jetbrains.kotlin:kotlin-reflect:$kotlin_version")
98
98
  implementation 'com.google.android.material:material:1.12.0'
99
99
  implementation 'androidx.constraintlayout:constraintlayout:2.2.1'
@@ -99,7 +99,7 @@ class PTRMapWidgetManager(private val reactContext: ReactApplicationContext) :
99
99
  val action: PTRMapWidgetAction = when (command) {
100
100
  PTRMapWidgetCommandType.SITE -> {
101
101
  val siteId = args.getString(0).orEmpty()
102
- val location = PTRMapWidgetSiteLocation(siteId, isExternalIdentifier = true)
102
+ val location = PTRMapWidgetSiteLocation(siteId, isExternal = true)
103
103
  PTRMapWidgetFocusAction(location)
104
104
  }
105
105
 
@@ -177,7 +177,7 @@ class PTRMapWidgetManager(private val reactContext: ReactApplicationContext) :
177
177
 
178
178
  PTRMapWidgetCommandType.MARK_MY_CAR_SITE -> {
179
179
  val siteId = args.getString(0).orEmpty()
180
- val location = PTRMapWidgetSiteLocation(siteId, isExternalIdentifier = true)
180
+ val location = PTRMapWidgetSiteLocation(siteId, isExternal = true)
181
181
  PTRMapWidgetMarkMyCarAction(location, shouldShowPopup = args.getBoolean(1))
182
182
  }
183
183
 
@@ -194,7 +194,7 @@ class PTRMapWidgetManager(private val reactContext: ReactApplicationContext) :
194
194
 
195
195
  PTRMapWidgetCommandType.SHOW_MY_CAR_SITE -> {
196
196
  val siteId = args.getString(0).orEmpty()
197
- val location = PTRMapWidgetSiteLocation(siteId, isExternalIdentifier = true)
197
+ val location = PTRMapWidgetSiteLocation(siteId, isExternal = true)
198
198
  PTRMapWidgetShowMyCarAction(location, shouldShowPopup = args.getBoolean(1))
199
199
  }
200
200
 
@@ -220,7 +220,7 @@ class PTRMapWidgetManager(private val reactContext: ReactApplicationContext) :
220
220
  val location = when (focusType) {
221
221
  PTRMapWidgetCommandType.SITE -> {
222
222
  val siteId = args.getString(5).orEmpty()
223
- PTRMapWidgetSiteLocation(siteId, isExternalIdentifier = true)
223
+ PTRMapWidgetSiteLocation(siteId, isExternal = true)
224
224
  }
225
225
  PTRMapWidgetCommandType.BUILDING -> {
226
226
  val siteId = args.getString(5).orEmpty()
@@ -241,7 +241,7 @@ class PTRMapWidgetManager(private val reactContext: ReactApplicationContext) :
241
241
  else -> {
242
242
  // Default to site if invalid focus type
243
243
  val siteId = args.getString(5).orEmpty()
244
- PTRMapWidgetSiteLocation(siteId, isExternalIdentifier = true)
244
+ PTRMapWidgetSiteLocation(siteId, isExternal = true)
245
245
  }
246
246
  }
247
247
  PTRMapWidgetFocusAction(location)
@@ -33,7 +33,7 @@ This demo requires the `react-native-pointr` package. You have two options:
33
33
  If the package is published to npm, update `package.json` to reference it:
34
34
 
35
35
  ```json
36
- "react-native-pointr": "^9.3.1"
36
+ "react-native-pointr": "^9.5.0"
37
37
  ```
38
38
 
39
39
  ### Step 2: Configure Pointr Credentials
@@ -109,10 +109,10 @@ android {
109
109
 
110
110
  dependencies {
111
111
  // The version of react-native is set by the React Native Gradle Plugin
112
- implementation("com.facebook.react:react-android")
112
+ implementation("com.facebook.react:react-android:0.82.1")
113
113
 
114
114
  if (hermesEnabled.toBoolean()) {
115
- implementation("com.facebook.react:hermes-android")
115
+ implementation("com.facebook.react:hermes-android:0.82.1")
116
116
  } else {
117
117
  implementation jscFlavor
118
118
  }
@@ -19,6 +19,8 @@ buildscript {
19
19
 
20
20
  allprojects {
21
21
  repositories {
22
+ google()
23
+ mavenCentral()
22
24
  maven {
23
25
  url "https://android.pointr.dev/artifactory/gradle-release-local"
24
26
  credentials {
@@ -191,14 +191,10 @@
191
191
  inputFileListPaths = (
192
192
  "${PODS_ROOT}/Target Support Files/Pods-pointr_rn_demo/Pods-pointr_rn_demo-resources-${CONFIGURATION}-input-files.xcfilelist",
193
193
  );
194
- inputPaths = (
195
- );
196
194
  name = "[CP] Copy Pods Resources";
197
195
  outputFileListPaths = (
198
196
  "${PODS_ROOT}/Target Support Files/Pods-pointr_rn_demo/Pods-pointr_rn_demo-resources-${CONFIGURATION}-output-files.xcfilelist",
199
197
  );
200
- outputPaths = (
201
- );
202
198
  runOnlyForDeploymentPostprocessing = 0;
203
199
  shellPath = /bin/sh;
204
200
  shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-pointr_rn_demo/Pods-pointr_rn_demo-resources.sh\"\n";
@@ -212,14 +208,10 @@
212
208
  inputFileListPaths = (
213
209
  "${PODS_ROOT}/Target Support Files/Pods-pointr_rn_demo/Pods-pointr_rn_demo-frameworks-${CONFIGURATION}-input-files.xcfilelist",
214
210
  );
215
- inputPaths = (
216
- );
217
211
  name = "[CP] Embed Pods Frameworks";
218
212
  outputFileListPaths = (
219
213
  "${PODS_ROOT}/Target Support Files/Pods-pointr_rn_demo/Pods-pointr_rn_demo-frameworks-${CONFIGURATION}-output-files.xcfilelist",
220
214
  );
221
- outputPaths = (
222
- );
223
215
  runOnlyForDeploymentPostprocessing = 0;
224
216
  shellPath = /bin/sh;
225
217
  shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-pointr_rn_demo/Pods-pointr_rn_demo-frameworks.sh\"\n";
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pointr_rn_demo",
3
- "version": "9.3.1",
3
+ "version": "9.5.0",
4
4
  "private": true,
5
5
  "scripts": {
6
6
  "clean": "watchman watch-del-all || true && rm -rf node_modules ios/Pods ios/Podfile.lock ios/build android/.gradle android/app/build android/build",
@@ -16,7 +16,7 @@
16
16
  "dependencies": {
17
17
  "@react-native/new-app-screen": "0.82.1",
18
18
  "react": "19.1.1",
19
- "react-native": "0.82.1",
19
+ "react-native": "^0.82.1",
20
20
  "react-native-pointr": "file:../../../react-native-pointr",
21
21
  "react-native-safe-area-context": "^5.6.2"
22
22
  },
@@ -29,6 +29,7 @@
29
29
  "@react-native-community/cli-platform-ios": "20.0.0",
30
30
  "@react-native/babel-preset": "0.82.1",
31
31
  "@react-native/eslint-config": "0.82.1",
32
+ "@react-native/gradle-plugin": "^0.83.1",
32
33
  "@react-native/metro-config": "0.82.1",
33
34
  "@react-native/typescript-config": "0.82.1",
34
35
  "@types/jest": "^29.5.13",
@@ -8,7 +8,7 @@ set -e # Exit on error
8
8
  PROJECT_NAME="pointr_rn_demo"
9
9
  VERSION=$(grep -o '"version": "[^"]*"' package.json | head -1 | sed 's/"version": "\(.*\)"/\1/')
10
10
  OUTPUT_NAME="${PROJECT_NAME}-${VERSION}.zip"
11
- TEMP_DIR="${PROJECT_NAME}-${VERSION}"
11
+ TEMP_DIR="${PROJECT_NAME}_temp"
12
12
  DIST_DIR="../../dist"
13
13
 
14
14
  # Create dist directory if it doesn't exist and get absolute path
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-pointr",
3
- "version": "9.3.1",
3
+ "version": "9.5.0",
4
4
  "description": "Pointr React-Native Module",
5
5
  "main": "src/index",
6
6
  "author": " <> ()",
@@ -2,9 +2,76 @@
2
2
 
3
3
  # Script to prepare react-native-pointr package for distribution
4
4
  # This script cleans build artifacts, removes git history, and creates a compressed archive
5
+ # Usage:
6
+ # ./prepare-distribution.sh - Package the library
7
+ # ./prepare-distribution.sh demo - Package the demo app
5
8
 
6
9
  set -e # Exit on error
7
10
 
11
+ MODE="${1:-library}"
12
+
13
+ if [ "$MODE" = "demo" ]; then
14
+ echo "๐Ÿ“ฑ Preparing demo app for distribution..."
15
+
16
+ DEMO_NAME="pointr_rn_demo"
17
+ DEMO_VERSION=$(grep -o '"version": "[^"]*"' example/pointr_rn_demo/package.json | head -1 | sed 's/"version": "\(.*\)"/\1/')
18
+ OUTPUT_NAME="${DEMO_NAME}-${DEMO_VERSION}.zip"
19
+ TEMP_DIR="${DEMO_NAME}_temp"
20
+
21
+ echo "๐Ÿงน Starting demo app cleanup and preparation..."
22
+ echo "๐Ÿ“Œ Demo version: ${DEMO_VERSION}"
23
+
24
+ # Create a temporary copy of the demo app
25
+ echo "๐Ÿ“ฆ Creating temporary copy of demo app..."
26
+ rsync -a --exclude="node_modules" \
27
+ --exclude="android/build" \
28
+ --exclude="android/.gradle" \
29
+ --exclude="android/app/build" \
30
+ --exclude="ios/build" \
31
+ --exclude="ios/Pods" \
32
+ --exclude="ios/Podfile.lock" \
33
+ --exclude=".DS_Store" \
34
+ --exclude="*.log" \
35
+ example/pointr_rn_demo/ "../${TEMP_DIR}/"
36
+
37
+ cd "../${TEMP_DIR}"
38
+
39
+ # Remove development files
40
+ echo "๐Ÿ—‘๏ธ Removing development files..."
41
+ rm -rf .git
42
+ rm -rf .vscode
43
+ rm -rf .idea
44
+ rm -f .DS_Store
45
+ rm -f *.log
46
+ rm -f npm-debug.log*
47
+ rm -f yarn-debug.log*
48
+ rm -f yarn-error.log*
49
+
50
+ # Create the zip archive
51
+ echo "๐Ÿ“ฆ Creating compressed archive..."
52
+ cd ..
53
+ zip -r "${OUTPUT_NAME}" "${TEMP_DIR}" -x "*.DS_Store" -q
54
+
55
+ # Create dist directory if it doesn't exist
56
+ mkdir -p "react-native-pointr/dist"
57
+
58
+ # Move the archive to dist directory
59
+ mv "${OUTPUT_NAME}" "react-native-pointr/dist/"
60
+
61
+ # Clean up temporary directory
62
+ echo "๐Ÿงผ Cleaning up temporary files..."
63
+ rm -rf "${TEMP_DIR}"
64
+
65
+ cd "react-native-pointr"
66
+
67
+ echo "โœ… Demo distribution package created successfully!"
68
+ echo "๐Ÿ“ฆ Output file: ${OUTPUT_NAME}"
69
+ echo "๐Ÿ“ Location: $(pwd)/dist/${OUTPUT_NAME}"
70
+
71
+ exit 0
72
+ fi
73
+
74
+ # Library packaging mode
8
75
  PACKAGE_NAME="react-native-pointr"
9
76
  VERSION=$(grep -o '"version": "[^"]*"' package.json | head -1 | sed 's/"version": "\(.*\)"/\1/')
10
77
  OUTPUT_NAME="${PACKAGE_NAME}-${VERSION}.zip"
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
16
16
 
17
17
  s.source_files = "ios/**/*.{h,m,mm,swift}"
18
18
 
19
- s.dependency 'PointrKit', '9.3.0'
19
+ s.dependency 'PointrKit', '9.5.0'
20
20
 
21
21
  # Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
22
22
  # See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.