@situm/cordova 3.15.47 → 3.15.49

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.
Files changed (23) hide show
  1. package/azure-pipelines.yml +1 -1
  2. package/package.json +1 -1
  3. package/plugin.xml +2 -2
  4. package/src/android/.idea/compiler.xml +6 -0
  5. package/src/android/.idea/gradle.xml +20 -0
  6. package/src/android/.idea/jarRepositories.xml +45 -0
  7. package/src/android/.idea/misc.xml +10 -0
  8. package/src/android/.idea/sonarlint/issuestore/0/5/054f3ad676224d93cd06bca7e951f04d6269a20b +0 -0
  9. package/src/android/.idea/sonarlint/issuestore/2/3/236b1b531318cf6590e3983bff55f12ac56a2b40 +127 -0
  10. package/src/android/.idea/sonarlint/issuestore/5/6/56b5448a64e1c740f135ce6a90936d184372a944 +98 -0
  11. package/src/android/.idea/sonarlint/issuestore/d/3/d387eb59408fcf751873acbba23f60050af4413d +7 -0
  12. package/src/android/.idea/sonarlint/issuestore/f/0/f07866736216be0ee2aba49e392191aeae700a35 +0 -0
  13. package/src/android/.idea/sonarlint/issuestore/f/4/f4a01d6a4fcb971362ec00a83903fd3902f52164 +0 -0
  14. package/src/android/.idea/sonarlint/issuestore/index.pb +13 -0
  15. package/src/android/.idea/sonarlint/securityhotspotstore/0/5/054f3ad676224d93cd06bca7e951f04d6269a20b +0 -0
  16. package/src/android/.idea/sonarlint/securityhotspotstore/2/3/236b1b531318cf6590e3983bff55f12ac56a2b40 +0 -0
  17. package/src/android/.idea/sonarlint/securityhotspotstore/5/6/56b5448a64e1c740f135ce6a90936d184372a944 +0 -0
  18. package/src/android/.idea/sonarlint/securityhotspotstore/d/3/d387eb59408fcf751873acbba23f60050af4413d +0 -0
  19. package/src/android/.idea/sonarlint/securityhotspotstore/f/0/f07866736216be0ee2aba49e392191aeae700a35 +0 -0
  20. package/src/android/.idea/sonarlint/securityhotspotstore/f/4/f4a01d6a4fcb971362ec00a83903fd3902f52164 +0 -0
  21. package/src/android/.idea/sonarlint/securityhotspotstore/index.pb +13 -0
  22. package/src/android/.idea/vcs.xml +6 -0
  23. package/src/ios/Podfile +1 -1
@@ -72,7 +72,7 @@ jobs:
72
72
  pod install
73
73
 
74
74
  echo -e "\n[+] Execute xcode tests \n"
75
-
75
+ xcrun simctl list > /dev/null # Try to minimize some weird errors because not finding emulators
76
76
  xcodebuild test -workspace SitumCordovaPlugin.xcworkspace -scheme CordovaLib -destination $(iosSimulator)
77
77
 
78
78
  if [ $? -ne 0 ];then
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@situm/cordova",
3
- "version": "3.15.47",
3
+ "version": "3.15.49",
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",
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.15.47">
5
+ version="3.15.49">
6
6
  <name>Situm Cordova plugin Official</name>
7
7
  <description>This is the stable branch.</description>
8
8
  <license>MIT</license>
@@ -94,7 +94,7 @@
94
94
  <config>
95
95
  </config>
96
96
  <pods use-frameworks="false">
97
- <pod name="SitumSDK" spec="~> 3.37.2"/>
97
+ <pod name="SitumSDK" spec="~> 3.38.1"/>
98
98
  </pods>
99
99
  </podspec>
