@situm/react-native 3.0.10 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/android/src/main/java/com/situm/plugin/PluginHelper.java +3 -2
  2. package/android/src/main/java/com/situm/plugin/SitumMapper.java +38 -59
  3. package/android/src/main/java/com/situm/plugin/SitumPlugin.java +1 -0
  4. package/android/src/main/java/com/situm/plugin/SitumPluginImpl.java +1 -1
  5. package/ios/SitumPlugin.m +8 -2
  6. package/lib/commonjs/sdk/index.js +509 -251
  7. package/lib/commonjs/sdk/index.js.map +1 -1
  8. package/lib/commonjs/sdk/nativeInterface.js.map +1 -1
  9. package/lib/commonjs/sdk/types/constants.js +31 -4
  10. package/lib/commonjs/sdk/types/constants.js.map +1 -1
  11. package/lib/commonjs/sdk/utils.js +103 -0
  12. package/lib/commonjs/sdk/utils.js.map +1 -0
  13. package/lib/commonjs/utils/requestPermission.js +9 -16
  14. package/lib/commonjs/utils/requestPermission.js.map +1 -1
  15. package/lib/commonjs/wayfinding/components/MapView.js +78 -134
  16. package/lib/commonjs/wayfinding/components/MapView.js.map +1 -1
  17. package/lib/commonjs/wayfinding/hooks/index.js +118 -278
  18. package/lib/commonjs/wayfinding/hooks/index.js.map +1 -1
  19. package/lib/commonjs/wayfinding/store/index.js +17 -6
  20. package/lib/commonjs/wayfinding/store/index.js.map +1 -1
  21. package/lib/commonjs/wayfinding/types/index.js +1 -3
  22. package/lib/commonjs/wayfinding/types/index.js.map +1 -1
  23. package/lib/commonjs/wayfinding/utils/mapper.js +128 -71
  24. package/lib/commonjs/wayfinding/utils/mapper.js.map +1 -1
  25. package/lib/module/sdk/index.js +509 -249
  26. package/lib/module/sdk/index.js.map +1 -1
  27. package/lib/module/sdk/nativeInterface.js.map +1 -1
  28. package/lib/module/sdk/types/constants.js +27 -3
  29. package/lib/module/sdk/types/constants.js.map +1 -1
  30. package/lib/module/sdk/utils.js +94 -0
  31. package/lib/module/sdk/utils.js.map +1 -0
  32. package/lib/module/utils/requestPermission.js +9 -16
  33. package/lib/module/utils/requestPermission.js.map +1 -1
  34. package/lib/module/wayfinding/components/MapView.js +77 -133
  35. package/lib/module/wayfinding/components/MapView.js.map +1 -1
  36. package/lib/module/wayfinding/hooks/index.js +119 -278
  37. package/lib/module/wayfinding/hooks/index.js.map +1 -1
  38. package/lib/module/wayfinding/store/index.js +15 -6
  39. package/lib/module/wayfinding/store/index.js.map +1 -1
  40. package/lib/module/wayfinding/types/index.js +1 -1
  41. package/lib/module/wayfinding/types/index.js.map +1 -1
  42. package/lib/module/wayfinding/utils/mapper.js +123 -72
  43. package/lib/module/wayfinding/utils/mapper.js.map +1 -1
  44. package/lib/typescript/src/sdk/index.d.ts +183 -145
  45. package/lib/typescript/src/sdk/index.d.ts.map +1 -1
  46. package/lib/typescript/src/sdk/nativeInterface.d.ts +59 -0
  47. package/lib/typescript/src/sdk/nativeInterface.d.ts.map +1 -1
  48. package/lib/typescript/src/sdk/types/constants.d.ts +24 -3
  49. package/lib/typescript/src/sdk/types/constants.d.ts.map +1 -1
  50. package/lib/typescript/src/sdk/types/index.d.ts +91 -146
  51. package/lib/typescript/src/sdk/types/index.d.ts.map +1 -1
  52. package/lib/typescript/src/sdk/utils.d.ts +53 -0
  53. package/lib/typescript/src/sdk/utils.d.ts.map +1 -0
  54. package/lib/typescript/src/utils/requestPermission.d.ts +1 -1
  55. package/lib/typescript/src/utils/requestPermission.d.ts.map +1 -1
  56. package/lib/typescript/src/wayfinding/components/MapView.d.ts +16 -28
  57. package/lib/typescript/src/wayfinding/components/MapView.d.ts.map +1 -1
  58. package/lib/typescript/src/wayfinding/hooks/index.d.ts +3 -34
  59. package/lib/typescript/src/wayfinding/hooks/index.d.ts.map +1 -1
  60. package/lib/typescript/src/wayfinding/store/index.d.ts +8 -6
  61. package/lib/typescript/src/wayfinding/store/index.d.ts.map +1 -1
  62. package/lib/typescript/src/wayfinding/types/index.d.ts +36 -17
  63. package/lib/typescript/src/wayfinding/types/index.d.ts.map +1 -1
  64. package/lib/typescript/src/wayfinding/utils/mapper.d.ts +16 -11
  65. package/lib/typescript/src/wayfinding/utils/mapper.d.ts.map +1 -1
  66. package/package.json +2 -2
  67. package/src/sdk/index.ts +467 -476
  68. package/src/sdk/nativeInterface.ts +149 -1
  69. package/src/sdk/types/constants.ts +27 -3
  70. package/src/sdk/types/index.ts +98 -158
  71. package/src/sdk/utils.ts +129 -0
  72. package/src/utils/requestPermission.ts +18 -23
  73. package/src/wayfinding/components/MapView.tsx +145 -215
  74. package/src/wayfinding/hooks/index.ts +155 -385
  75. package/src/wayfinding/store/index.tsx +19 -9
  76. package/src/wayfinding/types/index.ts +49 -15
  77. package/src/wayfinding/utils/mapper.ts +145 -104
