Skip to content

Commit bde0bb7

Browse files
Pavel TychininPavel Tychinin
Pavel Tychinin
authored and
Pavel Tychinin
committed
Release 13022023
1 parent 26491a6 commit bde0bb7

22 files changed

+77
-63
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
All notable changes to this project will be documented in this file.
33
`navigine.framework` adheres to [Semantic Versioning](http://semver.org/).
44

5+
## [2.2.0](https://github.com/Navigine/navigine_ios_framework/releases/tag/v.2.2.0) / 2023-02-13
6+
* Changed PositionListener
7+
* Added outdoor positioning
8+
59
## [2.0.6](https://github.com/Navigine/navigine_ios_framework/releases/tag/v.2.0.6) / 2022-01-27
610
* Add convertest meters <-> screen
711
* Refactor PickListener methods

Frameworks/Navigine.framework/Headers/NCAsyncRouteListener.h

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
DEFAULT_EXPORT_ATTRIBUTE
1111
@protocol NCAsyncRouteListener <NSObject>
1212

13-
- (void)onRouteChanged:(nullable NCRoutePath *)currentPath
14-
pendingPaths:(nonnull NSArray<NCRoutePath *> *)pendingPaths;
13+
- (void)onRouteChanged:(nullable NCRoutePath *)currentPath;
1514

1615
- (void)onRouteAdvanced:(float)distance
1716
point:(nonnull NCLocationPoint *)point;

Frameworks/Navigine.framework/Headers/NCAsyncRouteManager.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
DEFAULT_EXPORT_ATTRIBUTE
1111
@interface NCAsyncRouteManager : NSObject
1212

13-
- (nullable NCRouteSession *)createRouteSession:(nonnull NCLocationPoint *)wayPoint;
13+
- (nullable NCRouteSession *)createRouteSession:(nonnull NCLocationPoint *)wayPoint
14+
smoothRadius:(float)smoothRadius;
1415

1516
- (void)cancelRouteSession:(nullable NCRouteSession *)session;
1617

Frameworks/Navigine.framework/Headers/NCGlobalPoint.h

+6-6
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66

77
DEFAULT_EXPORT_ATTRIBUTE
88
@interface NCGlobalPoint : NSObject
9-
- (nonnull instancetype)initWithLatitude:(float)latitude
10-
longitude:(float)longitude;
11-
+ (nonnull instancetype)globalPointWithLatitude:(float)latitude
12-
longitude:(float)longitude;
9+
- (nonnull instancetype)initWithLatitude:(double)latitude
10+
longitude:(double)longitude;
11+
+ (nonnull instancetype)globalPointWithLatitude:(double)latitude
12+
longitude:(double)longitude;
1313

14-
@property (nonatomic, readonly) float latitude;
14+
@property (nonatomic, readonly) double latitude;
1515

16-
@property (nonatomic, readonly) float longitude;
16+
@property (nonatomic, readonly) double longitude;
1717

1818
@end

Frameworks/Navigine.framework/Headers/NCPosition.h

+17-16
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,31 @@
22
// This file was generated by Djinni from position.djinni
33

44
#import "NCExport.h"
5-
#import "NCPoint.h"
5+
#import "NCGlobalPoint.h"
6+
#import "NCLocationPoint.h"
67
#import <Foundation/Foundation.h>
78

89
DEFAULT_EXPORT_ATTRIBUTE
910
@interface NCPosition : NSObject
10-
- (nonnull instancetype)initWithPoint:(nonnull NCPoint *)point
11-
locationId:(int32_t)locationId
12-
sublocationId:(int32_t)sublocationId
13-
accuracy:(float)accuracy
14-
azimuth:(float)azimuth;
15-
+ (nonnull instancetype)positionWithPoint:(nonnull NCPoint *)point
16-
locationId:(int32_t)locationId
17-
sublocationId:(int32_t)sublocationId
18-
accuracy:(float)accuracy
19-
azimuth:(float)azimuth;
11+
- (nonnull instancetype)initWithPoint:(nonnull NCGlobalPoint *)point
12+
accuracy:(double)accuracy
13+
heading:(nullable NSNumber *)heading
14+
locationPoint:(nullable NCLocationPoint *)locationPoint
15+
locationHeading:(nullable NSNumber *)locationHeading;
16+
+ (nonnull instancetype)positionWithPoint:(nonnull NCGlobalPoint *)point
17+
accuracy:(double)accuracy
18+
heading:(nullable NSNumber *)heading
19+
locationPoint:(nullable NCLocationPoint *)locationPoint
20+
locationHeading:(nullable NSNumber *)locationHeading;
2021

21-
@property (nonatomic, readonly, nonnull) NCPoint * point;
22+
@property (nonatomic, readonly, nonnull) NCGlobalPoint * point;
2223

23-
@property (nonatomic, readonly) int32_t locationId;
24+
@property (nonatomic, readonly) double accuracy;
2425

25-
@property (nonatomic, readonly) int32_t sublocationId;
26+
@property (nonatomic, readonly, nullable) NSNumber * heading;
2627

27-
@property (nonatomic, readonly) float accuracy;
28+
@property (nonatomic, readonly, nullable) NCLocationPoint * locationPoint;
2829

29-
@property (nonatomic, readonly) float azimuth;
30+
@property (nonatomic, readonly, nullable) NSNumber * locationHeading;
3031

3132
@end

Frameworks/Navigine.framework/Headers/NCRoutePath.h

+3
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,14 @@
55
#import "NCLocationPoint.h"
66
#import "NCRouteEvent.h"
77
#import <Foundation/Foundation.h>
8+
@class NCRoutePath;
89

910

1011
DEFAULT_EXPORT_ATTRIBUTE
1112
@interface NCRoutePath : NSObject
1213

14+
- (nonnull NSArray<NCRoutePath *> *)split:(float)advance;
15+
1316
@property (nonatomic, readonly) float length;
1417

1518
@property (nonatomic, nonnull, readonly) NSArray<NCRouteEvent *> * events;

Frameworks/Navigine.framework/Headers/NCRouteSession.h

-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// This file was generated by Djinni from route_manager.djinni
33

44
#import "NCExport.h"
5-
#import "NCLocationPoint.h"
65
#import <Foundation/Foundation.h>
76
@protocol NCAsyncRouteListener;
87

@@ -14,6 +13,4 @@ DEFAULT_EXPORT_ATTRIBUTE
1413

1514
- (void)removeRouteListener:(nullable id<NCAsyncRouteListener>)listener;
1615

17-
- (void)checkIn:(nonnull NCLocationPoint *)point;
18-
1916
@end

Frameworks/Navigine.framework/Headers/NCSublocation.h

+2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ DEFAULT_EXPORT_ATTRIBUTE
4343

4444
@property (nonatomic, nonnull, readonly) NCGlobalPoint * originPoint;
4545

46+
@property (nonatomic, nonnull, readonly) NSString * levelId;
47+
4648
@property (nonatomic, nonnull, readonly) NSArray<NCBeacon *> * beacons;
4749

4850
@property (nonatomic, nonnull, readonly) NSArray<NCEddystone *> * eddystones;
0 Bytes
Binary file not shown.
615 KB
Binary file not shown.

Navigine.podspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
Pod::Spec.new do |spec|
22
spec.name = 'Navigine'
3-
spec.version = '2.1.0'
3+
spec.version = '2.2.0'
44
spec.license = { :type => 'Custom', :text => 'Navigine Licence'}
55
spec.summary = "iOS SDK for performing indoor navigation"
66
spec.platform = :ios, "11.0"
77
spec.homepage = 'https://github.com/Navigine/Indoor-Navigation-iOS-Mobile-SDK-2.0'
88
spec.authors = { 'Pavel Tychinin' => '[email protected]' }
9-
spec.source = { :git => 'https://github.com/Navigine/Indoor-Navigation-iOS-Mobile-SDK-2.0.git', :tag => 'v.2.1.0' }
9+
spec.source = { :git => 'https://github.com/Navigine/Indoor-Navigation-iOS-Mobile-SDK-2.0.git', :tag => 'v.2.2.0' }
1010
spec.documentation_url = 'https://github.com/Navigine/Indoor-Navigation-iOS-Mobile-SDK-2.0/wiki/Getting-Started'
1111
spec.vendored_frameworks = 'Frameworks/Navigine.framework'
1212
# spec.vendored_libraries = 'Frameworks/navigine.framework/Navigine'

NavigineDemo/NavigineDemo/Frameworks/Navigine.framework/Headers/NCAsyncRouteListener.h

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
DEFAULT_EXPORT_ATTRIBUTE
1111
@protocol NCAsyncRouteListener <NSObject>
1212

13-
- (void)onRouteChanged:(nullable NCRoutePath *)currentPath
14-
pendingPaths:(nonnull NSArray<NCRoutePath *> *)pendingPaths;
13+
- (void)onRouteChanged:(nullable NCRoutePath *)currentPath;
1514

1615
- (void)onRouteAdvanced:(float)distance
1716
point:(nonnull NCLocationPoint *)point;

NavigineDemo/NavigineDemo/Frameworks/Navigine.framework/Headers/NCAsyncRouteManager.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
DEFAULT_EXPORT_ATTRIBUTE
1111
@interface NCAsyncRouteManager : NSObject
1212

13-
- (nullable NCRouteSession *)createRouteSession:(nonnull NCLocationPoint *)wayPoint;
13+
- (nullable NCRouteSession *)createRouteSession:(nonnull NCLocationPoint *)wayPoint
14+
smoothRadius:(float)smoothRadius;
1415

1516
- (void)cancelRouteSession:(nullable NCRouteSession *)session;
1617

NavigineDemo/NavigineDemo/Frameworks/Navigine.framework/Headers/NCGlobalPoint.h

+6-6
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66

77
DEFAULT_EXPORT_ATTRIBUTE
88
@interface NCGlobalPoint : NSObject
9-
- (nonnull instancetype)initWithLatitude:(float)latitude
10-
longitude:(float)longitude;
11-
+ (nonnull instancetype)globalPointWithLatitude:(float)latitude
12-
longitude:(float)longitude;
9+
- (nonnull instancetype)initWithLatitude:(double)latitude
10+
longitude:(double)longitude;
11+
+ (nonnull instancetype)globalPointWithLatitude:(double)latitude
12+
longitude:(double)longitude;
1313

14-
@property (nonatomic, readonly) float latitude;
14+
@property (nonatomic, readonly) double latitude;
1515

16-
@property (nonatomic, readonly) float longitude;
16+
@property (nonatomic, readonly) double longitude;
1717

1818
@end

NavigineDemo/NavigineDemo/Frameworks/Navigine.framework/Headers/NCPosition.h

+17-16
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,31 @@
22
// This file was generated by Djinni from position.djinni
33

44
#import "NCExport.h"
5-
#import "NCPoint.h"
5+
#import "NCGlobalPoint.h"
6+
#import "NCLocationPoint.h"
67
#import <Foundation/Foundation.h>
78

89
DEFAULT_EXPORT_ATTRIBUTE
910
@interface NCPosition : NSObject
10-
- (nonnull instancetype)initWithPoint:(nonnull NCPoint *)point
11-
locationId:(int32_t)locationId
12-
sublocationId:(int32_t)sublocationId
13-
accuracy:(float)accuracy
14-
azimuth:(float)azimuth;
15-
+ (nonnull instancetype)positionWithPoint:(nonnull NCPoint *)point
16-
locationId:(int32_t)locationId
17-
sublocationId:(int32_t)sublocationId
18-
accuracy:(float)accuracy
19-
azimuth:(float)azimuth;
11+
- (nonnull instancetype)initWithPoint:(nonnull NCGlobalPoint *)point
12+
accuracy:(double)accuracy
13+
heading:(nullable NSNumber *)heading
14+
locationPoint:(nullable NCLocationPoint *)locationPoint
15+
locationHeading:(nullable NSNumber *)locationHeading;
16+
+ (nonnull instancetype)positionWithPoint:(nonnull NCGlobalPoint *)point
17+
accuracy:(double)accuracy
18+
heading:(nullable NSNumber *)heading
19+
locationPoint:(nullable NCLocationPoint *)locationPoint
20+
locationHeading:(nullable NSNumber *)locationHeading;
2021

21-
@property (nonatomic, readonly, nonnull) NCPoint * point;
22+
@property (nonatomic, readonly, nonnull) NCGlobalPoint * point;
2223

23-
@property (nonatomic, readonly) int32_t locationId;
24+
@property (nonatomic, readonly) double accuracy;
2425

25-
@property (nonatomic, readonly) int32_t sublocationId;
26+
@property (nonatomic, readonly, nullable) NSNumber * heading;
2627

27-
@property (nonatomic, readonly) float accuracy;
28+
@property (nonatomic, readonly, nullable) NCLocationPoint * locationPoint;
2829

29-
@property (nonatomic, readonly) float azimuth;
30+
@property (nonatomic, readonly, nullable) NSNumber * locationHeading;
3031

3132
@end

0 commit comments

Comments
 (0)