@situm/cordova 3.17.3 → 3.17.5

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,12 +1,10 @@
1
1
  ## Unreleased
2
2
 
3
+ ### Added
4
+ - Added a NOTICE documenting the plugin's licensing.
5
+
3
6
  ### Updated
4
- - Updated Android example app targetSdkVersion and compileSdkVersion from 33 to 37.
5
- - Updated gradle wrapper version from 8.4 to 8.13.
6
- - Updated AGP (com.android.application) from 8.0.0 to 8.13.2.
7
+ - Increased the minimum supported Android and Cordova versions to better reflect the requirements of the Situm SDK.
7
8
 
8
9
  ### Removed
9
- - Removed the legacy routing and navigation bridge between the MapView and the native SDK, as the MapView now always uses its own routing and navigation library.
10
-
11
- ### Changed
12
- - Deprecated the `use-viewer-navigation` MapView attribute. It is now ignored and kept only for backward compatibility.
10
+ - Removed unused package.json and Android dependencies.
package/NOTICE.md ADDED
@@ -0,0 +1,238 @@
1
+ # Notices for @situm/cordova
2
+
3
+ Copyright (c) 2018 - 2026 Situm Technologies
4
+
5
+ The plugin source code is licensed under the MIT License. The complete license
6
+ text is provided in the accompanying LICENSE file.
7
+
8
+ ## Declared native dependencies
9
+
10
+ | Component | Platform | License or terms |
11
+ | ---------------------------------------------------- | -------- | ------------------------------------- |
12
+ | SitumSDK | iOS | Applicable Situm terms and conditions |
13
+ | SitumSDK | Android | Applicable Situm terms and conditions |
14
+
15
+ SitumSDK is a separate product of Situm Technologies. The MIT License for this
16
+ plugin does not grant rights to SitumSDK beyond its applicable terms and
17
+ conditions. SitumSDK dependencies are governed by their respective terms.
18
+
19
+ ## Host platforms
20
+
21
+ Apache Cordova and compatible Cordova hosts, including the compatibility layer
22
+ provided by Capacitor, are selected and installed by the consuming application.
23
+ They are not bundled in this npm package and remain subject to their own terms.
24
+ The plugin requires cordova-android 11.0.0 or newer; Apache Cordova is licensed
25
+ under the Apache License 2.0.
26
+
27
+ Apache License
28
+ Version 2.0, January 2004
29
+ http://www.apache.org/licenses/
30
+
31
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
32
+
33
+ 1. Definitions.
34
+
35
+ "License" shall mean the terms and conditions for use, reproduction,
36
+ and distribution as defined by Sections 1 through 9 of this document.
37
+
38
+ "Licensor" shall mean the copyright owner or entity authorized by
39
+ the copyright owner that is granting the License.
40
+
41
+ "Legal Entity" shall mean the union of the acting entity and all
42
+ other entities that control, are controlled by, or are under common
43
+ control with that entity. For the purposes of this definition,
44
+ "control" means (i) the power, direct or indirect, to cause the
45
+ direction or management of such entity, whether by contract or
46
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
47
+ outstanding shares, or (iii) beneficial ownership of such entity.
48
+
49
+ "You" (or "Your") shall mean an individual or Legal Entity
50
+ exercising permissions granted by this License.
51
+
52
+ "Source" form shall mean the preferred form for making modifications,
53
+ including but not limited to software source code, documentation
54
+ source, and configuration files.
55
+
56
+ "Object" form shall mean any form resulting from mechanical
57
+ transformation or translation of a Source form, including but
58
+ not limited to compiled object code, generated documentation,
59
+ and conversions to other media types.
60
+
61
+ "Work" shall mean the work of authorship, whether in Source or
62
+ Object form, made available under the License, as indicated by a
63
+ copyright notice that is included in or attached to the work
64
+ (an example is provided in the Appendix below).
65
+
66
+ "Derivative Works" shall mean any work, whether in Source or Object
67
+ form, that is based on (or derived from) the Work and for which the
68
+ editorial revisions, annotations, elaborations, or other modifications
69
+ represent, as a whole, an original work of authorship. For the purposes
70
+ of this License, Derivative Works shall not include works that remain
71
+ separable from, or merely link (or bind by name) to the interfaces of,
72
+ the Work and Derivative Works thereof.
73
+
74
+ "Contribution" shall mean any work of authorship, including
75
+ the original version of the Work and any modifications or additions
76
+ to that Work or Derivative Works thereof, that is intentionally
77
+ submitted to Licensor for inclusion in the Work by the copyright owner
78
+ or by an individual or Legal Entity authorized to submit on behalf of
79
+ the copyright owner. For the purposes of this definition, "submitted"
80
+ means any form of electronic, verbal, or written communication sent
81
+ to the Licensor or its representatives, including but not limited to
82
+ communication on electronic mailing lists, source code control systems,
83
+ and issue tracking systems that are managed by, or on behalf of, the
84
+ Licensor for the purpose of discussing and improving the Work, but
85
+ excluding communication that is conspicuously marked or otherwise
86
+ designated in writing by the copyright owner as "Not a Contribution."
87
+
88
+ "Contributor" shall mean Licensor and any individual or Legal Entity
89
+ on behalf of whom a Contribution has been received by Licensor and
90
+ subsequently incorporated within the Work.
91
+
92
+ 2. Grant of Copyright License. Subject to the terms and conditions of
93
+ this License, each Contributor hereby grants to You a perpetual,
94
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
95
+ copyright license to reproduce, prepare Derivative Works of,
96
+ publicly display, publicly perform, sublicense, and distribute the
97
+ Work and such Derivative Works in Source or Object form.
98
+
99
+ 3. Grant of Patent License. Subject to the terms and conditions of
100
+ this License, each Contributor hereby grants to You a perpetual,
101
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
102
+ (except as stated in this section) patent license to make, have made,
103
+ use, offer to sell, sell, import, and otherwise transfer the Work,
104
+ where such license applies only to those patent claims licensable
105
+ by such Contributor that are necessarily infringed by their
106
+ Contribution(s) alone or by combination of their Contribution(s)
107
+ with the Work to which such Contribution(s) was submitted. If You
108
+ institute patent litigation against any entity (including a
109
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
110
+ or a Contribution incorporated within the Work constitutes direct
111
+ or contributory patent infringement, then any patent licenses
112
+ granted to You under this License for that Work shall terminate
113
+ as of the date such litigation is filed.
114
+
115
+ 4. Redistribution. You may reproduce and distribute copies of the
116
+ Work or Derivative Works thereof in any medium, with or without
117
+ modifications, and in Source or Object form, provided that You
118
+ meet the following conditions:
119
+
120
+ (a) You must give any other recipients of the Work or
121
+ Derivative Works a copy of this License; and
122
+
123
+ (b) You must cause any modified files to carry prominent notices
124
+ stating that You changed the files; and
125
+
126
+ (c) You must retain, in the Source form of any Derivative Works
127
+ that You distribute, all copyright, patent, trademark, and
128
+ attribution notices from the Source form of the Work,
129
+ excluding those notices that do not pertain to any part of
130
+ the Derivative Works; and
131
+
132
+ (d) If the Work includes a "NOTICE" text file as part of its
133
+ distribution, then any Derivative Works that You distribute must
134
+ include a readable copy of the attribution notices contained
135
+ within such NOTICE file, excluding those notices that do not
136
+ pertain to any part of the Derivative Works, in at least one
137
+ of the following places: within a NOTICE text file distributed
138
+ as part of the Derivative Works; within the Source form or
139
+ documentation, if provided along with the Derivative Works; or,
140
+ within a display generated by the Derivative Works, if and
141
+ wherever such third-party notices normally appear. The contents
142
+ of the NOTICE file are for informational purposes only and
143
+ do not modify the License. You may add Your own attribution
144
+ notices within Derivative Works that You distribute, alongside
145
+ or as an addendum to the NOTICE text from the Work, provided
146
+ that such additional attribution notices cannot be construed
147
+ as modifying the License.
148
+
149
+ You may add Your own copyright statement to Your modifications and
150
+ may provide additional or different license terms and conditions
151
+ for use, reproduction, or distribution of Your modifications, or
152
+ for any such Derivative Works as a whole, provided Your use,
153
+ reproduction, and distribution of the Work otherwise complies with
154
+ the conditions stated in this License.
155
+
156
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
157
+ any Contribution intentionally submitted for inclusion in the Work
158
+ by You to the Licensor shall be under the terms and conditions of
159
+ this License, without any additional terms or conditions.
160
+ Notwithstanding the above, nothing herein shall supersede or modify
161
+ the terms of any separate license agreement you may have executed
162
+ with Licensor regarding such Contributions.
163
+
164
+ 6. Trademarks. This License does not grant permission to use the trade
165
+ names, trademarks, service marks, or product names of the Licensor,
166
+ except as required for reasonable and customary use in describing the
167
+ origin of the Work and reproducing the content of the NOTICE file.
168
+
169
+ 7. Disclaimer of Warranty. Unless required by applicable law or
170
+ agreed to in writing, Licensor provides the Work (and each
171
+ Contributor provides its Contributions) on an "AS IS" BASIS,
172
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
173
+ implied, including, without limitation, any warranties or conditions
174
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
175
+ PARTICULAR PURPOSE. You are solely responsible for determining the
176
+ appropriateness of using or redistributing the Work and assume any
177
+ risks associated with Your exercise of permissions under this License.
178
+
179
+ 8. Limitation of Liability. In no event and under no legal theory,
180
+ whether in tort (including negligence), contract, or otherwise,
181
+ unless required by applicable law (such as deliberate and grossly
182
+ negligent acts) or agreed to in writing, shall any Contributor be
183
+ liable to You for damages, including any direct, indirect, special,
184
+ incidental, or consequential damages of any character arising as a
185
+ result of this License or out of the use or inability to use the
186
+ Work (including but not limited to damages for loss of goodwill,
187
+ work stoppage, computer failure or malfunction, or any and all
188
+ other commercial damages or losses), even if such Contributor
189
+ has been advised of the possibility of such damages.
190
+
191
+ 9. Accepting Warranty or Additional Liability. While redistributing
192
+ the Work or Derivative Works thereof, You may choose to offer,
193
+ and charge a fee for, acceptance of support, warranty, indemnity,
194
+ or other liability obligations and/or rights consistent with this
195
+ License. However, in accepting such obligations, You may act only
196
+ on Your own behalf and on Your sole responsibility, not on behalf
197
+ of any other Contributor, and only if You agree to indemnify,
198
+ defend, and hold each Contributor harmless for any liability
199
+ incurred by, or claims asserted against, such Contributor by reason
200
+ of your accepting any such warranty or additional liability.
201
+
202
+ END OF TERMS AND CONDITIONS
203
+
204
+ APPENDIX: How to apply the Apache License to your work.
205
+
206
+ To apply the Apache License to your work, attach the following
207
+ boilerplate notice, with the fields enclosed by brackets "[]"
208
+ replaced with your own identifying information. (Don't include
209
+ the brackets!) The text should be enclosed in the appropriate
210
+ comment syntax for the file format. We also recommend that a
211
+ file or class name and description of purpose be included on the
212
+ same "printed page" as the copyright notice for easier
213
+ identification within third-party archives.
214
+
215
+ Copyright [yyyy] [name of copyright owner]
216
+
217
+ Licensed under the Apache License, Version 2.0 (the "License");
218
+ you may not use this file except in compliance with the License.
219
+ You may obtain a copy of the License at
220
+
221
+ http://www.apache.org/licenses/LICENSE-2.0
222
+
223
+ Unless required by applicable law or agreed to in writing, software
224
+ distributed under the License is distributed on an "AS IS" BASIS,
225
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
226
+ See the License for the specific language governing permissions and
227
+ limitations under the License.
228
+
229
+ ## Peer dependencies
230
+
231
+ The published plugin declares no runtime npm dependencies or peer dependencies.
232
+ Development-only dependencies used to test, lint, document, or package the
233
+ plugin are not part of the runtime artifact.
234
+
235
+ ## Source manifests
236
+
237
+ Distributed dependency declarations are maintained in `package.json`,
238
+ `plugin.xml`, and `src/android/situm.gradle`.
package/README.md CHANGED
@@ -636,9 +636,9 @@ mocha test
636
636
 
637
637
  ### Note for Android platform
638
638
 
639
- Situm SDK for Android now compiles and targets sdkVersion 31 (Android 12). To work properly on Android 12 devices and above, the host app must:
639
+ Situm SDK for Android now compiles and targets sdkVersion 34 (Android 14). To work properly on Android 14 devices and above, the host app must:
640
640
 
641
- - Target android api 31 or above. In your project `config.xml` file, add `<preference name="android-targetSdkVersion" value="31" />` to the Android platform configuration.
641
+ - Target android api 34 or above. In your project `config.xml` file, add `<preference name="android-targetSdkVersion" value="34" />` to the Android platform configuration.
642
642
  - Request the runtime permissions `ACCESS_COARSE_LOCATION`, `BLUETOOTH_SCAN` and `BLUETOOTH_CONNECT` (plus `ACCESS_FINE_LOCATION` if you are using [Global Mode](https://situm.com/docs/how-does-situm-work/#5-toc-title)). Remember to also add them to the Android platform section of your `config.xml` file:
643
643
 
644
644
  ```xml
@@ -669,7 +669,7 @@ Situm SDK for Android now compiles and targets sdkVersion 31 (Android 12). To wo
669
669
  xmlns:android="http://schemas.android.com/apk/res/android">
670
670
  ```
671
671
 
672
- - If you find problems, also make sure the Gradle JDK points to version 11 in your project configuration (recommended Android Studio embedded JDK).
672
+ - If you find problems, also make sure the Gradle JDK points to version 17 in your project configuration (recommended Android Studio embedded JDK).
673
673
 
674
674
  ### Capacitor compatibility
675
675
 
@@ -89,10 +89,10 @@ jobs:
89
89
  steps:
90
90
  - task: JavaToolInstaller@0
91
91
  inputs:
92
- versionSpec: "11"
92
+ versionSpec: "17"
93
93
  jdkArchitectureOption: "x64"
94
94
  jdkSourceOption: "PreInstalled"
95
- displayName: Install Java 11 for Gradle
95
+ displayName: Install Java 17 for Gradle
96
96
 
97
97
  - template: azure/common-steps.yaml
98
98
  - bash: |
@@ -8,9 +8,9 @@
8
8
  # You can see what browsers were selected by your queries by running:
9
9
  # npx browserslist
10
10
 
11
- Chrome >=79
12
- ChromeAndroid >=79
13
- Firefox >=70
14
- Edge >=79
15
- Safari >=14
16
- iOS >=14
11
+ last 2 Chrome versions
12
+ last 1 Firefox version
13
+ last 2 Edge major versions
14
+ last 2 Safari major versions
15
+ last 2 iOS major versions
16
+ Firefox ESR
package/example/README.md CHANGED
@@ -45,18 +45,9 @@ pnpm install
45
45
  > [!TIP]
46
46
  > You might want to try out this configuration if you are facing some issues to build our sample app:
47
47
  >
48
- > - node >= 18.13.X
49
- > - @ionic/cli 7.1.5
50
- > - gradle 8.4
48
+ > - node 20.19+, 22.12+, or 24+
51
49
  > - java 17.0.6
52
50
 
53
- > [!NOTE]
54
- > Make sure you are using `@ionic/cli` and not the deprecated `ionic` npm package. Otherwise you won't be able to build the app and you will receive the following error:
55
-
56
- ```diff
57
- - [ERROR] Invalid project type: angular-standalone (project config: ./ionic.config.json).
58
- ```
59
-
60
51
  ### Step 2: Set up your Situm credentials
61
52
 
62
53
  This example provides you with a template on [`src/constants.ts.example`](src/constants.ts.example) to set all your credentials used on the sdk tab just in one file. So rename this file to `constants.ts` and set up your credentials before running the app:
@@ -1,6 +1,6 @@
1
1
  // DO NOT EDIT THIS FILE! IT IS GENERATED EACH TIME "capacitor update" IS RUN
2
2
  include ':capacitor-android'
3
- project(':capacitor-android').projectDir = new File('../../node_modules/.pnpm/@capacitor+android@5.5.1_@capacitor+core@5.7.8/node_modules/@capacitor/android/capacitor')
3
+ project(':capacitor-android').projectDir = new File('../../node_modules/.pnpm/@capacitor+android@5.7.8_@capacitor+core@5.7.8/node_modules/@capacitor/android/capacitor')
4
4
 
5
5
  include ':capacitor-app'
6
6
  project(':capacitor-app').projectDir = new File('../../node_modules/.pnpm/@capacitor+app@5.0.6_@capacitor+core@5.7.8/node_modules/@capacitor/app/android')
@@ -43,7 +43,8 @@ steps:
43
43
  cd example
44
44
 
45
45
  echo -e "\n[+] Build ios app\n"
46
- npx ionic cap sync ios
46
+ pnpm run build
47
+ pnpm exec cap sync ios
47
48
 
48
49
  cd ios/App
49
50
 
@@ -91,7 +92,8 @@ steps:
91
92
  cd example
92
93
 
93
94
  echo -e "\n[+] Build android app \n"
94
- npx ionic capacitor sync android
95
+ pnpm run build
96
+ pnpm exec cap sync android
95
97
 
96
98
  cd android
97
99
  ./gradlew assembleDebug
@@ -33,9 +33,6 @@ steps:
33
33
 
34
34
  pnpm setup
35
35
 
36
- echo -e "\n[+] Install $(ioniccli)\n"
37
- pnpm install $(ioniccli)
38
-
39
36
  echo -e "\n[+] Install plugin dependencies\n"
40
37
  pnpm install
41
38
 
@@ -7,7 +7,6 @@
7
7
  objects = {
8
8
 
9
9
  /* Begin PBXBuildFile section */
10
- 1FD0412F0D3EDDF7AACCD45E /* Pods_App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 03FA4A350CB380B663C7A526 /* Pods_App.framework */; };
11
10
  2FAD9763203C412B000D30F8 /* config.xml in Resources */ = {isa = PBXBuildFile; fileRef = 2FAD9762203C412B000D30F8 /* config.xml */; };
12
11
  50379B232058CBB4000EE86E /* capacitor.config.json in Resources */ = {isa = PBXBuildFile; fileRef = 50379B222058CBB4000EE86E /* capacitor.config.json */; };
13
12
  504EC3081FED79650016851F /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 504EC3071FED79650016851F /* AppDelegate.swift */; };
@@ -15,11 +14,12 @@
15
14
  504EC30F1FED79650016851F /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 504EC30E1FED79650016851F /* Assets.xcassets */; };
16
15
  504EC3121FED79650016851F /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 504EC3101FED79650016851F /* LaunchScreen.storyboard */; };