@@ -1,4 +1,4 @@
1
- import type { LocationStatusName, NavigationStatus, NavigationUpdateType } from "src/sdk";
1
+ import type { AccessibilityMode, LocationStatusName, SdkNavigationUpdateType } from "src/sdk";
2
2
  /**
3
3
  * @name Building
4
4
  * @description A Building object definition
@@ -32,6 +32,23 @@ export type Building = {
32
32
  userIdentifier: string;
33
33
  customFields: object;
34
34
  };
35
+ /**
36
+ * @name BuildingInfo
37
+ * @description Full information of a building
38
+ *
39
+ * @property {Building} building - Building basic information
40
+ * @property {Floor[]} floors - Array with the information of each floor
41
+ * @property {Poi[]} indoorPOIs - Array with the information of each indoor POI
42
+ * @property {Poi[]} outdoorPOIs - Array with the information of each outdoor POI
43
+ * @property {Geofence} geofences - Array with the information of each geofence
44
+ */
45
+ export type BuildingInfo = {
46
+ building: Building;
47
+ floors: Floor[];
48
+ indoorPOIs: Poi[];
49
+ outdoorPOIs: Poi[];
50
+ geofences: Geofence[];
51
+ };
35
52
  /** @name Bounds
36
53
  * @description Represents a rectangle bounds in a greographic 2D space.
37
54
  *
@@ -167,6 +184,15 @@ export type PoiCategory = {
167
184
  icon_unselected: string;
168
185
  isPublic: boolean;
169
186
  };
187
+ /**
188
+ * @name PoiIcon
189
+ * @description Category of Point of Interest.
190
+ *
191
+ * @property {string} data - Base64 POI icon image
192
+ */
193
+ export type PoiIcon = {
194
+ data: string;
195
+ };
170
196
  /**
171
197
  * @name Point
172
198
  * @description Associate geographical coordinate (Location) with Building and Floor (Cartography) and cartesian coordinate relative to that building.
@@ -183,13 +209,8 @@ export type Point = {
183
209
  cartesianCoordinate: CartesianCoordinate;
184
210
  coordinate: Coordinate;
185
211
  floorIdentifier: string;
186
- isIndoor: boolean;
187
- isOutdoor: boolean;
188
- };
189
- export type DirectionPoint = {
190
- floorIdentifier: Floor["floorIdentifier"];
191
- buildingIdentifier: Building["buildingIdentifier"];
192
- coordinate: Coordinate;
212
+ isIndoor?: boolean;
213
+ isOutdoor?: boolean;
193
214
  };
194
215
  /**
195
216
  * @name Route
@@ -261,23 +282,22 @@ export type RouteSegment = {
261
282
  * @property {string} orientationType - The Indication.Orientation of the instruction as String
262
283
  * @property {number} stepIdxDestination - The index of the indication's step of destination.
263
284
  * @property {number} stepIdxOrigin - The index of the indication's step of origin
264
- * @property {boolean} neededLevelChange - If the user should change the level in order to arrive to destination
285
+ * @property {boolean} neededLevelChange - If the user should change the level in order to arrive at the destination.
265
286
  */
266
287
  export type Indication = {
267
288
  distance: number;
268
289
  distanceToNextLevel: number;
269
290
  indicationType: string;
291
+ neededLevelChange: boolean;
270
292
  orientation: number;
271
293
  orientationType: string;
272
294
  stepIdxDestination: number;
273
295
  stepIdxOrigin: number;
274
- neededLevelChange: boolean;
275
296
  };
276
297
  /**
277
298
  * @name NavigationProgress
278
299
  * @description Provides information of the progress of a user while following a route.
279
300
  *
280
- * @property {Point} closestPointInRoute - Closest point in the route from the user location provided . @deprecated Use closestLocationInRoute instead.
281
301
  * @property {Location} closestLocationInRoute - Closest location in the route from the user location provided .
282
302
  * @property {number} distanceToClosestPointInRoute - Distance between the real user location (provided to updateWithLocation(Location)) and the closest route location.
283
303
  * @property {Indication} currentIndication - The current indication.
@@ -292,81 +312,22 @@ export type Indication = {
292
312
  * @property {RouteSegment[]} segments - List of segments formed by consecutive points and a floor identifier
293
313
  */
