react-native-nitro-location-tracking 0.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.
- package/LICENSE +20 -0
- package/NitroLocationTracking.podspec +29 -0
- package/README.md +39 -0
- package/android/CMakeLists.txt +24 -0
- package/android/build.gradle +122 -0
- package/android/src/main/AndroidManifest.xml +18 -0
- package/android/src/main/cpp/cpp-adapter.cpp +6 -0
- package/android/src/main/java/com/margelo/nitro/nitrolocationtracking/ConnectionManager.kt +137 -0
- package/android/src/main/java/com/margelo/nitro/nitrolocationtracking/LocationEngine.kt +93 -0
- package/android/src/main/java/com/margelo/nitro/nitrolocationtracking/LocationForegroundService.kt +65 -0
- package/android/src/main/java/com/margelo/nitro/nitrolocationtracking/NativeDBWriter.kt +80 -0
- package/android/src/main/java/com/margelo/nitro/nitrolocationtracking/NitroLocationTracking.kt +180 -0
- package/android/src/main/java/com/margelo/nitro/nitrolocationtracking/NitroLocationTrackingPackage.kt +22 -0
- package/android/src/main/java/com/margelo/nitro/nitrolocationtracking/NotificationService.kt +75 -0
- package/ios/ConnectionManager.swift +144 -0
- package/ios/LocationEngine.swift +146 -0
- package/ios/NativeDBWriter.swift +121 -0
- package/ios/NitroLocationTracking.swift +127 -0
- package/ios/NotificationService.swift +31 -0
- package/lib/module/LocationSmoother.js +33 -0
- package/lib/module/LocationSmoother.js.map +1 -0
- package/lib/module/NitroLocationTracking.nitro.js +4 -0
- package/lib/module/NitroLocationTracking.nitro.js.map +1 -0
- package/lib/module/bearing.js +19 -0
- package/lib/module/bearing.js.map +1 -0
- package/lib/module/db.js +234 -0
- package/lib/module/db.js.map +1 -0
- package/lib/module/index.js +68 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/package.json +1 -0
- package/lib/typescript/package.json +1 -0
- package/lib/typescript/src/LocationSmoother.d.ts +19 -0
- package/lib/typescript/src/LocationSmoother.d.ts.map +1 -0
- package/lib/typescript/src/NitroLocationTracking.nitro.d.ts +59 -0
- package/lib/typescript/src/NitroLocationTracking.nitro.d.ts.map +1 -0
- package/lib/typescript/src/bearing.d.ts +9 -0
- package/lib/typescript/src/bearing.d.ts.map +1 -0
- package/lib/typescript/src/db.d.ts +1 -0
- package/lib/typescript/src/db.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +21 -0
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/nitro.json +17 -0
- package/nitrogen/generated/android/c++/JAccuracyLevel.hpp +61 -0
- package/nitrogen/generated/android/c++/JConnectionConfig.hpp +81 -0
- package/nitrogen/generated/android/c++/JConnectionState.hpp +61 -0
- package/nitrogen/generated/android/c++/JFunc_void_ConnectionState.hpp +77 -0
- package/nitrogen/generated/android/c++/JFunc_void_LocationData.hpp +77 -0
- package/nitrogen/generated/android/c++/JFunc_void_bool.hpp +75 -0
- package/nitrogen/generated/android/c++/JFunc_void_std__string.hpp +76 -0
- package/nitrogen/generated/android/c++/JHybridNitroLocationTrackingSpec.cpp +179 -0
- package/nitrogen/generated/android/c++/JHybridNitroLocationTrackingSpec.hpp +83 -0
- package/nitrogen/generated/android/c++/JLocationConfig.hpp +91 -0
- package/nitrogen/generated/android/c++/JLocationData.hpp +81 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/nitrolocationtracking/AccuracyLevel.kt +24 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/nitrolocationtracking/ConnectionConfig.kt +56 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/nitrolocationtracking/ConnectionState.kt +24 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/nitrolocationtracking/Func_void_ConnectionState.kt +80 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/nitrolocationtracking/Func_void_LocationData.kt +80 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/nitrolocationtracking/Func_void_bool.kt +80 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/nitrolocationtracking/Func_void_std__string.kt +80 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/nitrolocationtracking/HybridNitroLocationTrackingSpec.kt +146 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/nitrolocationtracking/LocationConfig.kt +62 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/nitrolocationtracking/LocationData.kt +56 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/nitrolocationtracking/nitrolocationtrackingOnLoad.kt +35 -0
- package/nitrogen/generated/android/nitrolocationtracking+autolinking.cmake +81 -0
- package/nitrogen/generated/android/nitrolocationtracking+autolinking.gradle +27 -0
- package/nitrogen/generated/android/nitrolocationtrackingOnLoad.cpp +52 -0
- package/nitrogen/generated/android/nitrolocationtrackingOnLoad.hpp +25 -0
- package/nitrogen/generated/ios/NitroLocationTracking+autolinking.rb +60 -0
- package/nitrogen/generated/ios/NitroLocationTracking-Swift-Cxx-Bridge.cpp +73 -0
- package/nitrogen/generated/ios/NitroLocationTracking-Swift-Cxx-Bridge.hpp +231 -0
- package/nitrogen/generated/ios/NitroLocationTracking-Swift-Cxx-Umbrella.hpp +61 -0
- package/nitrogen/generated/ios/NitroLocationTrackingAutolinking.mm +33 -0
- package/nitrogen/generated/ios/NitroLocationTrackingAutolinking.swift +26 -0
- package/nitrogen/generated/ios/c++/HybridNitroLocationTrackingSpecSwift.cpp +11 -0
- package/nitrogen/generated/ios/c++/HybridNitroLocationTrackingSpecSwift.hpp +206 -0
- package/nitrogen/generated/ios/swift/AccuracyLevel.swift +44 -0
- package/nitrogen/generated/ios/swift/ConnectionConfig.swift +59 -0
- package/nitrogen/generated/ios/swift/ConnectionState.swift +44 -0
- package/nitrogen/generated/ios/swift/Func_void_ConnectionState.swift +46 -0
- package/nitrogen/generated/ios/swift/Func_void_LocationData.swift +46 -0
- package/nitrogen/generated/ios/swift/Func_void_bool.swift +46 -0
- package/nitrogen/generated/ios/swift/Func_void_std__exception_ptr.swift +46 -0
- package/nitrogen/generated/ios/swift/Func_void_std__string.swift +46 -0
- package/nitrogen/generated/ios/swift/HybridNitroLocationTrackingSpec.swift +72 -0
- package/nitrogen/generated/ios/swift/HybridNitroLocationTrackingSpec_cxx.swift +362 -0
- package/nitrogen/generated/ios/swift/LocationConfig.swift +69 -0
- package/nitrogen/generated/ios/swift/LocationData.swift +59 -0
- package/nitrogen/generated/shared/c++/AccuracyLevel.hpp +80 -0
- package/nitrogen/generated/shared/c++/ConnectionConfig.hpp +107 -0
- package/nitrogen/generated/shared/c++/ConnectionState.hpp +80 -0
- package/nitrogen/generated/shared/c++/HybridNitroLocationTrackingSpec.cpp +38 -0
- package/nitrogen/generated/shared/c++/HybridNitroLocationTrackingSpec.hpp +92 -0
- package/nitrogen/generated/shared/c++/LocationConfig.hpp +117 -0
- package/nitrogen/generated/shared/c++/LocationData.hpp +107 -0
- package/package.json +174 -0
- package/src/LocationSmoother.ts +46 -0
- package/src/NitroLocationTracking.nitro.ts +79 -0
- package/src/bearing.ts +22 -0
- package/src/db.ts +232 -0
- package/src/index.tsx +92 -0
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
///
|
|
2
|
+
/// nitrolocationtrackingOnLoad.cpp
|
|
3
|
+
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
|
+
/// https://github.com/mrousavy/nitro
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
|
+
///
|
|
7
|
+
|
|
8
|
+
#ifndef BUILDING_NITROLOCATIONTRACKING_WITH_GENERATED_CMAKE_PROJECT
|
|
9
|
+
#error nitrolocationtrackingOnLoad.cpp is not being built with the autogenerated CMakeLists.txt project. Is a different CMakeLists.txt building this?
|
|
10
|
+
#endif
|
|
11
|
+
|
|
12
|
+
#include "nitrolocationtrackingOnLoad.hpp"
|
|
13
|
+
|
|
14
|
+
#include <jni.h>
|
|
15
|
+
#include <fbjni/fbjni.h>
|
|
16
|
+
#include <NitroModules/HybridObjectRegistry.hpp>
|
|
17
|
+
|
|
18
|
+
#include "JHybridNitroLocationTrackingSpec.hpp"
|
|
19
|
+
#include "JFunc_void_LocationData.hpp"
|
|
20
|
+
#include "JFunc_void_bool.hpp"
|
|
21
|
+
#include "JFunc_void_ConnectionState.hpp"
|
|
22
|
+
#include "JFunc_void_std__string.hpp"
|
|
23
|
+
#include <NitroModules/DefaultConstructableObject.hpp>
|
|
24
|
+
|
|
25
|
+
namespace margelo::nitro::nitrolocationtracking {
|
|
26
|
+
|
|
27
|
+
int initialize(JavaVM* vm) {
|
|
28
|
+
using namespace margelo::nitro;
|
|
29
|
+
using namespace margelo::nitro::nitrolocationtracking;
|
|
30
|
+
using namespace facebook;
|
|
31
|
+
|
|
32
|
+
return facebook::jni::initialize(vm, [] {
|
|
33
|
+
// Register native JNI methods
|
|
34
|
+
margelo::nitro::nitrolocationtracking::JHybridNitroLocationTrackingSpec::registerNatives();
|
|
35
|
+
margelo::nitro::nitrolocationtracking::JFunc_void_LocationData_cxx::registerNatives();
|
|
36
|
+
margelo::nitro::nitrolocationtracking::JFunc_void_bool_cxx::registerNatives();
|
|
37
|
+
margelo::nitro::nitrolocationtracking::JFunc_void_ConnectionState_cxx::registerNatives();
|
|
38
|
+
margelo::nitro::nitrolocationtracking::JFunc_void_std__string_cxx::registerNatives();
|
|
39
|
+
|
|
40
|
+
// Register Nitro Hybrid Objects
|
|
41
|
+
HybridObjectRegistry::registerHybridObjectConstructor(
|
|
42
|
+
"NitroLocationTracking",
|
|
43
|
+
[]() -> std::shared_ptr<HybridObject> {
|
|
44
|
+
static DefaultConstructableObject<JHybridNitroLocationTrackingSpec::javaobject> object("com/margelo/nitro/nitrolocationtracking/NitroLocationTracking");
|
|
45
|
+
auto instance = object.create();
|
|
46
|
+
return instance->cthis()->shared();
|
|
47
|
+
}
|
|
48
|
+
);
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
} // namespace margelo::nitro::nitrolocationtracking
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
///
|
|
2
|
+
/// nitrolocationtrackingOnLoad.hpp
|
|
3
|
+
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
|
+
/// https://github.com/mrousavy/nitro
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
|
+
///
|
|
7
|
+
|
|
8
|
+
#include <jni.h>
|
|
9
|
+
#include <NitroModules/NitroDefines.hpp>
|
|
10
|
+
|
|
11
|
+
namespace margelo::nitro::nitrolocationtracking {
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Initializes the native (C++) part of nitrolocationtracking, and autolinks all Hybrid Objects.
|
|
15
|
+
* Call this in your `JNI_OnLoad` function (probably inside `cpp-adapter.cpp`).
|
|
16
|
+
* Example:
|
|
17
|
+
* ```cpp (cpp-adapter.cpp)
|
|
18
|
+
* JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM* vm, void*) {
|
|
19
|
+
* return margelo::nitro::nitrolocationtracking::initialize(vm);
|
|
20
|
+
* }
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
int initialize(JavaVM* vm);
|
|
24
|
+
|
|
25
|
+
} // namespace margelo::nitro::nitrolocationtracking
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
#
|
|
2
|
+
# NitroLocationTracking+autolinking.rb
|
|
3
|
+
# This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
|
+
# https://github.com/mrousavy/nitro
|
|
5
|
+
# Copyright © Marc Rousavy @ Margelo
|
|
6
|
+
#
|
|
7
|
+
|
|
8
|
+
# This is a Ruby script that adds all files generated by Nitrogen
|
|
9
|
+
# to the given podspec.
|
|
10
|
+
#
|
|
11
|
+
# To use it, add this to your .podspec:
|
|
12
|
+
# ```ruby
|
|
13
|
+
# Pod::Spec.new do |spec|
|
|
14
|
+
# # ...
|
|
15
|
+
#
|
|
16
|
+
# # Add all files generated by Nitrogen
|
|
17
|
+
# load 'nitrogen/generated/ios/NitroLocationTracking+autolinking.rb'
|
|
18
|
+
# add_nitrogen_files(spec)
|
|
19
|
+
# end
|
|
20
|
+
# ```
|
|
21
|
+
|
|
22
|
+
def add_nitrogen_files(spec)
|
|
23
|
+
Pod::UI.puts "[NitroModules] 🔥 NitroLocationTracking is boosted by nitro!"
|
|
24
|
+
|
|
25
|
+
spec.dependency "NitroModules"
|
|
26
|
+
|
|
27
|
+
current_source_files = Array(spec.attributes_hash['source_files'])
|
|
28
|
+
spec.source_files = current_source_files + [
|
|
29
|
+
# Generated cross-platform specs
|
|
30
|
+
"nitrogen/generated/shared/**/*.{h,hpp,c,cpp,swift}",
|
|
31
|
+
# Generated bridges for the cross-platform specs
|
|
32
|
+
"nitrogen/generated/ios/**/*.{h,hpp,c,cpp,mm,swift}",
|
|
33
|
+
]
|
|
34
|
+
|
|
35
|
+
current_public_header_files = Array(spec.attributes_hash['public_header_files'])
|
|
36
|
+
spec.public_header_files = current_public_header_files + [
|
|
37
|
+
# Generated specs
|
|
38
|
+
"nitrogen/generated/shared/**/*.{h,hpp}",
|
|
39
|
+
# Swift to C++ bridging helpers
|
|
40
|
+
"nitrogen/generated/ios/NitroLocationTracking-Swift-Cxx-Bridge.hpp"
|
|
41
|
+
]
|
|
42
|
+
|
|
43
|
+
current_private_header_files = Array(spec.attributes_hash['private_header_files'])
|
|
44
|
+
spec.private_header_files = current_private_header_files + [
|
|
45
|
+
# iOS specific specs
|
|
46
|
+
"nitrogen/generated/ios/c++/**/*.{h,hpp}",
|
|
47
|
+
# Views are framework-specific and should be private
|
|
48
|
+
"nitrogen/generated/shared/**/views/**/*"
|
|
49
|
+
]
|
|
50
|
+
|
|
51
|
+
current_pod_target_xcconfig = spec.attributes_hash['pod_target_xcconfig'] || {}
|
|
52
|
+
spec.pod_target_xcconfig = current_pod_target_xcconfig.merge({
|
|
53
|
+
# Use C++ 20
|
|
54
|
+
"CLANG_CXX_LANGUAGE_STANDARD" => "c++20",
|
|
55
|
+
# Enables C++ <-> Swift interop (by default it's only ObjC)
|
|
56
|
+
"SWIFT_OBJC_INTEROP_MODE" => "objcxx",
|
|
57
|
+
# Enables stricter modular headers
|
|
58
|
+
"DEFINES_MODULE" => "YES",
|
|
59
|
+
})
|
|
60
|
+
end
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
///
|
|
2
|
+
/// NitroLocationTracking-Swift-Cxx-Bridge.cpp
|
|
3
|
+
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
|
+
/// https://github.com/mrousavy/nitro
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
|
+
///
|
|
7
|
+
|
|
8
|
+
#include "NitroLocationTracking-Swift-Cxx-Bridge.hpp"
|
|
9
|
+
|
|
10
|
+
// Include C++ implementation defined types
|
|
11
|
+
#include "HybridNitroLocationTrackingSpecSwift.hpp"
|
|
12
|
+
#include "NitroLocationTracking-Swift-Cxx-Umbrella.hpp"
|
|
13
|
+
#include <NitroModules/NitroDefines.hpp>
|
|
14
|
+
|
|
15
|
+
namespace margelo::nitro::nitrolocationtracking::bridge::swift {
|
|
16
|
+
|
|
17
|
+
// pragma MARK: std::function<void(const LocationData& /* result */)>
|
|
18
|
+
Func_void_LocationData create_Func_void_LocationData(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
19
|
+
auto swiftClosure = NitroLocationTracking::Func_void_LocationData::fromUnsafe(swiftClosureWrapper);
|
|
20
|
+
return [swiftClosure = std::move(swiftClosure)](const LocationData& result) mutable -> void {
|
|
21
|
+
swiftClosure.call(result);
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
// pragma MARK: std::function<void(const std::exception_ptr& /* error */)>
|
|
26
|
+
Func_void_std__exception_ptr create_Func_void_std__exception_ptr(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
27
|
+
auto swiftClosure = NitroLocationTracking::Func_void_std__exception_ptr::fromUnsafe(swiftClosureWrapper);
|
|
28
|
+
return [swiftClosure = std::move(swiftClosure)](const std::exception_ptr& error) mutable -> void {
|
|
29
|
+
swiftClosure.call(error);
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
// pragma MARK: std::function<void(bool /* isMoving */)>
|
|
34
|
+
Func_void_bool create_Func_void_bool(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
35
|
+
auto swiftClosure = NitroLocationTracking::Func_void_bool::fromUnsafe(swiftClosureWrapper);
|
|
36
|
+
return [swiftClosure = std::move(swiftClosure)](bool isMoving) mutable -> void {
|
|
37
|
+
swiftClosure.call(isMoving);
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
// pragma MARK: std::function<void(ConnectionState /* state */)>
|
|
42
|
+
Func_void_ConnectionState create_Func_void_ConnectionState(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
43
|
+
auto swiftClosure = NitroLocationTracking::Func_void_ConnectionState::fromUnsafe(swiftClosureWrapper);
|
|
44
|
+
return [swiftClosure = std::move(swiftClosure)](ConnectionState state) mutable -> void {
|
|
45
|
+
swiftClosure.call(static_cast<int>(state));
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
// pragma MARK: std::function<void(const std::string& /* message */)>
|
|
50
|
+
Func_void_std__string create_Func_void_std__string(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
51
|
+
auto swiftClosure = NitroLocationTracking::Func_void_std__string::fromUnsafe(swiftClosureWrapper);
|
|
52
|
+
return [swiftClosure = std::move(swiftClosure)](const std::string& message) mutable -> void {
|
|
53
|
+
swiftClosure.call(message);
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// pragma MARK: std::shared_ptr<HybridNitroLocationTrackingSpec>
|
|
58
|
+
std::shared_ptr<HybridNitroLocationTrackingSpec> create_std__shared_ptr_HybridNitroLocationTrackingSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
59
|
+
NitroLocationTracking::HybridNitroLocationTrackingSpec_cxx swiftPart = NitroLocationTracking::HybridNitroLocationTrackingSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
60
|
+
return std::make_shared<margelo::nitro::nitrolocationtracking::HybridNitroLocationTrackingSpecSwift>(swiftPart);
|
|
61
|
+
}
|
|
62
|
+
void* NON_NULL get_std__shared_ptr_HybridNitroLocationTrackingSpec_(std__shared_ptr_HybridNitroLocationTrackingSpec_ cppType) {
|
|
63
|
+
std::shared_ptr<margelo::nitro::nitrolocationtracking::HybridNitroLocationTrackingSpecSwift> swiftWrapper = std::dynamic_pointer_cast<margelo::nitro::nitrolocationtracking::HybridNitroLocationTrackingSpecSwift>(cppType);
|
|
64
|
+
#ifdef NITRO_DEBUG
|
|
65
|
+
if (swiftWrapper == nullptr) [[unlikely]] {
|
|
66
|
+
throw std::runtime_error("Class \"HybridNitroLocationTrackingSpec\" is not implemented in Swift!");
|
|
67
|
+
}
|
|
68
|
+
#endif
|
|
69
|
+
NitroLocationTracking::HybridNitroLocationTrackingSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
70
|
+
return swiftPart.toUnsafe();
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
} // namespace margelo::nitro::nitrolocationtracking::bridge::swift
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
///
|
|
2
|
+
/// NitroLocationTracking-Swift-Cxx-Bridge.hpp
|
|
3
|
+
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
|
+
/// https://github.com/mrousavy/nitro
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
|
+
///
|
|
7
|
+
|
|
8
|
+
#pragma once
|
|
9
|
+
|
|
10
|
+
// Forward declarations of C++ defined types
|
|
11
|
+
// Forward declaration of `ConnectionState` to properly resolve imports.
|
|
12
|
+
namespace margelo::nitro::nitrolocationtracking { enum class ConnectionState; }
|
|
13
|
+
// Forward declaration of `HybridNitroLocationTrackingSpec` to properly resolve imports.
|
|
14
|
+
namespace margelo::nitro::nitrolocationtracking { class HybridNitroLocationTrackingSpec; }
|
|
15
|
+
// Forward declaration of `LocationData` to properly resolve imports.
|
|
16
|
+
namespace margelo::nitro::nitrolocationtracking { struct LocationData; }
|
|
17
|
+
|
|
18
|
+
// Forward declarations of Swift defined types
|
|
19
|
+
// Forward declaration of `HybridNitroLocationTrackingSpec_cxx` to properly resolve imports.
|
|
20
|
+
namespace NitroLocationTracking { class HybridNitroLocationTrackingSpec_cxx; }
|
|
21
|
+
|
|
22
|
+
// Include C++ defined types
|
|
23
|
+
#include "ConnectionState.hpp"
|
|
24
|
+
#include "HybridNitroLocationTrackingSpec.hpp"
|
|
25
|
+
#include "LocationData.hpp"
|
|
26
|
+
#include <NitroModules/Promise.hpp>
|
|
27
|
+
#include <NitroModules/PromiseHolder.hpp>
|
|
28
|
+
#include <NitroModules/Result.hpp>
|
|
29
|
+
#include <exception>
|
|
30
|
+
#include <functional>
|
|
31
|
+
#include <memory>
|
|
32
|
+
#include <string>
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Contains specialized versions of C++ templated types so they can be accessed from Swift,
|
|
36
|
+
* as well as helper functions to interact with those C++ types from Swift.
|
|
37
|
+
*/
|
|
38
|
+
namespace margelo::nitro::nitrolocationtracking::bridge::swift {
|
|
39
|
+
|
|
40
|
+
// pragma MARK: std::shared_ptr<Promise<LocationData>>
|
|
41
|
+
/**
|
|
42
|
+
* Specialized version of `std::shared_ptr<Promise<LocationData>>`.
|
|
43
|
+
*/
|
|
44
|
+
using std__shared_ptr_Promise_LocationData__ = std::shared_ptr<Promise<LocationData>>;
|
|
45
|
+
inline std::shared_ptr<Promise<LocationData>> create_std__shared_ptr_Promise_LocationData__() noexcept {
|
|
46
|
+
return Promise<LocationData>::create();
|
|
47
|
+
}
|
|
48
|
+
inline PromiseHolder<LocationData> wrap_std__shared_ptr_Promise_LocationData__(std::shared_ptr<Promise<LocationData>> promise) noexcept {
|
|
49
|
+
return PromiseHolder<LocationData>(std::move(promise));
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
// pragma MARK: std::function<void(const LocationData& /* result */)>
|
|
53
|
+
/**
|
|
54
|
+
* Specialized version of `std::function<void(const LocationData&)>`.
|
|
55
|
+
*/
|
|
56
|
+
using Func_void_LocationData = std::function<void(const LocationData& /* result */)>;
|
|
57
|
+
/**
|
|
58
|
+
* Wrapper class for a `std::function<void(const LocationData& / * result * /)>`, this can be used from Swift.
|
|
59
|
+
*/
|
|
60
|
+
class Func_void_LocationData_Wrapper final {
|
|
61
|
+
public:
|
|
62
|
+
explicit Func_void_LocationData_Wrapper(std::function<void(const LocationData& /* result */)>&& func): _function(std::make_unique<std::function<void(const LocationData& /* result */)>>(std::move(func))) {}
|
|
63
|
+
inline void call(LocationData result) const noexcept {
|
|
64
|
+
_function->operator()(result);
|
|
65
|
+
}
|
|
66
|
+
private:
|
|
67
|
+
std::unique_ptr<std::function<void(const LocationData& /* result */)>> _function;
|
|
68
|
+
} SWIFT_NONCOPYABLE;
|
|
69
|
+
Func_void_LocationData create_Func_void_LocationData(void* NON_NULL swiftClosureWrapper) noexcept;
|
|
70
|
+
inline Func_void_LocationData_Wrapper wrap_Func_void_LocationData(Func_void_LocationData value) noexcept {
|
|
71
|
+
return Func_void_LocationData_Wrapper(std::move(value));
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
// pragma MARK: std::function<void(const std::exception_ptr& /* error */)>
|
|
75
|
+
/**
|
|
76
|
+
* Specialized version of `std::function<void(const std::exception_ptr&)>`.
|
|
77
|
+
*/
|
|
78
|
+
using Func_void_std__exception_ptr = std::function<void(const std::exception_ptr& /* error */)>;
|
|
79
|
+
/**
|
|
80
|
+
* Wrapper class for a `std::function<void(const std::exception_ptr& / * error * /)>`, this can be used from Swift.
|
|
81
|
+
*/
|
|
82
|
+
class Func_void_std__exception_ptr_Wrapper final {
|
|
83
|
+
public:
|
|
84
|
+
explicit Func_void_std__exception_ptr_Wrapper(std::function<void(const std::exception_ptr& /* error */)>&& func): _function(std::make_unique<std::function<void(const std::exception_ptr& /* error */)>>(std::move(func))) {}
|
|
85
|
+
inline void call(std::exception_ptr error) const noexcept {
|
|
86
|
+
_function->operator()(error);
|
|
87
|
+
}
|
|
88
|
+
private:
|
|
89
|
+
std::unique_ptr<std::function<void(const std::exception_ptr& /* error */)>> _function;
|
|
90
|
+
} SWIFT_NONCOPYABLE;
|
|
91
|
+
Func_void_std__exception_ptr create_Func_void_std__exception_ptr(void* NON_NULL swiftClosureWrapper) noexcept;
|
|
92
|
+
inline Func_void_std__exception_ptr_Wrapper wrap_Func_void_std__exception_ptr(Func_void_std__exception_ptr value) noexcept {
|
|
93
|
+
return Func_void_std__exception_ptr_Wrapper(std::move(value));
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
// pragma MARK: std::function<void(bool /* isMoving */)>
|
|
97
|
+
/**
|
|
98
|
+
* Specialized version of `std::function<void(bool)>`.
|
|
99
|
+
*/
|
|
100
|
+
using Func_void_bool = std::function<void(bool /* isMoving */)>;
|
|
101
|
+
/**
|
|
102
|
+
* Wrapper class for a `std::function<void(bool / * isMoving * /)>`, this can be used from Swift.
|
|
103
|
+
*/
|
|
104
|
+
class Func_void_bool_Wrapper final {
|
|
105
|
+
public:
|
|
106
|
+
explicit Func_void_bool_Wrapper(std::function<void(bool /* isMoving */)>&& func): _function(std::make_unique<std::function<void(bool /* isMoving */)>>(std::move(func))) {}
|
|
107
|
+
inline void call(bool isMoving) const noexcept {
|
|
108
|
+
_function->operator()(isMoving);
|
|
109
|
+
}
|
|
110
|
+
private:
|
|
111
|
+
std::unique_ptr<std::function<void(bool /* isMoving */)>> _function;
|
|
112
|
+
} SWIFT_NONCOPYABLE;
|
|
113
|
+
Func_void_bool create_Func_void_bool(void* NON_NULL swiftClosureWrapper) noexcept;
|
|
114
|
+
inline Func_void_bool_Wrapper wrap_Func_void_bool(Func_void_bool value) noexcept {
|
|
115
|
+
return Func_void_bool_Wrapper(std::move(value));
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
// pragma MARK: std::function<void(ConnectionState /* state */)>
|
|
119
|
+
/**
|
|
120
|
+
* Specialized version of `std::function<void(ConnectionState)>`.
|
|
121
|
+
*/
|
|
122
|
+
using Func_void_ConnectionState = std::function<void(ConnectionState /* state */)>;
|
|
123
|
+
/**
|
|
124
|
+
* Wrapper class for a `std::function<void(ConnectionState / * state * /)>`, this can be used from Swift.
|
|
125
|
+
*/
|
|
126
|
+
class Func_void_ConnectionState_Wrapper final {
|
|
127
|
+
public:
|
|
128
|
+
explicit Func_void_ConnectionState_Wrapper(std::function<void(ConnectionState /* state */)>&& func): _function(std::make_unique<std::function<void(ConnectionState /* state */)>>(std::move(func))) {}
|
|
129
|
+
inline void call(int state) const noexcept {
|
|
130
|
+
_function->operator()(static_cast<ConnectionState>(state));
|
|
131
|
+
}
|
|
132
|
+
private:
|
|
133
|
+
std::unique_ptr<std::function<void(ConnectionState /* state */)>> _function;
|
|
134
|
+
} SWIFT_NONCOPYABLE;
|
|
135
|
+
Func_void_ConnectionState create_Func_void_ConnectionState(void* NON_NULL swiftClosureWrapper) noexcept;
|
|
136
|
+
inline Func_void_ConnectionState_Wrapper wrap_Func_void_ConnectionState(Func_void_ConnectionState value) noexcept {
|
|
137
|
+
return Func_void_ConnectionState_Wrapper(std::move(value));
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
// pragma MARK: std::function<void(const std::string& /* message */)>
|
|
141
|
+
/**
|
|
142
|
+
* Specialized version of `std::function<void(const std::string&)>`.
|
|
143
|
+
*/
|
|
144
|
+
using Func_void_std__string = std::function<void(const std::string& /* message */)>;
|
|
145
|
+
/**
|
|
146
|
+
* Wrapper class for a `std::function<void(const std::string& / * message * /)>`, this can be used from Swift.
|
|
147
|
+
*/
|
|
148
|
+
class Func_void_std__string_Wrapper final {
|
|
149
|
+
public:
|
|
150
|
+
explicit Func_void_std__string_Wrapper(std::function<void(const std::string& /* message */)>&& func): _function(std::make_unique<std::function<void(const std::string& /* message */)>>(std::move(func))) {}
|
|
151
|
+
inline void call(std::string message) const noexcept {
|
|
152
|
+
_function->operator()(message);
|
|
153
|
+
}
|
|
154
|
+
private:
|
|
155
|
+
std::unique_ptr<std::function<void(const std::string& /* message */)>> _function;
|
|
156
|
+
} SWIFT_NONCOPYABLE;
|
|
157
|
+
Func_void_std__string create_Func_void_std__string(void* NON_NULL swiftClosureWrapper) noexcept;
|
|
158
|
+
inline Func_void_std__string_Wrapper wrap_Func_void_std__string(Func_void_std__string value) noexcept {
|
|
159
|
+
return Func_void_std__string_Wrapper(std::move(value));
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
// pragma MARK: std::shared_ptr<Promise<bool>>
|
|
163
|
+
/**
|
|
164
|
+
* Specialized version of `std::shared_ptr<Promise<bool>>`.
|
|
165
|
+
*/
|
|
166
|
+
using std__shared_ptr_Promise_bool__ = std::shared_ptr<Promise<bool>>;
|
|
167
|
+
inline std::shared_ptr<Promise<bool>> create_std__shared_ptr_Promise_bool__() noexcept {
|
|
168
|
+
return Promise<bool>::create();
|
|
169
|
+
}
|
|
170
|
+
inline PromiseHolder<bool> wrap_std__shared_ptr_Promise_bool__(std::shared_ptr<Promise<bool>> promise) noexcept {
|
|
171
|
+
return PromiseHolder<bool>(std::move(promise));
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
// pragma MARK: std::shared_ptr<HybridNitroLocationTrackingSpec>
|
|
175
|
+
/**
|
|
176
|
+
* Specialized version of `std::shared_ptr<HybridNitroLocationTrackingSpec>`.
|
|
177
|
+
*/
|
|
178
|
+
using std__shared_ptr_HybridNitroLocationTrackingSpec_ = std::shared_ptr<HybridNitroLocationTrackingSpec>;
|
|
179
|
+
std::shared_ptr<HybridNitroLocationTrackingSpec> create_std__shared_ptr_HybridNitroLocationTrackingSpec_(void* NON_NULL swiftUnsafePointer) noexcept;
|
|
180
|
+
void* NON_NULL get_std__shared_ptr_HybridNitroLocationTrackingSpec_(std__shared_ptr_HybridNitroLocationTrackingSpec_ cppType);
|
|
181
|
+
|
|
182
|
+
// pragma MARK: std::weak_ptr<HybridNitroLocationTrackingSpec>
|
|
183
|
+
using std__weak_ptr_HybridNitroLocationTrackingSpec_ = std::weak_ptr<HybridNitroLocationTrackingSpec>;
|
|
184
|
+
inline std__weak_ptr_HybridNitroLocationTrackingSpec_ weakify_std__shared_ptr_HybridNitroLocationTrackingSpec_(const std::shared_ptr<HybridNitroLocationTrackingSpec>& strong) noexcept { return strong; }
|
|
185
|
+
|
|
186
|
+
// pragma MARK: Result<void>
|
|
187
|
+
using Result_void_ = Result<void>;
|
|
188
|
+
inline Result_void_ create_Result_void_() noexcept {
|
|
189
|
+
return Result<void>::withValue();
|
|
190
|
+
}
|
|
191
|
+
inline Result_void_ create_Result_void_(const std::exception_ptr& error) noexcept {
|
|
192
|
+
return Result<void>::withError(error);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
// pragma MARK: Result<std::shared_ptr<Promise<LocationData>>>
|
|
196
|
+
using Result_std__shared_ptr_Promise_LocationData___ = Result<std::shared_ptr<Promise<LocationData>>>;
|
|
197
|
+
inline Result_std__shared_ptr_Promise_LocationData___ create_Result_std__shared_ptr_Promise_LocationData___(const std::shared_ptr<Promise<LocationData>>& value) noexcept {
|
|
198
|
+
return Result<std::shared_ptr<Promise<LocationData>>>::withValue(value);
|
|
199
|
+
}
|
|
200
|
+
inline Result_std__shared_ptr_Promise_LocationData___ create_Result_std__shared_ptr_Promise_LocationData___(const std::exception_ptr& error) noexcept {
|
|
201
|
+
return Result<std::shared_ptr<Promise<LocationData>>>::withError(error);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
// pragma MARK: Result<bool>
|
|
205
|
+
using Result_bool_ = Result<bool>;
|
|
206
|
+
inline Result_bool_ create_Result_bool_(bool value) noexcept {
|
|
207
|
+
return Result<bool>::withValue(std::move(value));
|
|
208
|
+
}
|
|
209
|
+
inline Result_bool_ create_Result_bool_(const std::exception_ptr& error) noexcept {
|
|
210
|
+
return Result<bool>::withError(error);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
// pragma MARK: Result<ConnectionState>
|
|
214
|
+
using Result_ConnectionState_ = Result<ConnectionState>;
|
|
215
|
+
inline Result_ConnectionState_ create_Result_ConnectionState_(ConnectionState value) noexcept {
|
|
216
|
+
return Result<ConnectionState>::withValue(std::move(value));
|
|
217
|
+
}
|
|
218
|
+
inline Result_ConnectionState_ create_Result_ConnectionState_(const std::exception_ptr& error) noexcept {
|
|
219
|
+
return Result<ConnectionState>::withError(error);
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
// pragma MARK: Result<std::shared_ptr<Promise<bool>>>
|
|
223
|
+
using Result_std__shared_ptr_Promise_bool___ = Result<std::shared_ptr<Promise<bool>>>;
|
|
224
|
+
inline Result_std__shared_ptr_Promise_bool___ create_Result_std__shared_ptr_Promise_bool___(const std::shared_ptr<Promise<bool>>& value) noexcept {
|
|
225
|
+
return Result<std::shared_ptr<Promise<bool>>>::withValue(value);
|
|
226
|
+
}
|
|
227
|
+
inline Result_std__shared_ptr_Promise_bool___ create_Result_std__shared_ptr_Promise_bool___(const std::exception_ptr& error) noexcept {
|
|
228
|
+
return Result<std::shared_ptr<Promise<bool>>>::withError(error);
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
} // namespace margelo::nitro::nitrolocationtracking::bridge::swift
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
///
|
|
2
|
+
/// NitroLocationTracking-Swift-Cxx-Umbrella.hpp
|
|
3
|
+
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
|
+
/// https://github.com/mrousavy/nitro
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
|
+
///
|
|
7
|
+
|
|
8
|
+
#pragma once
|
|
9
|
+
|
|
10
|
+
// Forward declarations of C++ defined types
|
|
11
|
+
// Forward declaration of `AccuracyLevel` to properly resolve imports.
|
|
12
|
+
namespace margelo::nitro::nitrolocationtracking { enum class AccuracyLevel; }
|
|
13
|
+
// Forward declaration of `ConnectionConfig` to properly resolve imports.
|
|
14
|
+
namespace margelo::nitro::nitrolocationtracking { struct ConnectionConfig; }
|
|
15
|
+
// Forward declaration of `ConnectionState` to properly resolve imports.
|
|
16
|
+
namespace margelo::nitro::nitrolocationtracking { enum class ConnectionState; }
|
|
17
|
+
// Forward declaration of `HybridNitroLocationTrackingSpec` to properly resolve imports.
|
|
18
|
+
namespace margelo::nitro::nitrolocationtracking { class HybridNitroLocationTrackingSpec; }
|
|
19
|
+
// Forward declaration of `LocationConfig` to properly resolve imports.
|
|
20
|
+
namespace margelo::nitro::nitrolocationtracking { struct LocationConfig; }
|
|
21
|
+
// Forward declaration of `LocationData` to properly resolve imports.
|
|
22
|
+
namespace margelo::nitro::nitrolocationtracking { struct LocationData; }
|
|
23
|
+
|
|
24
|
+
// Include C++ defined types
|
|
25
|
+
#include "AccuracyLevel.hpp"
|
|
26
|
+
#include "ConnectionConfig.hpp"
|
|
27
|
+
#include "ConnectionState.hpp"
|
|
28
|
+
#include "HybridNitroLocationTrackingSpec.hpp"
|
|
29
|
+
#include "LocationConfig.hpp"
|
|
30
|
+
#include "LocationData.hpp"
|
|
31
|
+
#include <NitroModules/Promise.hpp>
|
|
32
|
+
#include <NitroModules/Result.hpp>
|
|
33
|
+
#include <exception>
|
|
34
|
+
#include <functional>
|
|
35
|
+
#include <memory>
|
|
36
|
+
#include <string>
|
|
37
|
+
|
|
38
|
+
// C++ helpers for Swift
|
|
39
|
+
#include "NitroLocationTracking-Swift-Cxx-Bridge.hpp"
|
|
40
|
+
|
|
41
|
+
// Common C++ types used in Swift
|
|
42
|
+
#include <NitroModules/ArrayBufferHolder.hpp>
|
|
43
|
+
#include <NitroModules/AnyMapUtils.hpp>
|
|
44
|
+
#include <NitroModules/RuntimeError.hpp>
|
|
45
|
+
#include <NitroModules/DateToChronoDate.hpp>
|
|
46
|
+
|
|
47
|
+
// Forward declarations of Swift defined types
|
|
48
|
+
// Forward declaration of `HybridNitroLocationTrackingSpec_cxx` to properly resolve imports.
|
|
49
|
+
namespace NitroLocationTracking { class HybridNitroLocationTrackingSpec_cxx; }
|
|
50
|
+
|
|
51
|
+
// Include Swift defined types
|
|
52
|
+
#if __has_include("NitroLocationTracking-Swift.h")
|
|
53
|
+
// This header is generated by Xcode/Swift on every app build.
|
|
54
|
+
// If it cannot be found, make sure the Swift module's name (= podspec name) is actually "NitroLocationTracking".
|
|
55
|
+
#include "NitroLocationTracking-Swift.h"
|
|
56
|
+
// Same as above, but used when building with frameworks (`use_frameworks`)
|
|
57
|
+
#elif __has_include(<NitroLocationTracking/NitroLocationTracking-Swift.h>)
|
|
58
|
+
#include <NitroLocationTracking/NitroLocationTracking-Swift.h>
|
|
59
|
+
#else
|
|
60
|
+
#error NitroLocationTracking's autogenerated Swift header cannot be found! Make sure the Swift module's name (= podspec name) is actually "NitroLocationTracking", and try building the app first.
|
|
61
|
+
#endif
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
///
|
|
2
|
+
/// NitroLocationTrackingAutolinking.mm
|
|
3
|
+
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
|
+
/// https://github.com/mrousavy/nitro
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
|
+
///
|
|
7
|
+
|
|
8
|
+
#import <Foundation/Foundation.h>
|
|
9
|
+
#import <NitroModules/HybridObjectRegistry.hpp>
|
|
10
|
+
#import "NitroLocationTracking-Swift-Cxx-Umbrella.hpp"
|
|
11
|
+
#import <type_traits>
|
|
12
|
+
|
|
13
|
+
#include "HybridNitroLocationTrackingSpecSwift.hpp"
|
|
14
|
+
|
|
15
|
+
@interface NitroLocationTrackingAutolinking : NSObject
|
|
16
|
+
@end
|
|
17
|
+
|
|
18
|
+
@implementation NitroLocationTrackingAutolinking
|
|
19
|
+
|
|
20
|
+
+ (void) load {
|
|
21
|
+
using namespace margelo::nitro;
|
|
22
|
+
using namespace margelo::nitro::nitrolocationtracking;
|
|
23
|
+
|
|
24
|
+
HybridObjectRegistry::registerHybridObjectConstructor(
|
|
25
|
+
"NitroLocationTracking",
|
|
26
|
+
[]() -> std::shared_ptr<HybridObject> {
|
|
27
|
+
std::shared_ptr<HybridNitroLocationTrackingSpec> hybridObject = NitroLocationTracking::NitroLocationTrackingAutolinking::createNitroLocationTracking();
|
|
28
|
+
return hybridObject;
|
|
29
|
+
}
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@end
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
///
|
|
2
|
+
/// NitroLocationTrackingAutolinking.swift
|
|
3
|
+
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
|
+
/// https://github.com/mrousavy/nitro
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
|
+
///
|
|
7
|
+
|
|
8
|
+
import NitroModules
|
|
9
|
+
|
|
10
|
+
// TODO: Use empty enums once Swift supports exporting them as namespaces
|
|
11
|
+
// See: https://github.com/swiftlang/swift/pull/83616
|
|
12
|
+
public final class NitroLocationTrackingAutolinking {
|
|
13
|
+
public typealias bridge = margelo.nitro.nitrolocationtracking.bridge.swift
|
|
14
|
+
|
|
15
|
+
public static func createNitroLocationTracking() -> bridge.std__shared_ptr_HybridNitroLocationTrackingSpec_ {
|
|
16
|
+
let hybridObject = NitroLocationTracking()
|
|
17
|
+
return { () -> bridge.std__shared_ptr_HybridNitroLocationTrackingSpec_ in
|
|
18
|
+
let __cxxWrapped = hybridObject.getCxxWrapper()
|
|
19
|
+
return __cxxWrapped.getCxxPart()
|
|
20
|
+
}()
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
public static func isNitroLocationTrackingRecyclable() -> Bool {
|
|
24
|
+
return NitroLocationTracking.self is any RecyclableView.Type
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
///
|
|
2
|
+
/// HybridNitroLocationTrackingSpecSwift.cpp
|
|
3
|
+
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
|
+
/// https://github.com/mrousavy/nitro
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
|
+
///
|
|
7
|
+
|
|
8
|
+
#include "HybridNitroLocationTrackingSpecSwift.hpp"
|
|
9
|
+
|
|
10
|
+
namespace margelo::nitro::nitrolocationtracking {
|
|
11
|
+
} // namespace margelo::nitro::nitrolocationtracking
|