17
16
  50B271D11FEDC1A000F3C39B /* public in Resources */ = {isa = PBXBuildFile; fileRef = 50B271D01FEDC1A000F3C39B /* public */; };
17
+ E8209E51A67841A85BCDCC25 /* Pods_App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DBBD65F9451F8518A8DE15C8 /* Pods_App.framework */; };
18
18
  /* End PBXBuildFile section */
19
19
 
20
20
  /* Begin PBXFileReference section */
21
- 03FA4A350CB380B663C7A526 /* Pods_App.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_App.framework; sourceTree = BUILT_PRODUCTS_DIR; };
22
21
  2FAD9762203C412B000D30F8 /* config.xml */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = config.xml; sourceTree = "<group>"; };
22
+ 4DEFFC2E907F4A71D5B12C27 /* Pods-App.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-App.debug.xcconfig"; path = "Target Support Files/Pods-App/Pods-App.debug.xcconfig"; sourceTree = "<group>"; };
23
23
  50379B222058CBB4000EE86E /* capacitor.config.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = capacitor.config.json; sourceTree = "<group>"; };
24
24
  504EC3041FED79650016851F /* App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = App.app; sourceTree = BUILT_PRODUCTS_DIR; };
25
25
  504EC3071FED79650016851F /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
@@ -28,8 +28,8 @@
28
28
  504EC3111FED79650016851F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
29
29
  504EC3131FED79650016851F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
30
30
  50B271D01FEDC1A000F3C39B /* public */ = {isa = PBXFileReference; lastKnownFileType = folder; path = public; sourceTree = "<group>"; };