294
314
  export type NavigationProgress = {
295
- closestPointInRoute: Point;
296
315
  closestLocationInRoute: Location;
297
- distanceToClosestPointInRoute: number;
298
316
  currentIndication: number;
299
- nextIndication: Indication;
300
317
  currentStepIndex: number;
301
- distanceToGoal: number;
318
+ distanceToClosestPointInRoute: number;
302
319
  distanceToEndStep: number;
303
- timeToEndStep: number;
304
- timeToGoal: number;
305
- routeStep: RouteStep;
320
+ distanceToGoal: number;
321
+ nextIndication: Indication;
306
322
  points: Point[];
323
+ routeStep: RouteStep;
307
324
  segments: RouteSegment[];
325
+ timeToEndStep: number;
326
+ timeToGoal: number;
327
+ type: SdkNavigationUpdateType;
308
328
  };
309
329
  /**
310
- * @name SitumEvent
311
- * @description An event: POI with radius, conversion area and asociated statistics. It is intended for usage in marketing apps.
312
- *
313
- * @property {number} buildingIdentifier - The identifier of the building this floor belongs to. Deprecated, use trigger.center.buildingIdentifier instead
314
- * @property {number} identifier - Unique identifier of the SitumEvent.
315
- * @property {number} floorIdentifier - The identifier of the floor this event is located at. @deprecated, use trigger.center.floorIdentifier instead
316
- * @property {string} infoHtml - Information contained into the event, in HTML format.
317
- * @property {SitumConversionArea} conversionArea - Location where the event is located. @deprecated, use conversion instead
318
- * @property {Circle} conversion - Location where the event is located.
319
- * @property {Circle} trigger - Location where the event should be fired
320
- * @property {object} customFields - Key-value pairs that allow to extend and fully customize the information associated with the event.
321
- * @property {number} radius - Radius of the event associated area. @deprecated, use trigger.radius instead
322
- * @property {string} name - Name of the event
323
- * @property {number} x - Center of the event in the x-axis. @deprecated, use trigger.center.cartesianCoordinate.x instead
324
- * @property {number} y - Center of the event in the y-axis. @deprecated, use trigger.center.cartesianCoordinate.y instead
325
- */
326
- export type SitumEvent = {
327
- buildingIdentifier: number;
328
- identifier: number;
329
- floorIdentifier: number;
330
- infoHtml: string;
331
- conversionArea: SitumConversionArea;
332
- conversion: Circle;
333
- trigget: Circle;
334
- customFields: object;
335
- radius: number;
336
- name: string;
337
- x: number;
338
- y: number;
339
- };
340
- /**
341
- * @name SitumConversionArea
342
- * @description A rectangular area of a floor defining the conversion area of an event
343
- *
344
- * @property {number} floorIdentifier - The identifier of the floor the SitumConversionArea is located at.
345
- * @property {object} topLeft - Top-left corner
346
- * @property {object} topRight - Top-right corner
347
- * @property {object} bottomLeft - Bottom-left corner
348
- * @property {object} bottomRight - Bottom-right corner
349
- */
350
- export type SitumConversionArea = {
351
- floorIdentifier: number;
352
- topLeft: object;
353
- topRight: object;
354
- bottomLeft: object;
355
- bottomRight: object;
356
- };
357
- /**
358
- * @name Circle
359
- * @description A circular area
360
- *
361
- * @property {Point} center - The center of the circle
362
- * @property {number} radius - The radius of the circle
363
- */
364
- export type Circle = {
365
- center: Point;
366
- radius: number;
367
- };
368
- /**
369
- * @name LocationOptions
330
+ * @name LocationRequest
370
331
  * @description A data object that contains parameters for the location service, LocationManager.
371
332
  *
372
333
  * @property {number} buildingIdentifier - Identifier of the building on which the positioning will be started
@@ -374,70 +335,59 @@ export type Circle = {
374
335
  * @property {string} indoorProvider - Default indoor provider. Possible values are INPHONE and SUPPORT
375
336
  * @property {boolean} useBle - Defines whether or not to use BLE for positioning
376
337
  * @property {boolean} useWifi - Defines whether or not to use Wi-Fi for positioning
377
- * @property {boolean} useGps - Defines whether or not to use the GPS for indoor positioning
378
- * @property {boolean} useBarometer - Defines whether or not to use barometer for indoor positioning
379
- * @property {string} motionMode - Default motion mode. Possible values are BY_CAR, BY_FOOT and RADIOMAX
338
+ * @property {boolean} useGps - Defines whether or not to use GPS for indoor positioning
339
+ * @property {boolean} useBarometer - Defines whether or not to use the barometer for indoor positioning
340
+ * @property {string} motionMode - Default motion mode. Possible values are BY_CAR, BY_FOOT, and RADIOMAX
380
341
  * @property {boolean} useForegroundService - Defines whether or not to activate the {@link http://developers.situm.es/pages/android/using_situm_sdk_background.html foreground service}
381
- * @property {boolean} useDeadReckoning - Defines whether ot not to use dead reckoning to get fast position updates using only the inertial sensors, between the server position updates.
342
+ * @property {boolean} useDeadReckoning - Defines whether or not to use dead reckoning to get fast position updates using only the inertial sensors, between the server position updates.
382
343
  * @property {OutdoorLocationOptions} outdoorLocationOptions - Outdoor location options. Only used in an indoor/outdoor request
383
344
  * @property {BeaconFilter[]} beaconFilters - Deprecated - Beacon filters to be handled during scan time, otherwise only Situm beacons will be scanned. Can be invoked multiple times to add as much beacon filters as you want. The SitumSDK now does it automatically
384
- * @property {number} smallestDisplacement - Default smallest displacement to nofiy location updates
385
- * @property {string} realtimeUpdateInterval - Default interval to send locations to the Realtime. Possible values are REALTIME, FAST, NORMAL, SLOW and BATTERY_SAVER
386
- * @property {boolean} autoEnableBleDuringPositioning - Set if the BLE should be re-enabled during positioning if the ble is used. Android only
345
+ * @property {number} smallestDisplacement - Default smallest displacement to notify location updates
346
+ * @property {string} realtimeUpdateInterval - Default interval to send locations to the Realtime. Possible values are REALTIME, FAST, NORMAL, SLOW, and BATTERY_SAVER
387
347
  */
