Skip to content

Commit

Permalink
Release 13022023
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Tychinin authored and Pavel Tychinin committed Feb 13, 2023
1 parent 26491a6 commit bde0bb7
Show file tree
Hide file tree
Showing 22 changed files with 77 additions and 63 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
All notable changes to this project will be documented in this file.
`navigine.framework` adheres to [Semantic Versioning](http://semver.org/).

## [2.2.0](https://github.com/Navigine/navigine_ios_framework/releases/tag/v.2.2.0) / 2023-02-13
* Changed PositionListener
* Added outdoor positioning

## [2.0.6](https://github.com/Navigine/navigine_ios_framework/releases/tag/v.2.0.6) / 2022-01-27
* Add convertest meters <-> screen
* Refactor PickListener methods
Expand Down
3 changes: 1 addition & 2 deletions Frameworks/Navigine.framework/Headers/NCAsyncRouteListener.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
DEFAULT_EXPORT_ATTRIBUTE
@protocol NCAsyncRouteListener <NSObject>

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

- (void)onRouteAdvanced:(float)distance
point:(nonnull NCLocationPoint *)point;
Expand Down
3 changes: 2 additions & 1 deletion Frameworks/Navigine.framework/Headers/NCAsyncRouteManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
DEFAULT_EXPORT_ATTRIBUTE
@interface NCAsyncRouteManager : NSObject

- (nullable NCRouteSession *)createRouteSession:(nonnull NCLocationPoint *)wayPoint;
- (nullable NCRouteSession *)createRouteSession:(nonnull NCLocationPoint *)wayPoint
smoothRadius:(float)smoothRadius;

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

Expand Down
12 changes: 6 additions & 6 deletions Frameworks/Navigine.framework/Headers/NCGlobalPoint.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@

DEFAULT_EXPORT_ATTRIBUTE
@interface NCGlobalPoint : NSObject
- (nonnull instancetype)initWithLatitude:(float)latitude
longitude:(float)longitude;
+ (nonnull instancetype)globalPointWithLatitude:(float)latitude
longitude:(float)longitude;
- (nonnull instancetype)initWithLatitude:(double)latitude
longitude:(double)longitude;
+ (nonnull instancetype)globalPointWithLatitude:(double)latitude
longitude:(double)longitude;

@property (nonatomic, readonly) float latitude;
@property (nonatomic, readonly) double latitude;

@property (nonatomic, readonly) float longitude;
@property (nonatomic, readonly) double longitude;

@end
33 changes: 17 additions & 16 deletions Frameworks/Navigine.framework/Headers/NCPosition.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,31 @@
// This file was generated by Djinni from position.djinni

#import "NCExport.h"
#import "NCPoint.h"
#import "NCGlobalPoint.h"
#import "NCLocationPoint.h"
#import <Foundation/Foundation.h>

DEFAULT_EXPORT_ATTRIBUTE
@interface NCPosition : NSObject
- (nonnull instancetype)initWithPoint:(nonnull NCPoint *)point
locationId:(int32_t)locationId
sublocationId:(int32_t)sublocationId
accuracy:(float)accuracy
azimuth:(float)azimuth;
+ (nonnull instancetype)positionWithPoint:(nonnull NCPoint *)point
locationId:(int32_t)locationId
sublocationId:(int32_t)sublocationId
accuracy:(float)accuracy
azimuth:(float)azimuth;
- (nonnull instancetype)initWithPoint:(nonnull NCGlobalPoint *)point
accuracy:(double)accuracy
heading:(nullable NSNumber *)heading
locationPoint:(nullable NCLocationPoint *)locationPoint
locationHeading:(nullable NSNumber *)locationHeading;
+ (nonnull instancetype)positionWithPoint:(nonnull NCGlobalPoint *)point
accuracy:(double)accuracy
heading:(nullable NSNumber *)heading
locationPoint:(nullable NCLocationPoint *)locationPoint
locationHeading:(nullable NSNumber *)locationHeading;

@property (nonatomic, readonly, nonnull) NCPoint * point;
@property (nonatomic, readonly, nonnull) NCGlobalPoint * point;

@property (nonatomic, readonly) int32_t locationId;
@property (nonatomic, readonly) double accuracy;

@property (nonatomic, readonly) int32_t sublocationId;
@property (nonatomic, readonly, nullable) NSNumber * heading;

@property (nonatomic, readonly) float accuracy;
@property (nonatomic, readonly, nullable) NCLocationPoint * locationPoint;

@property (nonatomic, readonly) float azimuth;
@property (nonatomic, readonly, nullable) NSNumber * locationHeading;

@end
3 changes: 3 additions & 0 deletions Frameworks/Navigine.framework/Headers/NCRoutePath.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,14 @@
#import "NCLocationPoint.h"
#import "NCRouteEvent.h"
#import <Foundation/Foundation.h>
@class NCRoutePath;


DEFAULT_EXPORT_ATTRIBUTE
@interface NCRoutePath : NSObject

- (nonnull NSArray<NCRoutePath *> *)split:(float)advance;

@property (nonatomic, readonly) float length;

@property (nonatomic, nonnull, readonly) NSArray<NCRouteEvent *> * events;
Expand Down
3 changes: 0 additions & 3 deletions Frameworks/Navigine.framework/Headers/NCRouteSession.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// This file was generated by Djinni from route_manager.djinni

#import "NCExport.h"
#import "NCLocationPoint.h"
#import <Foundation/Foundation.h>
@protocol NCAsyncRouteListener;

Expand All @@ -14,6 +13,4 @@ DEFAULT_EXPORT_ATTRIBUTE

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

- (void)checkIn:(nonnull NCLocationPoint *)point;

@end
2 changes: 2 additions & 0 deletions Frameworks/Navigine.framework/Headers/NCSublocation.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ DEFAULT_EXPORT_ATTRIBUTE

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

@property (nonatomic, nonnull, readonly) NSString * levelId;

@property (nonatomic, nonnull, readonly) NSArray<NCBeacon *> * beacons;

@property (nonatomic, nonnull, readonly) NSArray<NCEddystone *> * eddystones;
Expand Down
Binary file modified Frameworks/Navigine.framework/Info.plist
Binary file not shown.
Binary file modified Frameworks/Navigine.framework/Navigine
Binary file not shown.
4 changes: 2 additions & 2 deletions Navigine.podspec
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Pod::Spec.new do |spec|
spec.name = 'Navigine'
spec.version = '2.1.0'
spec.version = '2.2.0'
spec.license = { :type => 'Custom', :text => 'Navigine Licence'}
spec.summary = "iOS SDK for performing indoor navigation"
spec.platform = :ios, "11.0"
spec.homepage = 'https://github.com/Navigine/Indoor-Navigation-iOS-Mobile-SDK-2.0'
spec.authors = { 'Pavel Tychinin' => 'p.tychinin@navigine.com' }
spec.source = { :git => 'https://github.com/Navigine/Indoor-Navigation-iOS-Mobile-SDK-2.0.git', :tag => 'v.2.1.0' }
spec.source = { :git => 'https://github.com/Navigine/Indoor-Navigation-iOS-Mobile-SDK-2.0.git', :tag => 'v.2.2.0' }
spec.documentation_url = 'https://github.com/Navigine/Indoor-Navigation-iOS-Mobile-SDK-2.0/wiki/Getting-Started'
spec.vendored_frameworks = 'Frameworks/Navigine.framework'
# spec.vendored_libraries = 'Frameworks/navigine.framework/Navigine'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
DEFAULT_EXPORT_ATTRIBUTE
@protocol NCAsyncRouteListener <NSObject>

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

- (void)onRouteAdvanced:(float)distance
point:(nonnull NCLocationPoint *)point;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
DEFAULT_EXPORT_ATTRIBUTE
@interface NCAsyncRouteManager : NSObject

- (nullable NCRouteSession *)createRouteSession:(nonnull NCLocationPoint *)wayPoint;
- (nullable NCRouteSession *)createRouteSession:(nonnull NCLocationPoint *)wayPoint
smoothRadius:(float)smoothRadius;

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@

DEFAULT_EXPORT_ATTRIBUTE
@interface NCGlobalPoint : NSObject
- (nonnull instancetype)initWithLatitude:(float)latitude
longitude:(float)longitude;
+ (nonnull instancetype)globalPointWithLatitude:(float)latitude
longitude:(float)longitude;
- (nonnull instancetype)initWithLatitude:(double)latitude
longitude:(double)longitude;
+ (nonnull instancetype)globalPointWithLatitude:(double)latitude
longitude:(double)longitude;

@property (nonatomic, readonly) float latitude;
@property (nonatomic, readonly) double latitude;

@property (nonatomic, readonly) float longitude;
@property (nonatomic, readonly) double longitude;

@end
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,31 @@
// This file was generated by Djinni from position.djinni

#import "NCExport.h"
#import "NCPoint.h"
#import "NCGlobalPoint.h"
#import "NCLocationPoint.h"
#import <Foundation/Foundation.h>

DEFAULT_EXPORT_ATTRIBUTE
@interface NCPosition : NSObject
- (nonnull instancetype)initWithPoint:(nonnull NCPoint *)point
locationId:(int32_t)locationId
sublocationId:(int32_t)sublocationId
accuracy:(float)accuracy
azimuth:(float)azimuth;
+ (nonnull instancetype)positionWithPoint:(nonnull NCPoint *)point
locationId:(int32_t)locationId
sublocationId:(int32_t)sublocationId
accuracy:(float)accuracy
azimuth:(float)azimuth;
- (nonnull instancetype)initWithPoint:(nonnull NCGlobalPoint *)point
accuracy:(double)accuracy
heading:(nullable NSNumber *)heading
locationPoint:(nullable NCLocationPoint *)locationPoint
locationHeading:(nullable NSNumber *)locationHeading;
+ (nonnull instancetype)positionWithPoint:(nonnull NCGlobalPoint *)point
accuracy:(double)accuracy
heading:(nullable NSNumber *)heading
locationPoint:(nullable NCLocationPoint *)locationPoint
locationHeading:(nullable NSNumber *)locationHeading;

@property (nonatomic, readonly, nonnull) NCPoint * point;
@property (nonatomic, readonly, nonnull) NCGlobalPoint * point;

@property (nonatomic, readonly) int32_t locationId;
@property (nonatomic, readonly) double accuracy;

@property (nonatomic, readonly) int32_t sublocationId;
@property (nonatomic, readonly, nullable) NSNumber * heading;

@property (nonatomic, readonly) float accuracy;
@property (nonatomic, readonly, nullable) NCLocationPoint * locationPoint;

@property (nonatomic, readonly) float azimuth;
@property (nonatomic, readonly, nullable) NSNumber * locationHeading;

@end
Loading

0 comments on commit bde0bb7

Please sign in to comment.