31
- 88A95C137B6C4B2AEC4875C5 /* Pods-App.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-App.release.xcconfig"; path = "Target Support Files/Pods-App/Pods-App.release.xcconfig"; sourceTree = "<group>"; };
32
- E29925A1E89647FC8837173D /* Pods-App.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-App.debug.xcconfig"; path = "Target Support Files/Pods-App/Pods-App.debug.xcconfig"; sourceTree = "<group>"; };
31
+ ACB5A866652580EE8CE4A8F3 /* Pods-App.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-App.release.xcconfig"; path = "Target Support Files/Pods-App/Pods-App.release.xcconfig"; sourceTree = "<group>"; };
32
+ DBBD65F9451F8518A8DE15C8 /* Pods_App.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_App.framework; sourceTree = BUILT_PRODUCTS_DIR; };
33
33
  /* End PBXFileReference section */
34
34
 
35
35
  /* Begin PBXFrameworksBuildPhase section */
@@ -37,20 +37,30 @@
37
37
  isa = PBXFrameworksBuildPhase;
38
38
  buildActionMask = 2147483647;
39
39
  files = (
40
- 1FD0412F0D3EDDF7AACCD45E /* Pods_App.framework in Frameworks */,
40
+ E8209E51A67841A85BCDCC25 /* Pods_App.framework in Frameworks */,
41
41
  );