388
- export type LocationRequestOptions = {
348
+ export type LocationRequest = {
349
+ autoEnableBleDuringPositioning?: boolean;
350
+ beaconFilters?: BeaconFilter[];
389
351
  buildingIdentifier?: number;
390
- interval?: number;
391
352
  indoorProvider?: string;
392
- useBle?: boolean;
393
- useWifi?: boolean;
394
- useGps?: boolean;
395
- useBarometer?: boolean;
353
+ interval?: number;
396
354
  motionMode?: string;
397
- useForegroundService?: boolean;
398
- useDeadReckoning?: boolean;
399
355
  outdoorLocationOptions?: OutdoorLocationOptions;
400
- beaconFilters?: BeaconFilter[];
401
- smallestDisplacement?: number;
402
356
  realtimeUpdateInterval?: string;
403
- autoEnableBleDuringPositioning?: boolean;
404
- };
405
- /**
406
- * @name LocationRequest
407
- * @description A data object that contains parameters for the location service, LocationManager.
408
- *
409
- * @property {Building} building 0 - Building on which the positioning will be started
410
- * @property {LocationOptions} locationOptions 1 - Location options.
411
- */
412
- export type LocationRequest = {
413
- building: Building;
414
- locationOptions: LocationRequestOptions;
357
+ smallestDisplacement?: number;
358
+ useBarometer?: boolean;
359
+ useBle?: boolean;
360
+ useDeadReckoning?: boolean;
361
+ useForegroundService?: boolean;
362
+ useGps?: boolean;
363
+ useWifi?: boolean;
415
364
  };
416
365
  /**
417
366
  * @name NavigationRequest
418
- * @description A data object that contains parameters for the navigation service, NavigationManager.
367
+ * @description A data object that contains the request for navigation.
419
368
  *
420
- * @property {number} distanceToChangeIndicationThreshold - Distance threshold from when the next indication is considered reached.
421
- * @property {number} distanceToFloorChangeThreshold - Distance threshold from when a floor change is considered reached.
422
- * @property {number} distanceToGoalThreshold - Distance threshold from when the goal is considered reached.
423
- * @property {number} distanceToIgnoreFirstIndication - Maximum distance to ignore the first indication when navigating a route (Only available for Android).
424
- * @property {number} ignoreLowQualityLocations - Set if low quality locations should be ignored. (Only available for Android).
425
- * @property {number} indicationsInterval - Time to wait between indications.
426
- * @property {number} outsideRouteThreshold - Set the distance to consider the use is outside of the route. A type=userOutsideRoute will be sent trough the NavigationListener .
427
- * @property {number} roundIndicationsStep - Step that will be used to round indications distance.
428
- * @property {number} timeToFirstIndication - Time to wait until the first indication is returned.
429
- * @property {number} timeToIgnoreUnexpectedFloorChanges - Time (in millis) to ignore the locations received during navigation, when the next indication is a floor change, if the locations are in a wrong floor (not in origin or destination floors).
369
+ * @property {number} distanceToGoalThreshold - Distance threshold to consider reaching the goal (meters).
370
+ * @property {number} distanceToIgnoreFirstIndication - Maximum distance to ignore the first indication when navigating (meters).
371
+ * @property {number} distanceToFloorChangeThreshold - Distance threshold from when a floor change is considered reached (meters).
372
+ * @property {number} distanceToChangeIndicationThreshold - Distance threshold to change the indication (meters).
373
+ * @property {boolean} ignoreLowQualityLocations - Ignore low-quality locations.
374
+ * @property {number} indicationsInterval - Interval between indications (milliseconds).
375
+ * @property {number} outsideRouteThreshold - Distance threshold to consider being outside the route (meters).
376
+ * @property {number} roundIndicationsStep - Step to round indications (meters).
377
+ * @property {number} timeToFirstIndication - Time to wait until the first indication is returned (milliseconds).
378
+ * @property {number} timeToIgnoreUnexpectedFloorChanges - Time to ignore the locations received during navigation, when the next indication is a floor change,
379
+ * if the locations are on a wrong floor (not in origin or destination floors) (milliseconds).
430
380
  */
431
381
  export type NavigationRequest = {
432
- distanceToIgnoreFirstIndication?: number;
433
- ignoreLowQualityLocations?: number;
434
- distanceToGoalThreshold?: number;
435
- outsideRouteThreshold?: number;
436
- distanceToFloorChangeThreshold?: number;
437
382
  distanceToChangeIndicationThreshold?: number;
383
+ distanceToFloorChangeThreshold?: number;
384
+ distanceToGoalThreshold?: number;
385
+ distanceToIgnoreFirstIndication?: number;
386
+ ignoreLowQualityLocations?: boolean;
438
387
  indicationsInterval?: number;
439
- timeToFirstIndication?: number;
388
+ outsideRouteThreshold?: number;
440
389
  roundIndicationsStep?: number;
390
+ timeToFirstIndication?: number;
441
391
  timeToIgnoreUnexpectedFloorChanges?: number;
442
392
  };
443
393
  /**
@@ -446,31 +396,27 @@ export type NavigationRequest = {
446
396
  *
447
397
  * @property {Building} positioningBuilding
448
398
  * @property {Point|Location} from - Current user's position as the starting point of the route.
449
- * @property {Point|POI} to - Point to, where the route should end.
399
+ * @property {Point|Poi} to - Point to, where the route should end.
450
400
  * @property {DirectionsOptions} options - Options that can be added to the request.
451
401
  */
452
402
  export type DirectionsRequest = {
453
- positioningBuilding: Building;
403
+ buildingIdentifier: string;
454
404
  from: Point | Location;
455
405
  to: Point | Poi;
456
- options: DirectionsOptions;
457
- };
406
+ } & DirectionsOptions;
458
407
  /**
459
408
  * @name DirectionsOptions
460
409
  * @description A data object that contains the directions options.
461
410
  *
462
411
  * @property {boolean} minimizeFloorChanges - Defines wheter or not the route should be calculated minimizing the floor changes even if the result is longer.
463
- * @property {boolean} accessibleRoute - Deprecated, use accessibilityMode. Defines wheter or not the route has to be suitable for wheel chairs (true) or not (false).
464
- * @property {boolean} accessible - Deprecated, use accessibilityMode. Defines wheter or not the route has to be suitable for wheel chairs (true) or not (false).
465
412
  * @property {string} accessibilityMode - Defines the accessibility mode of the route. Possible values are: CHOOSE_SHORTEST, ONLY_NOT_ACCESSIBLE_FLOOR_CHANGES, ONLY_ACCESSIBLE
466
413
  * @property {number} startingAngle - Current user's orientation in degrees.
467
414
  */
