@situm/cordova 3.15.14 → 3.15.15
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/docs/getting-started.md +4 -4
- package/example/azure/build-examples.yaml +1 -1
- package/package.json +1 -1
- package/plugin.xml +2 -2
- package/src/ios/Podfile +1 -1
- package/src/ios/SitumCordovaPlugin.xcodeproj/project.pbxproj +27 -24
- package/src/ios/situmcordovaplugin/SitumPlugin.m +2 -2
- package/tests/js/resources/fetchEventsFromBuilding.json +2 -2
- package/tests/js/resources/fetchFloorsFromBuilding.json +4 -4
package/docs/getting-started.md
CHANGED
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
</div>
|
|
6
6
|
|
|
7
7
|
In this tutorial, we will guide you step by step to set up your first Cordova application using Cordova Situm Plugin.
|
|
8
|
-
Before starting to write code, we recommend you to set up an account on our Dashboard ([https://dashboard.situm.
|
|
8
|
+
Before starting to write code, we recommend you to set up an account on our Dashboard ([https://dashboard.situm.com](https://dashboard.situm.com)), retrieve your API KEY and configure your first building.
|
|
9
9
|
|
|
10
|
-
1. Go to the [sign in form](http://dashboard.situm.
|
|
10
|
+
1. Go to the [sign in form](http://dashboard.situm.com/accounts/register) and enter your username and password to sign in.
|
|
11
11
|
|
|
12
|
-
2. Go to the [account section](https://dashboard.situm.
|
|
12
|
+
2. Go to the [account section](https://dashboard.situm.com/accounts/profile) and on the bottom, click on “generate one” to generate your API KEY.
|
|
13
13
|
|
|
14
|
-
3. Go to the [buildings section](http://dashboard.situm.
|
|
14
|
+
3. Go to the [buildings section](http://dashboard.situm.com/buildings) and create your first building.
|
|
15
15
|
|
|
16
16
|
4. Download Situm Mapping Tool in Play Store (Only Android devices) and calibrate your building. Check out our user guide for detailed information.
|
|
17
17
|
|
|
@@ -67,7 +67,7 @@ steps:
|
|
|
67
67
|
echo -e "\n[+] Install fastlane \n"
|
|
68
68
|
gem install fastlane
|
|
69
69
|
|
|
70
|
-
export WHATS_NEW="Plugin version: $(pluginVersion), USER: ${{parameters.XAPIEMAIL}}, BUILDINGID: ${{ parameters.BUILDINGID }}, DASHBOARD_URL: https://
|
|
70
|
+
export WHATS_NEW="Plugin version: $(pluginVersion), USER: ${{parameters.XAPIEMAIL}}, BUILDINGID: ${{ parameters.BUILDINGID }}, DASHBOARD_URL: https://api.situm.com MAPVIEWER_DOMAIN: ${{ parameters.MAPVIEWERDOMAIN}}"
|
|
71
71
|
export BUILDNUMBER=${{ parameters.BUILDNUMBER }}
|
|
72
72
|
export appleDevTeamId=$(appleDevTeamId)
|
|
73
73
|
echo -e "\n[+] Setting variables to deploy:"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@situm/cordova",
|
|
3
|
-
"version": "3.15.
|
|
3
|
+
"version": "3.15.15",
|
|
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.
|
|
5
|
+
version="3.15.15">
|
|
6
6
|
<name>Situm Cordova plugin Official</name>
|
|
7
7
|
<description>This is the stable branch.</description>
|
|
8
8
|
<license>MIT</license>
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
<config>
|
|
94
94
|
</config>
|
|
95
95
|
<pods use-frameworks="false">
|
|
96
|
-
<pod name="SitumSDK" spec="~> 3.33.
|
|
96
|
+
<pod name="SitumSDK" spec="~> 3.33.1"/>
|
|
97
97
|
</pods>
|
|
98
98
|
</podspec>
|
|
99
99
|
|
package/src/ios/Podfile
CHANGED
|
@@ -47,9 +47,9 @@
|
|
|
47
47
|
0DF4AB1E21143D5800D81A31 /* SitumPlugin.m in Sources */ = {isa = PBXBuildFile; fileRef = 0DF4AB1421143D5700D81A31 /* SitumPlugin.m */; };
|
|
48
48
|
0DF4AB1F21143D5800D81A31 /* ViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 0DF4AB1521143D5700D81A31 /* ViewController.h */; };
|
|
49
49
|
0DF4AB2021143D5800D81A31 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 0DF4AB1621143D5700D81A31 /* ViewController.m */; };
|
|
50
|
+
0FB43F032F027E888989A5A6 /* Pods_SitumCordovaPlugin.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 361A0C80C99309A1162DA760 /* Pods_SitumCordovaPlugin.framework */; };
|
|
50
51
|
230FADC12BC815C30079D285 /* libc++.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 230FADB52BC8145A0079D285 /* libc++.tbd */; };
|
|
51
52
|
2318D0F32CD25DEC0068DF54 /* SitumSDK.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2318D0F22CD25DEC0068DF54 /* SitumSDK.xcframework */; };
|
|
52
|
-
29A6B8BBD41A308233C44F3E /* Pods_SitumCordovaPlugin.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BF639F8C42C24AB0EC736F85 /* Pods_SitumCordovaPlugin.framework */; };
|
|
53
53
|
3A4011372153B0D500AC3BD5 /* InputCoordinateTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 3A4011362153B0D500AC3BD5 /* InputCoordinateTests.m */; };
|
|
54
54
|
3A4011392153B24400AC3BD5 /* InputLocationTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 3A4011382153B24400AC3BD5 /* InputLocationTests.m */; };
|
|
55
55
|
3A40113B2153C4CB00AC3BD5 /* InputPoiCategoryTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 3A40113A2153C4CB00AC3BD5 /* InputPoiCategoryTests.m */; };
|
|
@@ -203,6 +203,7 @@
|
|
|
203
203
|
230FADB52BC8145A0079D285 /* libc++.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = "libc++.tbd"; path = "Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr/lib/libc++.tbd"; sourceTree = DEVELOPER_DIR; };
|
|
204
204
|
2318D0F22CD25DEC0068DF54 /* SitumSDK.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = SitumSDK.xcframework; path = ../Pods/SitumSDK/SitumSDK.xcframework; sourceTree = "<group>"; };
|
|
205
205
|
30325A0B136B343700982B63 /* VERSION */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = VERSION; sourceTree = "<group>"; };
|
|
206
|
+
361A0C80C99309A1162DA760 /* Pods_SitumCordovaPlugin.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SitumCordovaPlugin.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
206
207
|
3A4011362153B0D500AC3BD5 /* InputCoordinateTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = InputCoordinateTests.m; sourceTree = "<group>"; };
|
|
207
208
|
3A4011382153B24400AC3BD5 /* InputLocationTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = InputLocationTests.m; sourceTree = "<group>"; };
|
|
208
209
|
3A40113A2153C4CB00AC3BD5 /* InputPoiCategoryTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = InputPoiCategoryTests.m; sourceTree = "<group>"; };
|
|
@@ -210,8 +211,6 @@
|
|
|
210
211
|
3A4D721621525B970038ED55 /* InputPointTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = InputPointTests.m; sourceTree = "<group>"; };
|
|
211
212
|
3A4D721A215276660038ED55 /* InputCartesianCoordinateTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = InputCartesianCoordinateTests.m; sourceTree = "<group>"; };
|
|
212
213
|
3AC2FF4D21ADA883005D438A /* SitumSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SitumSDK.framework; path = Pods/SitumSDK/SitumSDK.framework; sourceTree = SOURCE_ROOT; };
|
|
213
|
-
46C0027AC4E47712B8F99B92 /* Pods-SitumCordovaPlugin.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SitumCordovaPlugin.debug.xcconfig"; path = "Pods/Target Support Files/Pods-SitumCordovaPlugin/Pods-SitumCordovaPlugin.debug.xcconfig"; sourceTree = "<group>"; };
|
|
214
|
-
62F273CAF5F251313DF70561 /* Pods-SitumCordovaPlugin.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SitumCordovaPlugin.release.xcconfig"; path = "Pods/Target Support Files/Pods-SitumCordovaPlugin/Pods-SitumCordovaPlugin.release.xcconfig"; sourceTree = "<group>"; };
|
|
215
214
|
68A32D7114102E1C006B237C /* libCordova.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libCordova.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
216
215
|
7ED95CF21AB9028C008C4574 /* CDVDebug.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CDVDebug.h; sourceTree = "<group>"; };
|
|
217
216
|
7ED95CF31AB9028C008C4574 /* CDVJSON_private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CDVJSON_private.h; sourceTree = "<group>"; };
|
|
@@ -253,7 +252,6 @@
|
|
|
253
252
|
7ED95D321AB9029B008C4574 /* NSDictionary+CordovaPreferences.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSDictionary+CordovaPreferences.m"; sourceTree = "<group>"; };
|
|
254
253
|
7ED95D331AB9029B008C4574 /* NSMutableArray+QueueAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSMutableArray+QueueAdditions.h"; sourceTree = "<group>"; };
|
|
255
254
|
7ED95D341AB9029B008C4574 /* NSMutableArray+QueueAdditions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSMutableArray+QueueAdditions.m"; sourceTree = "<group>"; };
|
|
256
|
-
8F5368C04B299F04076437E6 /* Pods_situmcordovaplugintests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_situmcordovaplugintests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
257
255
|
952D03AF21B160DE000C6530 /* DirectionsRequestTest.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DirectionsRequestTest.m; sourceTree = "<group>"; };
|
|
258
256
|
954995EE214F8BBB007F3C28 /* Constants.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Constants.h; sourceTree = "<group>"; };
|
|
259
257
|
954995EF214F8BBB007F3C28 /* Constants.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Constants.m; sourceTree = "<group>"; };
|
|
@@ -277,10 +275,11 @@
|
|
|
277
275
|
95D33B48214B9680000E073E /* PoiTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PoiTests.m; sourceTree = "<group>"; };
|
|
278
276
|
95F6FF5D2153B5E700AE30B5 /* InputFloorTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = InputFloorTests.m; sourceTree = "<group>"; };
|
|
279
277
|
AA747D9E0F9514B9006C5449 /* SitumCordovaPlugin_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SitumCordovaPlugin_Prefix.pch; path = ../../SitumCordovaPlugin_Prefix.pch; sourceTree = "<group>"; };
|
|
280
|
-
|
|
278
|
+
BF684A4E675FE4E8902BC5BE /* Pods-SitumCordovaPlugin.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SitumCordovaPlugin.debug.xcconfig"; path = "Target Support Files/Pods-SitumCordovaPlugin/Pods-SitumCordovaPlugin.debug.xcconfig"; sourceTree = "<group>"; };
|
|
281
279
|
C0C01EB21E3911D50056E6CB /* Cordova.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Cordova.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
282
280
|
C0C01EB41E3911D50056E6CB /* Cordova.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Cordova.h; sourceTree = "<group>"; };
|
|
283
281
|
C0C01EB51E3911D50056E6CB /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
|
282
|
+
CE087A0BB81E7EE50C70C3E4 /* Pods-SitumCordovaPlugin.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SitumCordovaPlugin.release.xcconfig"; path = "Target Support Files/Pods-SitumCordovaPlugin/Pods-SitumCordovaPlugin.release.xcconfig"; sourceTree = "<group>"; };
|
|
284
283
|
/* End PBXFileReference section */
|
|
285
284
|
|
|
286
285
|
/* Begin PBXFrameworksBuildPhase section */
|
|
@@ -306,7 +305,7 @@
|
|
|
306
305
|
isa = PBXFrameworksBuildPhase;
|
|
307
306
|
buildActionMask = 2147483647;
|
|
308
307
|
files = (
|
|
309
|
-
|
|
308
|
+
0FB43F032F027E888989A5A6 /* Pods_SitumCordovaPlugin.framework in Frameworks */,
|
|
310
309
|
);
|
|
311
310
|
runOnlyForDeploymentPostprocessing = 0;
|
|
312
311
|
};
|
|
@@ -323,7 +322,7 @@
|
|
|
323
322
|
name = Products;
|
|
324
323
|
sourceTree = CORDOVALIB;
|
|
325
324
|
};
|
|
326
|
-
0867D691FE84028FC02AAC07
|
|
325
|
+
0867D691FE84028FC02AAC07 = {
|
|
327
326
|
isa = PBXGroup;
|
|
328
327
|
children = (
|
|
329
328
|
0DF4AB0521143D5700D81A31 /* situmcordovaplugin */,
|
|
@@ -334,7 +333,7 @@
|
|
|
334
333
|
034768DFFF38A50411DB9C8B /* Products */,
|
|
335
334
|
0D5184E921145DEB00BFA9E3 /* Frameworks */,
|
|
336
335
|
30325A0B136B343700982B63 /* VERSION */,
|
|
337
|
-
|
|
336
|
+
2171956E4E55E1727C64E4E0 /* Pods */,
|
|
338
337
|
);
|
|
339
338
|
name = CordovaLib;
|
|
340
339
|
sourceTree = "<group>";
|
|
@@ -346,8 +345,7 @@
|
|
|
346
345
|
230FADB52BC8145A0079D285 /* libc++.tbd */,
|
|
347
346
|
0D884A0821145E510066C765 /* SitumSDK.framework */,
|
|
348
347
|
3AC2FF4D21ADA883005D438A /* SitumSDK.framework */,
|
|
349
|
-
|
|
350
|
-
8F5368C04B299F04076437E6 /* Pods_situmcordovaplugintests.framework */,
|
|
348
|
+
361A0C80C99309A1162DA760 /* Pods_SitumCordovaPlugin.framework */,
|
|
351
349
|
);
|
|
352
350
|
path = Frameworks;
|
|
353
351
|
sourceTree = "<group>";
|
|
@@ -477,6 +475,16 @@
|
|
|
477
475
|
path = situmcordovaplugin;
|
|
478
476
|
sourceTree = "<group>";
|
|
479
477
|
};
|
|
478
|
+
2171956E4E55E1727C64E4E0 /* Pods */ = {
|
|
479
|
+
isa = PBXGroup;
|
|
480
|
+
children = (
|
|
481
|
+
BF684A4E675FE4E8902BC5BE /* Pods-SitumCordovaPlugin.debug.xcconfig */,
|
|
482
|
+
CE087A0BB81E7EE50C70C3E4 /* Pods-SitumCordovaPlugin.release.xcconfig */,
|
|
483
|
+
);
|
|
484
|
+
name = Pods;
|
|
485
|
+
path = Pods;
|
|
486
|
+
sourceTree = "<group>";
|
|
487
|
+
};
|
|
480
488
|
3A4D721521525AB20038ED55 /* InputTests */ = {
|
|
481
489
|
isa = PBXGroup;
|
|
482
490
|
children = (
|
|
@@ -560,15 +568,6 @@
|
|
|
560
568
|
path = Cordova;
|
|
561
569
|
sourceTree = "<group>";
|
|
562
570
|
};
|
|
563
|
-
DF13D93707E045B4473AC963 /* Pods */ = {
|
|
564
|
-
isa = PBXGroup;
|
|
565
|
-
children = (
|
|
566
|
-
46C0027AC4E47712B8F99B92 /* Pods-SitumCordovaPlugin.debug.xcconfig */,
|
|
567
|
-
62F273CAF5F251313DF70561 /* Pods-SitumCordovaPlugin.release.xcconfig */,
|
|
568
|
-
);
|
|
569
|
-
name = Pods;
|
|
570
|
-
sourceTree = "<group>";
|
|
571
|
-
};
|
|
572
571
|
/* End PBXGroup section */
|
|
573
572
|
|
|
574
573
|
/* Begin PBXHeadersBuildPhase section */
|
|
@@ -689,7 +688,7 @@
|
|
|
689
688
|
isa = PBXNativeTarget;
|
|
690
689
|
buildConfigurationList = 1DEB921E08733DC00010E9CD /* Build configuration list for PBXNativeTarget "SitumCordovaPlugin" */;
|
|
691
690
|
buildPhases = (
|
|
692
|
-
|
|
691
|
+
FA6EE7DFE56F7763CB81C9E2 /* [CP] Check Pods Manifest.lock */,
|
|
693
692
|
D2AAC07A0554694100DB518D /* Headers */,
|
|
694
693
|
D2AAC07B0554694100DB518D /* Sources */,
|
|
695
694
|
D2AAC07C0554694100DB518D /* Frameworks */,
|
|
@@ -735,7 +734,7 @@
|
|
|
735
734
|
en,
|
|
736
735
|
Base,
|
|
737
736
|
);
|
|
738
|
-
mainGroup = 0867D691FE84028FC02AAC07
|
|
737
|
+
mainGroup = 0867D691FE84028FC02AAC07;
|
|
739
738
|
productRefGroup = 034768DFFF38A50411DB9C8B /* Products */;
|
|
740
739
|
projectDirPath = "";
|
|
741
740
|
projectRoot = "";
|
|
@@ -775,16 +774,20 @@
|
|
|
775
774
|
/* End PBXResourcesBuildPhase section */
|
|
776
775
|
|
|
777
776
|
/* Begin PBXShellScriptBuildPhase section */
|
|
778
|
-
|
|
777
|
+
FA6EE7DFE56F7763CB81C9E2 /* [CP] Check Pods Manifest.lock */ = {
|
|
779
778
|
isa = PBXShellScriptBuildPhase;
|
|
780
779
|
buildActionMask = 2147483647;
|
|
781
780
|
files = (
|
|
782
781
|
);
|
|
782
|
+
inputFileListPaths = (
|
|
783
|
+
);
|
|
783
784
|
inputPaths = (
|
|
784
785
|
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
|
|
785
786
|
"${PODS_ROOT}/Manifest.lock",
|
|
786
787
|
);
|
|
787
788
|
name = "[CP] Check Pods Manifest.lock";
|
|
789
|
+
outputFileListPaths = (
|
|
790
|
+
);
|
|
788
791
|
outputPaths = (
|
|
789
792
|
"$(DERIVED_FILE_DIR)/Pods-SitumCordovaPlugin-checkManifestLockResult.txt",
|
|
790
793
|
);
|
|
@@ -1037,7 +1040,7 @@
|
|
|
1037
1040
|
};
|
|
1038
1041
|
1DEB921F08733DC00010E9CD /* Debug */ = {
|
|
1039
1042
|
isa = XCBuildConfiguration;
|
|
1040
|
-
baseConfigurationReference =
|
|
1043
|
+
baseConfigurationReference = BF684A4E675FE4E8902BC5BE /* Pods-SitumCordovaPlugin.debug.xcconfig */;
|
|
1041
1044
|
buildSettings = {
|
|
1042
1045
|
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
1043
1046
|
CLANG_ENABLE_MODULES = YES;
|
|
@@ -1069,7 +1072,7 @@
|
|
|
1069
1072
|
};
|
|
1070
1073
|
1DEB922008733DC00010E9CD /* Release */ = {
|
|
1071
1074
|
isa = XCBuildConfiguration;
|
|
1072
|
-
baseConfigurationReference =
|
|
1075
|
+
baseConfigurationReference = CE087A0BB81E7EE50C70C3E4 /* Pods-SitumCordovaPlugin.release.xcconfig */;
|
|
1073
1076
|
buildSettings = {
|
|
1074
1077
|
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
1075
1078
|
CLANG_ENABLE_MODULES = YES;
|
|
@@ -128,7 +128,7 @@ static NSString *DEFAULT_SITUM_LOG = @"SitumSDK >>: ";
|
|
|
128
128
|
if (IS_LOG_ENABLED) {
|
|
129
129
|
NSLog(@"%@", [NSString stringWithFormat: @"%@ %@ No buildings were retrieved", DEFAULT_SITUM_LOG, operation]);
|
|
130
130
|
}
|
|
131
|
-
pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageAsString:@"There are no buildings on the account. Please go to dashboard http://dashboard.situm.
|
|
131
|
+
pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageAsString:@"There are no buildings on the account. Please go to dashboard http://dashboard.situm.com and learn more about the first step with Situm technology"];
|
|
132
132
|
}
|
|
133
133
|
else {
|
|
134
134
|
NSMutableArray *ja = [[NSMutableArray alloc] init];
|
|
@@ -256,7 +256,7 @@ static NSString *DEFAULT_SITUM_LOG = @"SitumSDK >>: ";
|
|
|
256
256
|
if (IS_LOG_ENABLED) {
|
|
257
257
|
NSLog(@"%@", [NSString stringWithFormat: @"%@ %@ no floors on building: %@", DEFAULT_SITUM_LOG, operation, buildingJO]);
|
|
258
258
|
}
|
|
259
|
-
pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageAsString:@"The selected building does not have floors. Correct that on http://dashboard.situm.
|
|
259
|
+
pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageAsString:@"The selected building does not have floors. Correct that on http://dashboard.situm.com"];
|
|
260
260
|
} else {
|
|
261
261
|
if (IS_LOG_ENABLED) {
|
|
262
262
|
NSLog(@"%@", [NSString stringWithFormat: @"%@ %@ retrieved floors: %@ on building: %@", DEFAULT_SITUM_LOG, operation, floors, buildingJO]);
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
"identifier": 2120,
|
|
132
132
|
"name": "VISITA LA WEB DE SITUM",
|
|
133
133
|
"floorIdentifier": 5762,
|
|
134
|
-
"infoHtml": "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\" \"http://www.w3.org/TR/REC-html40/loose.dtd\">\n<html><body>\n<p><a href=\"http://www.situm.es\" rel=\"nofollow\">http://www.situm.es</a></p>\n<p><img class=\"fr-fin fr-dib\" alt=\"Image title\" src=\"https://
|
|
134
|
+
"infoHtml": "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\" \"http://www.w3.org/TR/REC-html40/loose.dtd\">\n<html><body>\n<p><a href=\"http://www.situm.es\" rel=\"nofollow\">http://www.situm.es</a></p>\n<p><img class=\"fr-fin fr-dib\" alt=\"Image title\" src=\"https://api.situm.com/uploads/rtf/906/e6d33424-58f1-4fcc-b457-6f6f41275d08.png\" width=\"300\" title=\"Image title\"></p>\n<p><br></p>\n</body></html>\n",
|
|
135
135
|
"conversionArea": {
|
|
136
136
|
"floorIdentifier": 0,
|
|
137
137
|
"topLeft": "Point2f{ x=0.0, y=0.0}",
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
"identifier": 2117,
|
|
186
186
|
"name": "Evento con imaxe",
|
|
187
187
|
"floorIdentifier": 5762,
|
|
188
|
-
"infoHtml": "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\" \"http://www.w3.org/TR/REC-html40/loose.dtd\">\n<html><body>\n<p><img class=\"fr-fin fr-dib\" alt=\"Image title\" src=\"https://
|
|
188
|
+
"infoHtml": "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\" \"http://www.w3.org/TR/REC-html40/loose.dtd\">\n<html><body>\n<p><img class=\"fr-fin fr-dib\" alt=\"Image title\" src=\"https://api.situm.com/uploads/rtf/8680/0c95db1c-8772-4d08-89e9-3779d0196237.png\" width=\"300\" title=\"Image title\"></p>\n<p><br></p>\n</body></html>\n",
|
|
189
189
|
"conversionArea": {
|
|
190
190
|
"floorIdentifier": 5762,
|
|
191
191
|
"topLeft": "Point2f{ x=7.5667120540507495, y=23.20767040283435}",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"altitude": 0,
|
|
4
4
|
"buildingIdentifier": "3468",
|
|
5
5
|
"level": -1,
|
|
6
|
-
"mapUrl": "https://
|
|
6
|
+
"mapUrl": "https://api.situm.com/uploads/floor/5762/b61bf2f5-af5f-415e-a34c-7826bf0440e2.png",
|
|
7
7
|
"scale": 17.785628623816095,
|
|
8
8
|
"floorIdentifier": "5762"
|
|
9
9
|
},
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"altitude": 0,
|
|
12
12
|
"buildingIdentifier": "3468",
|
|
13
13
|
"level": 0,
|
|
14
|
-
"mapUrl": "https://
|
|
14
|
+
"mapUrl": "https://api.situm.com/uploads/floor/5763/9bca9927-b77d-4022-bdb4-f38d0d1f515b.png",
|
|
15
15
|
"scale": 17.785628623816095,
|
|
16
16
|
"floorIdentifier": "5763"
|
|
17
17
|
},
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"altitude": 16,
|
|
20
20
|
"buildingIdentifier": "3468",
|
|
21
21
|
"level": 1,
|
|
22
|
-
"mapUrl": "https://
|
|
22
|
+
"mapUrl": "https://api.situm.com/uploads/floor/5764/e2e15d0f-78ab-4014-8196-3fd7fc41fd37.png",
|
|
23
23
|
"scale": 17.785628623816095,
|
|
24
24
|
"floorIdentifier": "5764"
|
|
25
25
|
},
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"altitude": 30,
|
|
28
28
|
"buildingIdentifier": "3468",
|
|
29
29
|
"level": 2,
|
|
30
|
-
"mapUrl": "https://
|
|
30
|
+
"mapUrl": "https://api.situm.com/uploads/floor/5765/51fa780f-3360-4c08-8a29-4d29e4349d0e.png",
|
|
31
31
|
"scale": 17.785628623816095,
|
|
32
32
|
"floorIdentifier": "5765"
|
|
33
33
|
}
|