42
42
  runOnlyForDeploymentPostprocessing = 0;
43
43
  };
44
44
  /* End PBXFrameworksBuildPhase section */
45
45
 
46
46
  /* Begin PBXGroup section */
47
+ 1C7977BC2F47F7AEE77AE592 /* Pods */ = {
48
+ isa = PBXGroup;
49
+ children = (
50
+ 4DEFFC2E907F4A71D5B12C27 /* Pods-App.debug.xcconfig */,
51
+ ACB5A866652580EE8CE4A8F3 /* Pods-App.release.xcconfig */,
52
+ );
53
+ name = Pods;
54
+ path = Pods;
55
+ sourceTree = "<group>";
56
+ };
47
57
  504EC2FB1FED79650016851F = {
48
58
  isa = PBXGroup;
49
59
  children = (
50
60
  504EC3061FED79650016851F /* App */,
51
61
  504EC3051FED79650016851F /* Products */,
52
- DF62C5A1641624CEA467D8A3 /* Pods */,
53
- BC6DF3CB8D5D6EE5A6A75B80 /* Frameworks */,
62
+ 1C7977BC2F47F7AEE77AE592 /* Pods */,
63
+ 67438B4D93C7548E00535736 /* Frameworks */,
54
64
  );
55
65
  sourceTree = "<group>";
56
66
  };