468
415
  export type DirectionsOptions = {
469
- minimizeFloorChanges: boolean;
470
- accessibleRoute: boolean;
471
- accessible: boolean;
472
- assebilityMode: string;
473
- startingAngle: number;
416
+ minimizeFloorChanges?: boolean;
417
+ accessibilityMode?: AccessibilityMode;
418
+ startingAngle?: number;
419
+ bearingFrom?: number;
474
420
  };
475
421
  /**
476
422
  * @name OutdoorLocationOptions
@@ -516,6 +462,15 @@ export type RealTimeRequest = {
516
462
  export type RealTimeData = {
517
463
  locations: Location[];
518
464
  };
465
+ export type SdkVersion = {
466
+ react_native: string;
467
+ ios?: string;
468
+ android?: string;
469
+ };
470
+ export type ConfigurationOptions = {
471
+ useRemoteConfig?: boolean;
472
+ cacheMaxAge?: number;
473
+ };
519
474
  export interface Location {
520
475
  position?: Position;
521
476
  accuracy?: number;
@@ -544,19 +499,9 @@ export interface LocationStatus {
544
499
  statusName: LocationStatusName;
545
500
  statusCode: number;
546
501
  }
547
- export interface SDKError {
502
+ export interface Error {
548
503
  code?: number;
549
504
  message: string;
550
505
  }
551
506
  export type Directions = any;
552
- export interface SDKNavigation {
553
- currentIndication?: any;
554
- distanceToGoal?: number;
555
- points?: any;
556
- routeStep?: any;
557
- segments?: any;
558
- route?: Directions;
559
- type?: NavigationUpdateType;
560
- status: NavigationStatus;
561
- }
562
507
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/types/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,kBAAkB,EAClB,gBAAgB,EAChB,oBAAoB,EACrB,MAAM,SAAS,CAAC;AAEjB;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB,kBAAkB,EAAE,MAAM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,MAAM,CAAC;CACjB;AAGD,MAAM,MAAM,UAAU,GAAG,GAAG,CAAC"}
@@ -0,0 +1,53 @@
1
+ import type { Error } from "./types";
2
+ type PromiseResolve<T> = (response: T) => void;
3
+ type PromiseReject = (error?: Error) => void;
4
+ /**
5
+ * Handles callbacks coming from SDKs asynchronously
6
+ *
7
+ * @param response
8
+ * @param resolve
9
+ * @param reject
10
+ * @param errorMessage
11
+ */
12
+ export declare const handleAsyncCallback: (response: {
13
+ success: boolean;
14
+ }, resolve: PromiseResolve<void>, reject: PromiseReject, errorMessage: string) => void;
15
+ /**
16
+ * Handles callbacks coming from SDKs synchronously
17
+ *
18
+ * @param response
19
+ * @param errorMessage
20
+ */
21
+ export declare const handleSyncCallback: (r: {
22
+ success: boolean;
23
+ }, errorMessage: string) => void;
24
+ /**
25
+ * Wraps all SDK API methods with a exception handling code, and defines helper functions.
26
+ *
27
+ * @param fn
28
+ * @returns
29
+ */
30
+ export declare const exceptionWrapper: <T>(fn: ({ onCallback, }: {
31
+ onCallback: (r: {
32
+ success: boolean;
33
+ }, errorMessage: string) => void;
34
+ onSuccess: PromiseResolve<T>;
35
+ onError: PromiseReject;
36
+ }) => void) => T;
37
+ /**
38
+ * Wraps all SDK API methods with a promise, and defines helper functions.
39
+ *
40
+ * @param fn
41
+ * @returns
42
+ */
43
+ export declare const promiseWrapper: <T>(fn: ({ resolve, reject, onCallback, onSuccess, onError, }: {
44
+ resolve: PromiseResolve<T>;
45
+ reject: PromiseReject;
46
+ onCallback: (r: {
47
+ success: boolean;
48
+ }, errorMessage: string) => void;
49
+ onSuccess: PromiseResolve<T>;
50
+ onError: PromiseReject;
51
+ }) => void) => Promise<T>;
52
+ export {};
53
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/sdk/utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,KAAK,cAAc,CAAC,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,KAAK,IAAI,CAAC;AAC/C,KAAK,aAAa,GAAG,CAAC,KAAK,CAAC,EAAE,KAAK,KAAK,IAAI,CAAC;AAE7C;;;;;;;GAOG;AAEH,eAAO,MAAM,mBAAmB,aACpB;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,WACrB,eAAe,IAAI,CAAC,UACrB,aAAa,gBACP,MAAM,SAUrB,CAAC;AAEF;;;;;GAKG;AAEH,eAAO,MAAM,kBAAkB,MAC1B;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,gBACT,MAAM,SAUrB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB;oBAIT;QAAE,OAAO,EAAE,OAAO,CAAA;KAAE,gBAAgB,MAAM,KAAK,IAAI;;aAE1D,aAAa;MAClB,IAAI,MAmBX,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,cAAc;;YASf,aAAa;oBACL;QAAE,OAAO,EAAE,OAAO,CAAA;KAAE,gBAAgB,MAAM,KAAK,IAAI;;aAE1D,aAAa;MAClB,IAAI,eAuBX,CAAC"}
@@ -1,3 +1,3 @@
1
- export declare const requestPermission: () => Promise<void>;
1
+ export declare const requestPermission: () => Promise<any>;
2
2
  export default requestPermission;