100
100
 
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="CompilerConfiguration">
4
+ <bytecodeTargetLevel target="11" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,20 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="GradleMigrationSettings" migrationVersion="1" />
4
+ <component name="GradleSettings">
5
+ <option name="linkedExternalProjectsSettings">
6
+ <GradleProjectSettings>
7
+ <option name="testRunner" value="GRADLE" />
8
+ <option name="distributionType" value="DEFAULT_WRAPPED" />
9
+ <option name="externalProjectPath" value="$PROJECT_DIR$" />
10
+ <option name="modules">
11
+ <set>
12
+ <option value="$PROJECT_DIR$" />
13
+ <option value="$PROJECT_DIR$/app" />
14
+ <option value="$PROJECT_DIR$/framework" />
15
+ </set>
16
+ </option>
17
+ </GradleProjectSettings>
18
+ </option>
19
+ </component>
20
+ </project>
@@ -0,0 +1,45 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="RemoteRepositoriesConfiguration">
4
+ <remote-repository>
5
+ <option name="id" value="central" />
6
+ <option name="name" value="Maven Central repository" />
7
+ <option name="url" value="https://repo1.maven.org/maven2" />
8
+ </remote-repository>
9
+ <remote-repository>
10
+ <option name="id" value="jboss.community" />
11
+ <option name="name" value="JBoss Community repository" />
12
+ <option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
13
+ </remote-repository>
14
+ <remote-repository>
15
+ <option name="id" value="maven2" />
16
+ <option name="name" value="maven2" />
17
+ <option name="url" value="https://maven.google.com" />
18
+ </remote-repository>
19
+ <remote-repository>
20
+ <option name="id" value="maven" />
21
+ <option name="name" value="maven" />
22
+ <option name="url" value="https://repo.situm.es/artifactory/libs-release-local" />
23
+ </remote-repository>
24
+ <remote-repository>
25
+ <option name="id" value="BintrayJCenter" />
26
+ <option name="name" value="BintrayJCenter" />
27
+ <option name="url" value="https://jcenter.bintray.com/" />
28
+ </remote-repository>
29
+ <remote-repository>
30
+ <option name="id" value="Google" />
31
+ <option name="name" value="Google" />
32
+ <option name="url" value="https://dl.google.com/dl/android/maven2/" />
33
+ </remote-repository>
34
+ <remote-repository>
35
+ <option name="id" value="maven4" />
36
+ <option name="name" value="maven4" />
37
+ <option name="url" value="https://repo.situm.es/artifactory/libs-snapshot-local-private" />
38
+ </remote-repository>
39
+ <remote-repository>
40
+ <option name="id" value="maven3" />
41
+ <option name="name" value="maven3" />
42
+ <option name="url" value="https://repo.situm.es/artifactory/lib-release-local-private" />
43
+ </remote-repository>
44
+ </component>
45
+ </project>
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ExternalStorageConfigurationManager" enabled="true" />
4
+ <component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="11" project-jdk-type="JavaSDK">
5
+ <output url="file://$PROJECT_DIR$/build/classes" />
6
+ </component>
7
+ <component name="ProjectType">
8
+ <option name="id" value="Android" />
9
+ </component>
10
+ </project>
@@ -0,0 +1,127 @@
1
+
2
+ |
3
+ java:S2293�"YReplace the type specification in this constructor call with the diamond operator ("<>").(���������8����1
4
+ w
5
+ java:S2293�"YReplace the type specification in this constructor call with the diamond operator ("<>").(�۬�8�����1
6
+ w
7
+ java:S2293�"YReplace the type specification in this constructor call with the diamond operator ("<>").(����8�����1
8
+ i
9
+ java:S1192�"KDefine a constant instead of duplicating this literal "onFailure:" 8 times.(�߽�8�����1
10
+ j
11
+ java:S1192�"LDefine a constant instead of duplicating this literal "onFailure: " 3 times.(�߽�8�����1
12
+ �
13
+ java:S1192�"hDefine a constant instead of duplicating this literal "onSuccess: Floors fetched successfully." 3 times.(����8�����1
14
+ n
15
+ java:S1192~"LDefine a constant instead of duplicating this literal "onSuccess: " 7 times.(˫�������8�����1
16
+ �
17
+ java:S1192�"aDefine a constant instead of duplicating this literal "onError() called with: error = [" 3 times.(��ɸ�����8�����1
18
+ X
19
+ java:S1141�"5Extract this nested try block into a separate method.(���������8�Ϯ��1
20
+ X
21
+ java:S1141�"5Extract this nested try block into a separate method.(���������8�ܸ��1
22
+ X
23
+ java:S1141�"5Extract this nested try block into a separate method.(���������8����1
24
+ ~
25
+ java:S14508"aRemove the "navigationListener" field and declare it as a local variable in the relevant methods.(����8�����1
26
+ }
27
+ java:S14509"`Remove the "navigationRequest" field and declare it as a local variable in the relevant methods.(��ё8�����1
28
+ |
29
+ java:S1450>"_Remove the "realtimeListener" field and declare it as a local variable in the relevant methods.(��8�����1
30
+ s
31
+ java:S3077;"WUse a thread-safe type; adding "volatile" is not enough to make this field thread-safe.(���z8�����1
32
+ t
33
+ java:S3077="WUse a thread-safe type; adding "volatile" is not enough to make this field thread-safe.(���8�����1
34
+ t
35
+ java:S3077?"WUse a thread-safe type; adding "volatile" is not enough to make this field thread-safe.(ꨌ�8�����1
36
+ _
37
+ java:S1172m"CRemove these unused method parameters "cordova", "webView", "args".(�8�����1
38
+ e
39
+ java:S1172s"CRemove these unused method parameters "cordova", "webView", "args".(�♣�����8�����1
40
+ ^
41
+ java:S1172�";Remove these unused method parameters "cordova", "webView".(���������8�����1
42
+ W
43
+ java:S1874�"9Remove this use of "fetchBuildingInfo"; it is deprecated.(�Ǐ�8�����1
44
+ X
45
+ java:S1172�";Remove these unused method parameters "cordova", "webView".(Ժ�/8�����1
46
+ ^
47
+ java:S1172�";Remove these unused method parameters "cordova", "webView".(���������8�����1
48
+ b
49
+ java:S1874�"?Remove this use of "fetchFloorsFromBuilding"; it is deprecated.(��յ�����8�����1
50
+ ^ java:S125�"<This block of commented-out lines of code should be removed.(�ȳ������8�����1
51
+ U
52
+ java:S1135�"2Complete the task associated to this TODO comment.(�ȳ������8�����1
53
+ ^
54
+ java:S1172�";Remove these unused method parameters "cordova", "webView".(�㽳�����8�����1
55
+ f
56
+ java:S1874�"CRemove this use of "fetchIndoorPOIsFromBuilding"; it is deprecated.(���������8�����1
57
+ ^
58
+ java:S1172�";Remove these unused method parameters "cordova", "webView".(���������8�����1
59
+ b
60
+ java:S1874�"DRemove this use of "fetchOutdoorPOIsFromBuilding"; it is deprecated.(�۬�8�����1
61
+ a
62
+ java:S1172�"CRemove these unused method parameters "cordova", "webView", "args".(�Ș�8�����1
63
+ Y
64
+ java:S1172�";Remove these unused method parameters "cordova", "webView".(ŋ��8�����1
65
+ e
66
+ java:S1874�"BRemove this use of "fetchPoiCategoryIconNormal"; it is deprecated.(��������8�����1
67
+ Y
68
+ java:S1172�";Remove these unused method parameters "cordova", "webView".(����8�����1
69
+ g
70
+ java:S1874�"DRemove this use of "fetchPoiCategoryIconSelected"; it is deprecated.(���������8�����1
71
+ Y
72
+ java:S1172�";Remove these unused method parameters "cordova", "webView".(��چ8�����1
73
+ ]
74
+ java:S1874�"?Remove this use of "fetchEventsFromBuilding"; it is deprecated.(����8�����1
75
+ Y
76
+ java:S1172�";Remove these unused method parameters "cordova", "webView".(�8�����1
77
+ Q
78
+ java:S1172�".Remove this unused method parameter "webView".(�������8�����1
79
+ f
80
+ java:S1117�"CRename "locationRequest" which hides the field declared at line 55.(͍�������8�����1
81
+ f
82
+ java:S1172�"CRemove these unused method parameters "cordova", "webView", "args".(���������8�����1
83
+ `
84
+ java:S1172�"CRemove these unused method parameters "cordova", "webView", "args".(���8�����1
85
+ a
86
+ java:S1172�"CRemove these unused method parameters "cordova", "webView", "args".(ЏŸ8�����1
87
+ a
88
+ java:S1874�">Remove this use of "startActivityForResult"; it is deprecated.(􎦭�����8�����1
89
+ p
90
+ java:S3776�"RRefactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed.(����8����1
91
+ Q
92
+ java:S1172�".Remove this unused method parameter "webView".(׸�������8�Ю��1
93
+ P
94
+ java:S1135�"2Complete the task associated to this TODO comment.(��ż8����1
95
+ U
96
+ java:S1135�"2Complete the task associated to this TODO comment.(���������8����1
97
+ P
98
+ java:S1135�"2Complete the task associated to this TODO comment.(��ż8����1
99
+ ?
100
+ java:S1116�"Remove this empty statement.(���������8����1
101
+ m
102
+ java:S1874�"JDon't override a deprecated method or explicitly mark it as "@Deprecated".(Ӝǫ�����8����1
103
+ ]
104
+ java:S1161�":Add the "@Override" annotation above this method signature(Ӝǫ�����8����1
105
+ ?
106
+ java:S1116�"Remove this empty statement.(���������8����1
107
+ P
108
+ java:S1135�"2Complete the task associated to this TODO comment.(����8����1
109
+ Y
110
+ java:S1172�";Remove these unused method parameters "cordova", "webView".(�ǂ�8�ݸ��1
111
+ y
112
+ java:S1172�"VRemove these unused method parameters "cordova", "webView", "args", "callbackContext".(���������8�ݸ��1
113
+ O
114
+ java:S1135�"2Complete the task associated to this TODO comment.(˷�8����1
115
+ Y
116
+ java:S1172�";Remove these unused method parameters "cordova", "webView".(���8�ݸ��1
117
+ Y java:S125�"<This block of commented-out lines of code should be removed.(����8����1
118
+ y
119
+ java:S1172�"VRemove these unused method parameters "cordova", "webView", "args", "callbackContext".(��������8�ݸ��1
120
+ U
121
+ java:S1135�"2Complete the task associated to this TODO comment.(������8����1
122
+ Q
123
+ java:S1172�".Remove this unused method parameter "webView".(���������8�ݸ��1
124
+ O
125
+ java:S10687"3Remove this unused "locationRequest" private field.(���B8�����1
126
+ V
127
+ java:S1068B"4Remove this unused "computedLocation" private field.(症������8�����1
@@ -0,0 +1,98 @@
1
+
2
+ K
3
+ java:S3740�"/Provide the parametrized type for this generic.(�띍�����
4
+ p
5
+ java:S2293�"YReplace the type specification in this constructor call with the diamond operator ("<>").(��Ό
6
+ p
7
+ java:S2293�"YReplace the type specification in this constructor call with the diamond operator ("<>").(���
8
+ p
9
+ java:S2293�"YReplace the type specification in this constructor call with the diamond operator ("<>").(�ݙ�
10
+ u
11
+ java:S2293�"YReplace the type specification in this constructor call with the diamond operator ("<>").(�������
12
+ l java:S117�"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(�������
13
+ Z
14
+ java:S2589�"7Remove this expression which always evaluates to "true"(��˜�����8̯���1
15
+ U
16
+ java:S1118<":Add a private constructor to hide the implicit public one.(���������
17
+ W
18
+ java:S1874�"4Remove this use of "getCreatedAt"; it is deprecated.(������8�����1
19
+ R
20
+ java:S1874�"4Remove this use of "getUpdatedAt"; it is deprecated.(���8�����1
21
+ W
22
+ java:S1874�"4Remove this use of "getCreatedAt"; it is deprecated.(��Ӱ�����8�����1
23
+ W
24
+ java:S1874�"4Remove this use of "getUpdatedAt"; it is deprecated.(ݴ�������8�����1
25
+ S
26
+ java:S1874�"0Remove this use of "getLevel"; it is deprecated.(�������8�����1
27
+ W
28
+ java:S1874�"4Remove this use of "getCreatedAt"; it is deprecated.(ٴ�������8�����1
29
+ W
30
+ java:S1874�"4Remove this use of "getUpdatedAt"; it is deprecated.(���������8�����1
31
+ K
32
+ java:S1874�"-Remove this use of "level"; it is deprecated.(����8�����1
33
+ S
34
+ java:S1874�"5Remove this use of "getBuildingId"; it is deprecated.(����8�����1
35
+ P
36
+ java:S1874�"3Remove this use of "getFloor_id"; it is deprecated.(���.8�����1
37
+ V
38
+ java:S1874�"9Remove this use of "getConversionArea"; it is deprecated.(���b8�����1
39
+ O
40
+ java:S1874�"1Remove this use of "getRadius"; it is deprecated.(����8�����1
41
+ O
42
+ java:S1874�",Remove this use of "getX"; it is deprecated.(���������8�����1
43
+ J
44
+ java:S1874�",Remove this use of "getY"; it is deprecated.(�ƛ�8�����1
45
+ Y
46
+ java:S1874�";Remove this use of "SitumConversionArea"; it is deprecated.(����8�����1
47
+ R
48
+ java:S1874�"/Remove this use of "Point2f"; it is deprecated.(�ۢ������8�����1
49
+ R
50
+ java:S1874�"4Remove this use of "getCreatedAt"; it is deprecated.(���8�����1
51
+ R
52
+ java:S1874�"4Remove this use of "getUpdatedAt"; it is deprecated.(ת��8�����1
53
+ =
54
+ java:S1125�"'Remove the unnecessary boolean literal.(���2
55
+ =
56
+ java:S1125�"'Remove the unnecessary boolean literal.(���2
57
+ �
58
+ java:S1130�"oRemove the declaration of thrown exception 'org.json.JSONException', as it cannot be thrown from method's body.(�Ͽ�
59
+ �
60
+ java:S1130�"oRemove the declaration of thrown exception 'org.json.JSONException', as it cannot be thrown from method's body.(��������8�����1
61
+ J
62
+ java:S1172�".Remove this unused method parameter "context".(��������
63
+ �
64
+ java:S1130�"oRemove the declaration of thrown exception 'org.json.JSONException', as it cannot be thrown from method's body.(����8�1
65
+ E
66
+ java:S1172�".Remove this unused method parameter "context".(����
67
+ i
68
+ java:S3776�"RRefactor this method to reduce its Cognitive Complexity from 58 to the 15 allowed.(����
69
+ Y
70
+ java:S1874�"6Remove this use of "IndoorProvider"; it is deprecated.(���������8ɰ���1
71
+ R
72
+ java:S1874�"/Remove this use of "SUPPORT"; it is deprecated.(���������8ɰ���1
73
+ Y
74
+ java:S1874�"6Remove this use of "indoorProvider"; it is deprecated.(���������8ɰ���1
75
+ Y
76
+ java:S1874�"6Remove this use of "IndoorProvider"; it is deprecated.(���������8ɰ���1
77
+ R
78
+ java:S1874�"/Remove this use of "SUPPORT"; it is deprecated.(���������8ɰ���1
79
+ Y
80
+ java:S1874�"6Remove this use of "indoorProvider"; it is deprecated.(и�������8ɰ���1
81
+ Y
82
+ java:S1874�"6Remove this use of "IndoorProvider"; it is deprecated.(и�������8ɰ���1
83
+ Y
84
+ java:S1874�"6Remove this use of "IndoorProvider"; it is deprecated.(и�������8ɰ���1
85
+ D
86
+ java:S1874�"-Remove this use of "Float"; it is deprecated.(�Џ�
87
+ _
88
+ java:S1874�"<Remove this use of "userDefinedThreshold"; it is deprecated.(���������8��1
89
+ 3
90
+ java:S1116�"Remove this empty statement.(���
91
+ D
92
+ java:S1874�"-Remove this use of "Float"; it is deprecated.(����
93
+ Y
94
+ java:S1874�";Remove this use of "averageSnrThreshold"; it is deprecated.(���8Ѱ���1
95
+ i
96
+ java:S3776�"RRefactor this method to reduce its Cognitive Complexity from 27 to the 15 allowed.(����
97
+ �
98
+ java:S6541�"�A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 127 to 64, Complexity from 39 to 14, Nesting Level from 4 to 2, Number of Variables from 23 to 6.(����
@@ -0,0 +1,7 @@
1
+
2
+ U
3
+ java:S1161#":Add the "@Override" annotation above this method signature(�ѐ������
4
+ h
5
+ java:S3776)"RRefactor this method to reduce its Cognitive Complexity from 28 to the 15 allowed.(����
6
+ P
7
+ java:S1161)":Add the "@Override" annotation above this method signature(����
@@ -0,0 +1,13 @@
1
+
2
+ @
3
+ app/build.gradle,f/4/f4a01d6a4fcb971362ec00a83903fd3902f52164
4
+ <
5
+ situm.gradle,0/5/054f3ad676224d93cd06bca7e951f04d6269a20b
6
+ b
7
+ 2app/src/main/java/es/situm/plugin/SitumMapper.java,5/6/56b5448a64e1c740f135ce6a90936d184372a944
8
+ <
9
+ build.gradle,f/0/f07866736216be0ee2aba49e392191aeae700a35
10
+ b
11
+ 2app/src/main/java/es/situm/plugin/SitumPlugin.java,d/3/d387eb59408fcf751873acbba23f60050af4413d
12
+ c
13
+ 3app/src/main/java/es/situm/plugin/PluginHelper.java,2/3/236b1b531318cf6590e3983bff55f12ac56a2b40
@@ -0,0 +1,13 @@
1
+
2
+ @
3
+ app/build.gradle,f/4/f4a01d6a4fcb971362ec00a83903fd3902f52164
4
+ <
5
+ situm.gradle,0/5/054f3ad676224d93cd06bca7e951f04d6269a20b
6
+ b
7
+ 2app/src/main/java/es/situm/plugin/SitumMapper.java,5/6/56b5448a64e1c740f135ce6a90936d184372a944
8
+ <
9
+ build.gradle,f/0/f07866736216be0ee2aba49e392191aeae700a35
10
+ b
11
+ 2app/src/main/java/es/situm/plugin/SitumPlugin.java,d/3/d387eb59408fcf751873acbba23f60050af4413d
12
+ c
13
+ 3app/src/main/java/es/situm/plugin/PluginHelper.java,2/3/236b1b531318cf6590e3983bff55f12ac56a2b40
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="$PROJECT_DIR$/../.." vcs="Git" />
5
+ </component>
6
+ </project>
package/src/ios/Podfile CHANGED
@@ -1,5 +1,5 @@
1
1
  target 'SitumCordovaPlugin' do
2
2
  use_frameworks!
3
3
  platform :ios, '12.0'
4
- pod 'SitumSDK', '3.37.2'
4
+ pod 'SitumSDK', '3.38.1'
5
5
  end