@@ -77,24 +87,14 @@
77
87
  path = App;
78
88
  sourceTree = "<group>";
79
89
  };
80
- BC6DF3CB8D5D6EE5A6A75B80 /* Frameworks */ = {
90
+ 67438B4D93C7548E00535736 /* Frameworks */ = {
81
91
  isa = PBXGroup;
82
92
  children = (
83
- 03FA4A350CB380B663C7A526 /* Pods_App.framework */,
93
+ DBBD65F9451F8518A8DE15C8 /* Pods_App.framework */,
84
94
  );
85
95
  name = Frameworks;
86
96
  sourceTree = "<group>";
87
97
  };
88
- DF62C5A1641624CEA467D8A3 /* Pods */ = {
89
- isa = PBXGroup;
90
- children = (
91
- E29925A1E89647FC8837173D /* Pods-App.debug.xcconfig */,
92
- 88A95C137B6C4B2AEC4875C5 /* Pods-App.release.xcconfig */,
93
- );
94
- name = Pods;
95
- path = Pods;
96
- sourceTree = "<group>";
97
- };
98
98
  /* End PBXGroup section */
99
99
 
100
100
  /* Begin PBXNativeTarget section */
@@ -102,11 +102,12 @@
102
102
  isa = PBXNativeTarget;
103
103
  buildConfigurationList = 504EC3161FED79650016851F /* Build configuration list for PBXNativeTarget "App" */;
104
104
  buildPhases = (
105
- BD864F47D59D0446D2B8119D /* [CP] Check Pods Manifest.lock */,
105
+ 012055ABCBE8C60465423FB3 /* [CP] Check Pods Manifest.lock */,
106
106
  504EC3001FED79650016851F /* Sources */,
107
107
  504EC3011FED79650016851F /* Frameworks */,
108
108
  504EC3021FED79650016851F /* Resources */,
109
- 01D7EEE3D9470B0CB26A647F /* [CP] Copy Pods Resources */,
109
+ 2E2CF2F69415227123630AB0 /* [CP] Embed Pods Frameworks */,
110
+ DCB93BB9FC8299FCDF9B0C26 /* [CP] Copy Pods Resources */,
110
111
  );
111
112
  buildRules = (
112
113
  );
@@ -168,41 +169,56 @@
168
169
  /* End PBXResourcesBuildPhase section */
169
170
 
170
171
  /* Begin PBXShellScriptBuildPhase section */
171
- 01D7EEE3D9470B0CB26A647F /* [CP] Copy Pods Resources */ = {
172
+ 012055ABCBE8C60465423FB3 /* [CP] Check Pods Manifest.lock */ = {
172
173
  isa = PBXShellScriptBuildPhase;
173
174
  buildActionMask = 2147483647;
174
175
  files = (
175
176
  );
177
+ inputFileListPaths = (
178
+ );
176
179
  inputPaths = (
180
+ "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
181
+ "${PODS_ROOT}/Manifest.lock",
182
+ );
183
+ name = "[CP] Check Pods Manifest.lock";
184
+ outputFileListPaths = (
177
185
  );
178
- name = "[CP] Copy Pods Resources";
179
186
  outputPaths = (
187
+ "$(DERIVED_FILE_DIR)/Pods-App-checkManifestLockResult.txt",
180
188
  );
181
189
  runOnlyForDeploymentPostprocessing = 0;
182
190
  shellPath = /bin/sh;
183
- shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-App/Pods-App-resources.sh\"\n";
191
+ shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
184
192
  showEnvVarsInLog = 0;
185
193
  };
186
- BD864F47D59D0446D2B8119D /* [CP] Check Pods Manifest.lock */ = {
194
+ 2E2CF2F69415227123630AB0 /* [CP] Embed Pods Frameworks */ = {
187
195
  isa = PBXShellScriptBuildPhase;
188
196
  buildActionMask = 2147483647;
189
197
  files = (
190
198
  );
191
- inputFileListPaths = (
192
- );
193
199
  inputPaths = (
194
- "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
195
- "${PODS_ROOT}/Manifest.lock",
196
200
  );
197
- name = "[CP] Check Pods Manifest.lock";
198
- outputFileListPaths = (
201
+ name = "[CP] Embed Pods Frameworks";
202
+ outputPaths = (
199
203
  );
204
+ runOnlyForDeploymentPostprocessing = 0;
205
+ shellPath = /bin/sh;
206
+ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-App/Pods-App-frameworks.sh\"\n";
207
+ showEnvVarsInLog = 0;
208
+ };
209
+ DCB93BB9FC8299FCDF9B0C26 /* [CP] Copy Pods Resources */ = {
210
+ isa = PBXShellScriptBuildPhase;
211
+ buildActionMask = 2147483647;
212
+ files = (
213
+ );
214
+ inputPaths = (
215
+ );
216
+ name = "[CP] Copy Pods Resources";
200
217
  outputPaths = (
201
- "$(DERIVED_FILE_DIR)/Pods-App-checkManifestLockResult.txt",
202
218
  );
203
219
  runOnlyForDeploymentPostprocessing = 0;
204
220
  shellPath = /bin/sh;
205
- shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
221
+ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-App/Pods-App-resources.sh\"\n";
206
222
  showEnvVarsInLog = 0;
207
223
  };
208
224
  /* End PBXShellScriptBuildPhase section */
@@ -347,7 +363,7 @@
347
363
  };
348
364
  504EC3171FED79650016851F /* Debug */ = {
349
365
  isa = XCBuildConfiguration;
350
- baseConfigurationReference = E29925A1E89647FC8837173D /* Pods-App.debug.xcconfig */;
366
+ baseConfigurationReference = 4DEFFC2E907F4A71D5B12C27 /* Pods-App.debug.xcconfig */;
351
367
  buildSettings = {
352
368
  ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
353
369
  CODE_SIGN_STYLE = Automatic;
@@ -368,7 +384,7 @@
368
384
  };
369
385
  504EC3181FED79650016851F /* Release */ = {
370
386
  isa = XCBuildConfiguration;
371
- baseConfigurationReference = 88A95C137B6C4B2AEC4875C5 /* Pods-App.release.xcconfig */;
387
+ baseConfigurationReference = ACB5A866652580EE8CE4A8F3 /* Pods-App.release.xcconfig */;
372
388
  buildSettings = {
373
389
  ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
374
390
  CODE_SIGN_STYLE = Automatic;
@@ -1,7 +1,7 @@
1
- require_relative '../../../node_modules/.pnpm/@capacitor+ios@5.5.1_@capacitor+core@5.7.8/node_modules/@capacitor/ios/scripts/pods_helpers'
1
+ require_relative '../../../node_modules/.pnpm/@capacitor+ios@5.7.8_@capacitor+core@5.7.8/node_modules/@capacitor/ios/scripts/pods_helpers'
2
2
 
3
- platform :ios, '13.0'
4
- use_frameworks! :linkage => :static
3
+ platform :ios, '16.0'
4
+ use_frameworks!
5
5
 
6
6
  # workaround to avoid Xcode caching of Pods that requires
7
7
  # Product -> Clean Build Folder after new Cordova plugins installed
@@ -9,8 +9,8 @@ use_frameworks! :linkage => :static
9
9
  install! 'cocoapods', :disable_input_output_paths => true
10
10
 
11
11
  def capacitor_pods
12
- pod 'Capacitor', :path => '../../../node_modules/.pnpm/@capacitor+ios@5.5.1_@capacitor+core@5.7.8/node_modules/@capacitor/ios'
13
- pod 'CapacitorCordova', :path => '../../../node_modules/.pnpm/@capacitor+ios@5.5.1_@capacitor+core@5.7.8/node_modules/@capacitor/ios'
12
+ pod 'Capacitor', :path => '../../../node_modules/.pnpm/@capacitor+ios@5.7.8_@capacitor+core@5.7.8/node_modules/@capacitor/ios'
13
+ pod 'CapacitorCordova', :path => '../../../node_modules/.pnpm/@capacitor+ios@5.7.8_@capacitor+core@5.7.8/node_modules/@capacitor/ios'
14
14
  pod 'CapacitorApp', :path => '../../../node_modules/.pnpm/@capacitor+app@5.0.6_@capacitor+core@5.7.8/node_modules/@capacitor/app'
15
15
  pod 'CapacitorCamera', :path => '../../../node_modules/.pnpm/@capacitor+camera@5.0.10_@capacitor+core@5.7.8/node_modules/@capacitor/camera'
16
16
  pod 'CapacitorFilesystem', :path => '../../../node_modules/.pnpm/@capacitor+filesystem@5.2.2_@capacitor+core@5.7.8/node_modules/@capacitor/filesystem'
@@ -7,60 +7,59 @@
7
7
  "ng": "ng",
8
8
  "start": "ng serve",
9
9
  "build": "ng build",
10
- "cap:android": "ionic cap run android",
11
- "cap:ios": "ionic cap run ios",
12
- "cap:sync": "ionic cap sync",
10
+ "cap:android": "pnpm run build && cap run android",
11
+ "cap:ios": "pnpm run build && cap run ios",
12
+ "cap:sync": "pnpm run build && cap sync",
13
13
  "watch": "ng build --watch --configuration development",
14
14
  "test": "ng test",
15
15
  "lint": "ng lint"
16
16
  },
17
17
  "private": true,
18
18
  "dependencies": {
19
- "@angular/animations": "^17.0.2",
20
- "@angular/common": "^17.0.2",
21
- "@angular/compiler": "^17.0.2",
22
- "@angular/core": "^17.0.2",
23
- "@angular/forms": "^17.0.2",
24
- "@angular/platform-browser": "^17.0.2",
25
- "@angular/platform-browser-dynamic": "^17.0.2",
26
- "@angular/router": "^17.0.2",
27
- "@capacitor/android": "5.5.1",
19
+ "@angular/animations": "^20.3.27",
20
+ "@angular/common": "^20.3.27",
21
+ "@angular/compiler": "^20.3.27",
22
+ "@angular/core": "^20.3.27",
23
+ "@angular/forms": "^20.3.27",
24
+ "@angular/platform-browser": "^20.3.27",
25
+ "@angular/platform-browser-dynamic": "^20.3.27",
26
+ "@angular/router": "^20.3.27",
27
+ "@capacitor/android": "5.7.8",
28
28
  "@capacitor/app": "5.0.6",
29
29
  "@capacitor/camera": "^5.0.7",
30
- "@capacitor/core": "^5.5.1",
30
+ "@capacitor/core": "5.7.8",
31
31
  "@capacitor/filesystem": "^5.1.4",
32
32
  "@capacitor/geolocation": "^5.0.6",
33
33
  "@capacitor/haptics": "5.0.6",
34
- "@capacitor/ios": "5.5.1",
34
+ "@capacitor/ios": "5.7.8",
35
35
  "@capacitor/keyboard": "5.0.6",
36
36
  "@capacitor/preferences": "^5.0.6",
37
37
  "@capacitor/status-bar": "5.0.6",
38
38
  "@ionic/angular": "^7.5.0",
39
- "@ionic/cli": "^7.1.5",
40
39
  "@situm/cordova": "workspace:*",
41
40
  "ionicons": "^7.2.1",
42
41
  "rxjs": "^7.8.1",
43
42
  "tslib": "^2.3.0",
44
- "zone.js": "~0.14.2"
43
+ "zone.js": "~0.15.0"
45
44
  },
46
- "devDependencies": {
47
- "@angular-devkit/build-angular": "^17.0.0",
48
- "@angular-eslint/builder": "^17.0.0",
49
- "@angular-eslint/eslint-plugin": "^17.0.0",
50
- "@angular-eslint/eslint-plugin-template": "^17.0.0",
51
- "@angular-eslint/schematics": "^17.0.0",
52
- "@angular-eslint/template-parser": "^17.0.0",
53
- "@angular/cli": "^17.0.0",
54
- "@angular/compiler-cli": "^17.0.2",
55
- "@angular/language-service": "^17.0.2",
56
- "@capacitor/cli": "^5.5.1",
45
+ "devDependencies": {
46
+ "@angular-devkit/build-angular": "^20.3.32",
47
+ "@angular-eslint/builder": "^20.0.0",
48
+ "@angular-eslint/eslint-plugin": "^20.0.0",
49
+ "@angular-eslint/eslint-plugin-template": "^20.0.0",
50
+ "@angular-eslint/schematics": "^20.0.0",
51
+ "@angular-eslint/template-parser": "^20.0.0",
52
+ "@angular/cli": "^20.3.22",
53
+ "@angular/compiler-cli": "^20.3.27",
54
+ "@angular/language-service": "^20.3.27",
55
+ "@capacitor/cli": "5.5.1",
57
56
  "@ionic/angular-toolkit": "^9.0.0",
58
57
  "@types/jasmine": "~5.1.0",
59
58
  "@typescript-eslint/eslint-plugin": "^6.0.0",
60
59
  "@typescript-eslint/parser": "^6.0.0",
61
- "eslint": "^7.26.0",
62
- "eslint-plugin-import": "2.22.1",
63
- "eslint-plugin-jsdoc": "30.7.6",
60
+ "eslint": "^8.57.0",
61
+ "eslint-plugin-import": "2.25.0",
62
+ "eslint-plugin-jsdoc": "37.0.0",
64
63
  "eslint-plugin-prefer-arrow": "1.2.2",
65
64
  "jasmine-core": "~5.1.0",
66
65
  "jasmine-spec-reporter": "~5.0.0",
@@ -70,7 +69,7 @@
70
69
  "karma-jasmine": "~5.1.0",
71
70
  "karma-jasmine-html-reporter": "~2.1.0",
72
71
  "ts-node": "^8.3.0",
73
- "typescript": "~5.2.2"
72
+ "typescript": "~5.8.3"
74
73
  },
75
74
  "description": "An Ionic project"
76
75
  }
@@ -1,4 +1,4 @@
1
- import { Component, NgZone } from '@angular/core';
1
+ import { Component, inject, NgZone } from '@angular/core';
2
2
  import {
3
3
  IonHeader,
4
4
  IonToolbar,
@@ -10,8 +10,6 @@ import {
10
10
  IonCardContent,
11
11
  IonCardTitle,
12
12
  IonItem,
13
- IonLabel,
14
- IonList,
15
13
  IonIcon,
16
14
  IonTextarea,
17
15
  IonRow,
@@ -20,7 +18,7 @@ import {
20
18
  NavController,
21
19
  Platform
22
20
  } from '@ionic/angular/standalone';
23
- import { NgFor, NgIf } from '@angular/common';
21
+ import { NgIf } from '@angular/common';
24
22
  import { locate, cloudDownload, map } from 'ionicons/icons';
25
23
  import { addIcons } from 'ionicons';
26
24
 
@@ -45,28 +43,25 @@ declare let cordova: any;
45
43
  IonCardTitle,
46
44
  IonCardContent,
47
45
  IonButton,
48
- IonLabel,
49
46
  IonItem,
50
- IonList,
51
47
  IonRow,
52
48
  IonIcon,
53
49
  IonTextarea,
54
50
  IonPicker,
55
- NgFor,
56
51
  NgIf
57
52
  ]
58
53
  })
59
54
  export class SDKPage {
55
+ private ngZone = inject(NgZone);
56
+ private navCtrl = inject(NavController);
57
+ public platform = inject(Platform);
58
+
60
59
  buildings: Array<any> | undefined;
61
60
  currentBuilding: any | undefined;
62
61
  pois: any | undefined;
63
62
  currentPoi: any | undefined;
64
63
 
65
- constructor(
66
- private ngZone: NgZone,
67
- private navCtrl: NavController,
68
- public platform: Platform
69
- ) {
64
+ constructor() {
70
65
  addIcons({ locate, cloudDownload, map });
71
66
  }
72
67
 
@@ -1,4 +1,5 @@
1
1
  import {
2
+ AfterViewInit,
2
3
  CUSTOM_ELEMENTS_SCHEMA,
3
4
  Component,
4
5
  ElementRef,
@@ -23,7 +24,7 @@ import * as Constants from 'src/constants';
23
24
  standalone: true,
24
25
  imports: [IonHeader, IonToolbar, IonTitle, IonThumbnail, IonContent],
25
26
  })
26
- export class WYFPage {
27
+ export class WYFPage implements AfterViewInit {
27
28
  @ViewChild('mapView') mapView: ElementRef | undefined;
28
29
 
29
30
  // Internal code
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@situm/cordova",
3
- "version": "3.17.3",
3
+ "version": "3.17.5",
4
4
  "description": "Situm Wayfinding for Capacitor and Cordova. Integrate plug&play indoor navigation experience with floorplans, POIs, routes and turn-by-turn directions in no time. With the power of Situm.",
5
5
  "private": false,
6
6
  "repository": "https://github.com/situmtech/cordova",
@@ -30,15 +30,9 @@
30
30
  "engines": [
31
31
  {
32
32
  "name": "cordova-android",
33
- "version": ">=6.0.0"
33
+ "version": ">=11.0.0"
34
34
  }
35
35
  ],
36
- "dependencies": {
37
- "cordova-common": "^2.2.5",
38
- "describe": "^1.2.0",
39
- "q": "^1.5.1",
40
- "tui-jsdoc-template": "^1.2.2"
41
- },
42
36
  "devDependencies": {
43
37
  "eslint": "^5.3.0",
44
38
  "eslint-config-semistandard": "^11.0.0",
@@ -50,7 +44,8 @@
50
44
  "expect.js": "^0.3.1",
51
45
  "jsdoc": "^3.5.5",
52
46
  "jsdoc-toolkit": "0.0.2",
53
- "mocha": "^5.2.0"
47
+ "mocha": "^5.2.0",
48
+ "tui-jsdoc-template": "^1.2.2"
54
49
  },
55
50
  "scripts": {
56
51
  "test": "cd tests/js && mocha",
package/plugin.xml CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
4
4
  id="@situm/cordova"
5
- version="3.17.3">
5
+ version="3.17.5">
6
6
  <name>Situm Cordova plugin Official</name>
7
7
  <description>This is the stable branch.</description>
8
8
  <license>MIT</license>
@@ -11,7 +11,8 @@
11
11
  <issue>https://github.com/situmtech/situm-cordova-plugin/issues</issue>
12
12
 
13
13
  <engines>
14
- <engine name="cordova-android" version=">=10.0.0" />
14
+ <!-- Keep this version in sync with the corresponding engine version in package.json -->
15
+ <engine name="cordova-android" version=">=11.0.0" />
15
16
  </engines>
16
17
 
17
18
  <js-module src="www/map-view.js" name="map-view">
@@ -94,7 +95,7 @@
94
95
  <config>
95
96
  </config>
96
97
  <pods use-frameworks="false">
97
- <pod name="SitumSDK" spec="~> 3.40.0"/>
98
+ <pod name="SitumSDK" spec="~> 3.41.0"/>
98
99
  </pods>
99
100
  </podspec>
100
101
 
@@ -1,6 +1,14 @@
1
1
  allowBuilds:
2
2
  esbuild: true
3
- nice-napi: true
4
- minimumReleaseAge: 4320
3
+ "@parcel/watcher": false
4
+ lmdb: false
5
+ msgpackr-extract: false
6
+ blockExoticSubdeps: true
7
+ minimumReleaseAge: 10080
8
+ trustPolicy: no-downgrade
9
+ trustPolicyExclude:
10
+ - "chokidar@4.0.3"
11
+ - "ua-parser-js@0.7.41"
12
+ - "semver@5.7.2 || 6.3.1"
5
13
  packages:
6
14
  - "example"
@@ -1,12 +1,12 @@
1
1
  apply plugin: 'com.android.application'
2
2
 
3
3
  android {
4
- compileSdkVersion 33
5
- buildToolsVersion '30.0.3'
4
+ namespace "es.plugin.situm"
5
+ compileSdkVersion 34
6
6
  defaultConfig {
7
7
  applicationId "es.plugin.situm"
8
8
  minSdkVersion 22
9
- targetSdkVersion 33
9
+ targetSdkVersion 34
10
10
  versionCode 1
11
11
  versionName "1.0"
12
12
  testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
@@ -47,5 +47,5 @@ dependencies {
47
47
  implementation ('es.situm:situm-sdk:3.38.0@aar') {
48
48
  transitive = true
49
49
  }
50
- implementation 'org.apache.cordova:framework:10.1.1'
50
+ implementation 'org.apache.cordova:framework:11.0.0'
51
51
  }
@@ -1,5 +1,4 @@
1
- <manifest xmlns:android="http://schemas.android.com/apk/res/android"
2
- package="es.plugin.situm">
1
+ <manifest xmlns:android="http://schemas.android.com/apk/res/android">
3
2
 
4
3
  <application
5
4
  android:allowBackup="true"
@@ -7,7 +7,7 @@ buildscript {
7
7
  mavenCentral()
8
8
  }
9
9
  dependencies {
10
- classpath 'com.android.tools.build:gradle:4.2.2'
10
+ classpath 'com.android.tools.build:gradle:8.1.4'
11
11
  // NOTE: Do not place your application dependencies here; they belong
12
12
  // in the individual module build.gradle files
13
13
  }
@@ -1,6 +1,6 @@
1
- #Wed Nov 03 09:30:51 CET 2021
1
+ #Mon Aug 03 09:06:52 CEST 2026
2
2
  distributionBase=GRADLE_USER_HOME
3
- distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip
3
+ distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip
4
4
  distributionPath=wrapper/dists
5
5
  zipStorePath=wrapper/dists
6
6
  zipStoreBase=GRADLE_USER_HOME
@@ -11,7 +11,6 @@ allprojects {
11
11
  }
12
12
 
13
13
  dependencies {
14
- implementation 'com.google.android.gms:play-services-location:16.0.0'
15
14
  implementation('es.situm:situm-sdk:3.38.0@aar') {
16
15
  transitive = true
17
16
  }
package/src/ios/Podfile CHANGED
@@ -1,5 +1,5 @@
1
1
  target 'SitumCordovaPlugin' do
2
2
  use_frameworks!
3
- platform :ios, '12.0'
4
- pod 'SitumSDK', '3.40.0'
3
+ platform :ios, '16.0'
4
+ pod 'SitumSDK', '3.41.0'
5
5
  end