3
3
  //# sourceMappingURL=requestPermission.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"requestPermission.d.ts","sourceRoot":"","sources":["../../../../src/utils/requestPermission.ts"],"names":[],"mappings":"AA+EA,eAAO,MAAM,iBAAiB,qBAuB1B,CAAC;AAEL,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"requestPermission.d.ts","sourceRoot":"","sources":["../../../../src/utils/requestPermission.ts"],"names":[],"mappings":"AA+EA,eAAO,MAAM,iBAAiB,oBAkB7B,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -1,35 +1,23 @@
1
1
  import React from "react";
2
- import { type MapViewError, type MapViewRef, type OnFloorChangedResult, type OnNavigationResult, type OnPoiDeselectedResult, type OnPoiSelectedResult, type WayfindingResult } from "../types";
2
+ import { type StyleProp, type ViewStyle } from "react-native";
3
+ import { type MapViewError, type MapViewRef, type OnFloorChangedResult, type OnPoiDeselectedResult, type OnPoiSelectedResult } from "../types";
4
+ export type MapViewConfiguration = {
5
+ apiDomain?: string;
6
+ viewerDomain?: string;
7
+ situmApiKey: string;
8
+ remoteIdentifier?: string;
9
+ buildingIdentifier: string;
10
+ directionality?: string;
11
+ language?: string;
12
+ };
3
13
  export interface MapViewProps {
4
- domain?: string;
5
- user?: string;
6
- apikey?: string;
7
- configuration?: {
8
- situmUser?: string;
9
- situmApiKey?: string;
10
- remoteIdentifier?: string;
11
- buildingIdentifier?: string;
12
- enablePoiClustering?: boolean;
13
- showPoiNames?: boolean;
14
- useRemoteConfig?: boolean;
15
- minZoom?: number;
16
- maxZoom?: number;
17
- initialZoom?: number;
18
- useDashboardTheme?: boolean;
19
- language?: string;
20
- };
21
- googleApikey?: string;
22
- onLoadError?: (event: MapViewError) => void;
23
- onLoad?: (event: WayfindingResult) => void;
24
- onFloorChanged?: (event: OnFloorChangedResult) => void;
14
+ configuration: MapViewConfiguration;
15
+ style?: StyleProp<ViewStyle>;
25
16
  onPoiSelected?: (event: OnPoiSelectedResult) => void;
26
17
  onPoiDeselected?: (event: OnPoiDeselectedResult) => void;
27
- onNavigationRequested?: (event: OnNavigationResult) => void;
28
- onNavigationStarted?: (event: OnNavigationResult) => void;
29
- onNavigationError?: (event: OnNavigationResult) => void;
30
- onNavigationFinished?: (event: OnNavigationResult) => void;
31
- style?: any;
32
- iOSMapViewIndex?: string;
18
+ onLoad?: (event: any) => void;
19
+ onLoadError?: (event: MapViewError) => void;
20
+ onFloorChanged?: (event: OnFloorChangedResult) => void;
33
21
  }
34
22
  declare const MapView: React.ForwardRefExoticComponent<MapViewProps & React.RefAttributes<MapViewRef>>;
35
23
  export default MapView;
@@ -1 +1 @@
1
- {"version":3,"file":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,CAAC,KAAK,EAAE,mBAAmB,KAAK,IAAI,CAAC;IACrD,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;IACzD,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;IAC9B,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAC;IAC5C,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,oBAAoB,KAAK,IAAI,CAAC;CACxD;AAED,QAAA,MAAM,OAAO,iFA8RZ,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -1,43 +1,12 @@
1
- /// <reference types="react" />
2
- import { type Building, type SDKNavigation } from "../../sdk/types";
3
- export declare const useCallbackRef: <T>(fn: T, deps: any[]) => import("react").MutableRefObject<T>;
4
1
  export declare const useSitumInternal: () => {
5
- user: any;
6
2
  location: any;
7
3
  locationStatus: any;
8
- currentBuilding: any;
9
- buildings: any;
10
- pois: any;
11
4
  directions: any;
12
5
  navigation: any;
13
6
  error: any;
14
- destinationPoiID: any;
15
- initSitumSdk: ({ email, apiKey, startPositions, fetchCartography, useRemoteConfig, }: {
16
- email?: string;
17
- apiKey?: string;
18
- startPositions?: boolean;
19
- fetchCartography?: boolean;
20
- useRemoteConfig?: boolean;
21
- }) => Promise<void>;
22
- initializeBuildings: () => Promise<Building[]>;
23
- initializeBuilding: (b: Building) => Promise<void>;
24
- initializeBuildingById: (buildingId: string) => Promise<void>;
25
- startPositioning: () => void;
26
- stopPositioning: () => Promise<void>;
27
- calculateRoute: ({ originId, destinationId, directionsOptions, updateRoute, }: {
28
- originId: number;
29
- destinationId: number;
30
- directionsOptions?: any;
31
- updateRoute?: boolean;
32
- }) => Promise<any>;
33
- startNavigation: ({ callback, destinationId, directionsOptions, navigationOptions, originId, }: {
34
- callback?: (status: string, navigation?: SDKNavigation) => void;
35
- destinationId: number;
36
- directionsOptions?: any;
37
- navigationOptions?: any;
38
- originId: number;
39
- updateRoute?: boolean;
40
- }) => Promise<void>;
7
+ init: () => void;
8
+ calculateRoute: (payload: any, updateRoute?: boolean) => Promise<any>;
9
+ startNavigation: (payload: any) => void;
41
10
  stopNavigation: () => void;
42
11
  };
43
12
  declare const useSitum: () => any;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/wayfinding/hooks/index.ts"],"names":[],"mappings":";AAIA,OAAO,EACL,KAAK,QAAQ,EAOb,KAAK,aAAa,EACnB,MAAM,iBAAiB,CAAC;AA4CzB,eAAO,MAAM,cAAc,mBAAoB,GAAG,EAAE,wCASnD,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;gBAuBjB,MAAM;iBACL,MAAM;yBACE,OAAO;2BACL,OAAO;0BACR,OAAO;;;4BAmFU,QAAQ;yCAbK,MAAM;;;;kBAsI5C,MAAM;uBACD,MAAM;4BACD,GAAG;sBACT,OAAO;;;4BA6DD,MAAM,eAAe,aAAa,KAAK,IAAI;uBAChD,MAAM;4BACD,GAAG;4BACH,GAAG;kBACb,MAAM;sBACF,OAAO;;0BAoDI,IAAI;CA6DhC,CAAC;AAEF,QAAA,MAAM,QAAQ,WAQb,CAAC;AAEF,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/wayfinding/hooks/index.ts"],"names":[],"mappings":"AA0CA,eAAO,MAAM,gBAAgB;;;;;;;8BAwFY,GAAG;+BAiDR,GAAG;;CAwEtC,CAAC;AAEF,QAAA,MAAM,QAAQ,WAQb,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React, { type MutableRefObject } from "react";
2
- import { type Building, type Directions, type Location, type Poi, type SDKError, type SDKNavigation } from "../../sdk/types";
2
+ import { type Building, type Directions, type Error, type Location, type NavigationProgress, type Poi } from "../../sdk/types";
3
3
  import { LocationStatusName } from "../../sdk/types/constants";
4
4
  interface User {
5
5
  email?: string;
@@ -14,9 +14,10 @@ export interface State {
14
14
  currentBuilding: Building;
15
15
  pois: Poi[];
16
16
  directions?: Directions;
17
- navigation?: SDKNavigation;
17
+ navigation?: NavigationProgress;
18
18
  destinationPoiID?: number;
19
- error?: SDKError;
19
+ error?: Error;
20
+ buildingIdentifier: string;
20
21
  }
21
22
  export declare const initialState: State;
22
23
  export declare const SitumContext: React.Context<{
@@ -32,10 +33,11 @@ export declare const selectBuildings: (state: State) => Building[];
32
33
  export declare const selectCurrentBuilding: (state: State) => Building;
33
34
  export declare const selectPois: (state: State) => Poi[];
34
35
  export declare const selectDirections: (state: State) => any;
35
- export declare const selectNavigation: (state: State) => SDKNavigation;
36
+ export declare const selectNavigation: (state: State) => NavigationProgress;
36
37
  export declare const selectDestinationPoiID: (state: State) => number;
37
- export declare const selectError: (state: State) => SDKError;
38
- export declare const setWebViewRef: (payload?: any) => (state: State) => State, setSdkInitialized: (payload?: any) => (state: State) => State, setAuth: (payload?: any) => (state: State) => State, setLocation: (payload?: any) => (state: State) => State, setLocationStatus: (payload?: any) => (state: State) => State, resetLocation: (payload?: any) => (state: State) => State, setBuildings: (payload?: any) => (state: State) => State, setCurrentBuilding: (payload?: any) => (state: State) => State, setPois: (payload?: any) => (state: State) => State, setDirections: (payload?: any) => (state: State) => State, setNavigation: (payload?: any) => (state: State) => State, setDestinationPoiID: (payload?: any) => (state: State) => State, setError: (payload?: any) => (state: State) => State;
38
+ export declare const selectError: (state: State) => Error;
39
+ export declare const selectBuildingIdentifier: (state: State) => string;
40
+ export declare const setWebViewRef: (payload?: any) => (state: State) => State, setSdkInitialized: (payload?: any) => (state: State) => State, setAuth: (payload?: any) => (state: State) => State, setLocation: (payload?: any) => (state: State) => State, setLocationStatus: (payload?: any) => (state: State) => State, resetLocation: (payload?: any) => (state: State) => State, setBuildings: (payload?: any) => (state: State) => State, setCurrentBuilding: (payload?: any) => (state: State) => State, setPois: (payload?: any) => (state: State) => State, setDirections: (payload?: any) => (state: State) => State, setNavigation: (payload?: any) => (state: State) => State, setDestinationPoiID: (payload?: any) => (state: State) => State, setError: (payload?: any) => (state: State) => State, setBuildingIdentifier: (payload?: any) => (state: State) => State;
39
41
  /**
40
42
  * Context specifically to store the only instance of our hook.
41
43
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/wayfinding/store/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAiB,KAAK,gBAAgB,EAAc,MAAM,OAAO,CAAC;AAEhF,OAAO,EACL,KAAK,QAAQ,EACb,KAAK,UAAU,EACf,KAAK,QAAQ,EACb,KAAK,GAAG,EACR,KAAK,QAAQ,EACb,KAAK,aAAa,EACnB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,kBAAkB,EAEnB,MAAM,2BAA2B,CAAC;AAInC,UAAU,IAAI;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,KAAK;IACpB,UAAU,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAC;IACxC,cAAc,EAAE,OAAO,CAAC;IACxB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,SAAS,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC;IAC7B,eAAe,EAAE,QAAQ,CAAC;IAC1B,IAAI,EAAE,GAAG,EAAE,CAAC;IACZ,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,UAAU,CAAC,EAAE,aAAa,CAAC;IAC3B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,KAAK,CAAC,EAAE,QAAQ,CAAC;CAClB;AAED,eAAO,MAAM,YAAY,EAAE,KAY1B,CAAC;AAEF,eAAO,MAAM,YAAY;WACd,KAAK;iCAA+B,KAAK,KAAK,KAAK;EAClD,CAAC;AAkDb,eAAO,MAAM,gBAAgB,UAAW,KAAK,sCAE5C,CAAC;A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