@mapsindoors/react-native-maps-indoors-mapbox 2.0.5 → 2.0.7
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/README.md +1 -1
- package/android/build.gradle +1 -1
- package/ios/MapsIndoorsViewManager.swift +2 -2
- package/ios/core/DirectionsRendererModule.swift +14 -13
- package/ios/core/DirectionsServiceModule.swift +15 -13
- package/ios/core/MPDisplayRuleModule.swift +0 -16
- package/ios/core/MapControlModule.swift +2 -1
- package/ios/core/MapsIndoorsData.swift +36 -7
- package/package.json +1 -1
- package/react-native-maps-indoors-mapbox.podspec +2 -2
- package/src/core/MPLocation.ts +5 -1
- package/android/.gradle/7.4/checksums/checksums.lock +0 -0
- package/android/.gradle/7.4/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/7.4/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/7.4/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/android/.gradle/7.4/dependencies-accessors/gc.properties +0 -0
- package/android/.gradle/7.4/executionHistory/executionHistory.bin +0 -0
- package/android/.gradle/7.4/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/7.4/fileChanges/last-build.bin +0 -0
- package/android/.gradle/7.4/fileHashes/fileHashes.bin +0 -0
- package/android/.gradle/7.4/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/7.4/fileHashes/resourceHashesCache.bin +0 -0
- package/android/.gradle/7.4/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/android/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/android/.gradle/config.properties +0 -2
- package/android/.gradle/file-system.probe +0 -0
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/android/.idea/compiler.xml +0 -6
- package/android/.idea/gradle.xml +0 -18
- package/android/.idea/jarRepositories.xml +0 -60
- package/android/.idea/migrations.xml +0 -10
- package/android/.idea/misc.xml +0 -9
- package/android/.idea/other.xml +0 -263
- package/android/.idea/vcs.xml +0 -8
- package/android/local.properties +0 -8
- package/ios/MapsIndoors.xcodeproj/xcuserdata/timmikkelsen.xcuserdatad/xcschemes/xcschememanagement.plist +0 -14
- package/ios/MapsIndoors.xcworkspace/xcuserdata/timmikkelsen.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Documentation
|
|
4
4
|
|
|
5
|
-
Visit [our reference document site](https://app.mapsindoors.com/mapsindoors/reference/react-native/mapbox/2.0.
|
|
5
|
+
Visit [our reference document site](https://app.mapsindoors.com/mapsindoors/reference/react-native/mapbox/2.0.7/index.html) to get an overview of what the MapsIndoors SDK offers.
|
|
6
6
|
|
|
7
7
|
## Getting started
|
|
8
8
|
|
package/android/build.gradle
CHANGED
|
@@ -93,7 +93,7 @@ dependencies {
|
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
implementation 'com.mapbox.maps:android:11.4.0'
|
|
96
|
-
implementation 'com.mapspeople.mapsindoors:mapbox-v11:4.8.
|
|
96
|
+
implementation 'com.mapspeople.mapsindoors:mapbox-v11:4.8.9'
|
|
97
97
|
implementation 'com.facebook.react:react-native:+' // From node_modules
|
|
98
98
|
implementation 'androidx.core:core-ktx:1.3.2'
|
|
99
99
|
implementation 'com.github.bumptech.glide:glide:4.16.0'
|
|
@@ -19,10 +19,10 @@ class MapsIndoorsViewManager : RCTViewManager {
|
|
|
19
19
|
)
|
|
20
20
|
let options = MapInitOptions(cameraOptions: cameraOptions)
|
|
21
21
|
|
|
22
|
-
let mapView = MapView(frame:
|
|
22
|
+
let mapView = MapView(frame: CGRect(x: 0, y: 0, width: 64, height: 64), mapInitOptions: options)
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
MapsIndoorsData.reset()
|
|
26
26
|
MapsIndoorsData.sharedInstance.mapView = MapBoxView(mapboxView: mapView)
|
|
27
27
|
return mapView
|
|
28
28
|
}
|
|
@@ -36,8 +36,9 @@ public class DirectionsRendererModule: RCTEventEmitter {
|
|
|
36
36
|
return doReject(reject, message: "directions renderer null. MapControl needs to have been instantiated first")
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
DispatchQueue.main.
|
|
39
|
+
DispatchQueue.main.async {
|
|
40
40
|
directionsRenderer.clear()
|
|
41
|
+
directionsRenderer.route = nil
|
|
41
42
|
}
|
|
42
43
|
return resolve(nil)
|
|
43
44
|
}
|
|
@@ -76,13 +77,13 @@ public class DirectionsRendererModule: RCTEventEmitter {
|
|
|
76
77
|
|
|
77
78
|
directionsRenderer.padding = MapsIndoorsData.sharedInstance.mapView!.getMapControl()!.mapPadding
|
|
78
79
|
|
|
79
|
-
DispatchQueue.main.
|
|
80
|
+
DispatchQueue.main.async {
|
|
80
81
|
let succes = directionsRenderer.nextLeg()
|
|
81
82
|
|
|
82
83
|
if succes {
|
|
83
|
-
directionsRenderer.animate(duration: animationDuration.doubleValue)
|
|
84
|
-
if (isListeningForLegChanges) {
|
|
85
|
-
sendEvent(withName: MapsIndoorsData.Event.onLegSelected.rawValue, body: ["leg": directionsRenderer.routeLegIndex])
|
|
84
|
+
directionsRenderer.animate(duration: self.animationDuration.doubleValue)
|
|
85
|
+
if (self.isListeningForLegChanges) {
|
|
86
|
+
self.sendEvent(withName: MapsIndoorsData.Event.onLegSelected.rawValue, body: ["leg": directionsRenderer.routeLegIndex])
|
|
86
87
|
}
|
|
87
88
|
}
|
|
88
89
|
}
|
|
@@ -103,13 +104,13 @@ public class DirectionsRendererModule: RCTEventEmitter {
|
|
|
103
104
|
|
|
104
105
|
directionsRenderer.padding = MapsIndoorsData.sharedInstance.mapView!.getMapControl()!.mapPadding
|
|
105
106
|
|
|
106
|
-
DispatchQueue.main.
|
|
107
|
+
DispatchQueue.main.async {
|
|
107
108
|
let succes = directionsRenderer.previousLeg()
|
|
108
109
|
|
|
109
110
|
if succes {
|
|
110
|
-
directionsRenderer.animate(duration: animationDuration.doubleValue)
|
|
111
|
-
if (isListeningForLegChanges) {
|
|
112
|
-
sendEvent(withName: MapsIndoorsData.Event.onLegSelected.rawValue, body: ["leg": directionsRenderer.routeLegIndex])
|
|
111
|
+
directionsRenderer.animate(duration: self.animationDuration.doubleValue)
|
|
112
|
+
if (self.isListeningForLegChanges) {
|
|
113
|
+
self.sendEvent(withName: MapsIndoorsData.Event.onLegSelected.rawValue, body: ["leg": directionsRenderer.routeLegIndex])
|
|
113
114
|
}
|
|
114
115
|
}
|
|
115
116
|
}
|
|
@@ -143,13 +144,13 @@ public class DirectionsRendererModule: RCTEventEmitter {
|
|
|
143
144
|
|
|
144
145
|
directionsRenderer.padding = MapsIndoorsData.sharedInstance.mapView!.getMapControl()!.mapPadding
|
|
145
146
|
|
|
146
|
-
DispatchQueue.main.
|
|
147
|
+
DispatchQueue.main.async {
|
|
147
148
|
directionsRenderer.routeLegIndex = legIndex.intValue
|
|
148
149
|
|
|
149
|
-
directionsRenderer.animate(duration: animationDuration.doubleValue)
|
|
150
|
+
directionsRenderer.animate(duration: self.animationDuration.doubleValue)
|
|
150
151
|
|
|
151
|
-
if isListeningForLegChanges {
|
|
152
|
-
sendEvent(withName: MapsIndoorsData.Event.onLegSelected.rawValue, body: ["leg": directionsRenderer.routeLegIndex])
|
|
152
|
+
if self.isListeningForLegChanges {
|
|
153
|
+
self.sendEvent(withName: MapsIndoorsData.Event.onLegSelected.rawValue, body: ["leg": directionsRenderer.routeLegIndex])
|
|
153
154
|
}
|
|
154
155
|
}
|
|
155
156
|
return resolve(nil)
|
|
@@ -110,20 +110,22 @@ public class DirectionsServiceModule: NSObject {
|
|
|
110
110
|
query.travelMode = directionsVars.travelMode
|
|
111
111
|
|
|
112
112
|
Task {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
113
|
+
do {
|
|
114
|
+
if let route = try await MPMapsIndoors.shared.directionsService.routingWith(query: query) {
|
|
115
|
+
if let routeData = try? JSONEncoder().encode(route as? MPRouteInternal) {
|
|
116
|
+
let routeRoute = String(data: routeData, encoding: String.Encoding.utf8)
|
|
117
|
+
var map = Dictionary<String, String>()
|
|
118
|
+
map["route"] = routeRoute
|
|
119
|
+
map["error"] = "null"
|
|
120
|
+
return resolve(map)
|
|
121
|
+
} else {
|
|
122
|
+
return doReject(reject, message: "Route could not be parsed")
|
|
123
|
+
}
|
|
124
|
+
} else {
|
|
125
|
+
return resolve(nil)
|
|
124
126
|
}
|
|
125
|
-
}
|
|
126
|
-
return
|
|
127
|
+
} catch {
|
|
128
|
+
return doReject(reject, message: (error as? MPError)?.description ?? error.localizedDescription)
|
|
127
129
|
}
|
|
128
130
|
}
|
|
129
131
|
}
|
|
@@ -20,7 +20,6 @@ private func doReject(_ reject: RCTPromiseRejectBlock, displayRuleId: String,
|
|
|
20
20
|
|
|
21
21
|
@objc(DisplayRule)
|
|
22
22
|
public class MPDisplayRuleModule: NSObject {
|
|
23
|
-
private var refreshTimerWorkItem: DispatchWorkItem?
|
|
24
23
|
|
|
25
24
|
@objc static func requiresMainQueueSetup() -> Bool { return false }
|
|
26
25
|
|
|
@@ -89,31 +88,16 @@ public class MPDisplayRuleModule: NSObject {
|
|
|
89
88
|
|
|
90
89
|
private func getRule(name: String) -> MPDisplayRule? {
|
|
91
90
|
if let typeRule = getTypeRule(typeName: name) {
|
|
92
|
-
setRefreshTimer()
|
|
93
91
|
return MPMapsIndoors.shared.displayRuleFor(displayRuleType: typeRule)
|
|
94
92
|
} else if let namedRule = MPMapsIndoors.shared.displayRuleFor(type: name.lowercased()){
|
|
95
|
-
setRefreshTimer()
|
|
96
93
|
return namedRule
|
|
97
94
|
} else if let loc = MPMapsIndoors.shared.locationWith(locationId: name) {
|
|
98
|
-
setRefreshTimer()
|
|
99
95
|
return MPMapsIndoors.shared.displayRuleFor(location: loc)!
|
|
100
96
|
} else {
|
|
101
97
|
return nil
|
|
102
98
|
}
|
|
103
99
|
}
|
|
104
100
|
|
|
105
|
-
func setRefreshTimer() {
|
|
106
|
-
refreshTimerWorkItem?.cancel()
|
|
107
|
-
|
|
108
|
-
refreshTimerWorkItem = DispatchWorkItem {
|
|
109
|
-
MapsIndoorsData.sharedInstance.mapView?.getMapControl()?.refresh()
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
if let refreshTimerWorkItem {
|
|
113
|
-
DispatchQueue.global().asyncAfter(deadline: .now() + 0.5, execute: refreshTimerWorkItem)
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
|
|
117
101
|
func hexStringFromColor(color: UIColor) -> String {
|
|
118
102
|
// TODO: copy paste from Flutter
|
|
119
103
|
let components = color.cgColor.components
|
|
@@ -551,7 +551,8 @@ public class MapControlModule: RCTEventEmitter {
|
|
|
551
551
|
}
|
|
552
552
|
|
|
553
553
|
do {
|
|
554
|
-
|
|
554
|
+
let floor: MPFloorCodable = try fromJSON(newFloorJson)
|
|
555
|
+
floorSelector.onFloorSelectionChanged(newFloor: floor.floorIndex ?? 0)
|
|
555
556
|
return resolve(nil)
|
|
556
557
|
} catch let e {
|
|
557
558
|
return doReject(reject, error: e)
|
|
@@ -8,7 +8,11 @@ protocol LiveDataDelegate {
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
class MapsIndoorsData {
|
|
11
|
-
public static var sharedInstance = MapsIndoorsData()
|
|
11
|
+
public static var sharedInstance: MapsIndoorsData = MapsIndoorsData()
|
|
12
|
+
|
|
13
|
+
public static func reset() {
|
|
14
|
+
sharedInstance = MapsIndoorsData()
|
|
15
|
+
}
|
|
12
16
|
|
|
13
17
|
public var mapView: RCMapView?
|
|
14
18
|
public var directionsRenderer: MPDirectionsRenderer? = nil
|
|
@@ -111,6 +115,8 @@ class MapControlDelegate: MPMapControlDelegate, LiveDataDelegate, MPFloorSelecto
|
|
|
111
115
|
if (respondToDidChangeFloorIndex) {
|
|
112
116
|
sendEvent(event: .onFloorUpdate, body: ["floorIndex": floorIndex])
|
|
113
117
|
}
|
|
118
|
+
|
|
119
|
+
MapsIndoorsData.sharedInstance.floorSelector?.onFloorSelectionChanged(newFloor: NSNumber(value: floorIndex))
|
|
114
120
|
return false
|
|
115
121
|
}
|
|
116
122
|
|
|
@@ -125,6 +131,7 @@ class MapControlDelegate: MPMapControlDelegate, LiveDataDelegate, MPFloorSelecto
|
|
|
125
131
|
if (respondToDidChangeBuilding) {
|
|
126
132
|
sendEvent(event: .onBuildingFoundAtCameraTarget, body: ["building": selectedBuilding.map{ toJSON(MPBuildingCodable(withBuilding:($0))) }])
|
|
127
133
|
}
|
|
134
|
+
MapsIndoorsData.sharedInstance.floorSelector?.building = selectedBuilding
|
|
128
135
|
return false
|
|
129
136
|
}
|
|
130
137
|
|
|
@@ -157,10 +164,11 @@ class MapControlDelegate: MPMapControlDelegate, LiveDataDelegate, MPFloorSelecto
|
|
|
157
164
|
|
|
158
165
|
func onFloorIndexChanged(_ floorIndex: NSNumber) {
|
|
159
166
|
sendEvent(event: .onFloorUpdate, body: ["floorIndex": floorIndex])
|
|
167
|
+
MapsIndoorsData.sharedInstance.floorSelector?.onFloorSelectionChanged(newFloor: floorIndex)
|
|
160
168
|
}
|
|
161
169
|
|
|
162
170
|
func floorSelector(method: FloorSelector.Event, args: [String: Any]) {
|
|
163
|
-
let body = try! ["method": method].merging(args, uniquingKeysWith: { _,_ in throw MPError.unknownError })
|
|
171
|
+
let body = try! ["method": method.rawValue].merging(args, uniquingKeysWith: { _,_ in throw MPError.unknownError })
|
|
164
172
|
|
|
165
173
|
sendEvent(event: .floorSelector, body: body)
|
|
166
174
|
}
|
|
@@ -175,13 +183,21 @@ class FloorSelector: UIView, MPCustomFloorSelector {
|
|
|
175
183
|
case setUserPositionFloor
|
|
176
184
|
// TODO: the rest are not implemented since they are not available from the MPCustomFloorSelector protocol, and are not implemented in flutter
|
|
177
185
|
// case setSelectedFloor
|
|
178
|
-
|
|
186
|
+
case setSelectedFloorByFloorIndex
|
|
179
187
|
// case zoomLevelChanged
|
|
180
188
|
}
|
|
189
|
+
|
|
190
|
+
lazy var allEvents: [String] = {
|
|
191
|
+
var allEventNames: [String] = Event.allCases.map{$0.rawValue}
|
|
192
|
+
return allEventNames
|
|
193
|
+
}()
|
|
181
194
|
|
|
182
195
|
var building: MapsIndoors.MPBuilding?
|
|
196
|
+
var latestBuilding: MapsIndoors.MPBuilding?
|
|
183
197
|
var delegate: MapsIndoors.MPFloorSelectorDelegate?
|
|
184
198
|
|
|
199
|
+
var hide: Bool = false
|
|
200
|
+
|
|
185
201
|
var floorIndex: NSNumber?
|
|
186
202
|
|
|
187
203
|
var autoFloorChange = true
|
|
@@ -200,22 +216,35 @@ class FloorSelector: UIView, MPCustomFloorSelector {
|
|
|
200
216
|
super.init(frame: CGRect())
|
|
201
217
|
}
|
|
202
218
|
|
|
203
|
-
func onFloorSelectionChanged(newFloor:
|
|
204
|
-
let floorIndex = newFloor.
|
|
205
|
-
|
|
219
|
+
func onFloorSelectionChanged(newFloor: NSNumber) {
|
|
220
|
+
let floorIndex = newFloor.intValue
|
|
221
|
+
listenerDelegate.floorSelector(method: .setSelectedFloorByFloorIndex, args: ["floorIndex": newFloor])
|
|
206
222
|
}
|
|
207
223
|
|
|
208
224
|
func onShow() {
|
|
225
|
+
if (!hide && building === latestBuilding) {
|
|
226
|
+
return
|
|
227
|
+
}
|
|
209
228
|
if let building {
|
|
210
229
|
listenerDelegate.floorSelector(method: .setList, args: [
|
|
211
|
-
"list": toJSON(building.floors?.values.
|
|
230
|
+
"list": toJSON(building.floors?.values.sorted(by: { (floor1, floor2) -> Bool in
|
|
231
|
+
return floor1.floorIndex!.intValue < floor2.floorIndex!.intValue
|
|
232
|
+
}).map{MPFloorCodable(withFloor: $0)})
|
|
212
233
|
])
|
|
213
234
|
}
|
|
214
235
|
|
|
215
236
|
listenerDelegate.floorSelector(method: .show, args: ["show": true, "animated": true])
|
|
237
|
+
latestBuilding = building
|
|
238
|
+
hide = false
|
|
216
239
|
}
|
|
240
|
+
|
|
217
241
|
func onHide() {
|
|
242
|
+
if (hide) {
|
|
243
|
+
return
|
|
244
|
+
}
|
|
218
245
|
listenerDelegate.floorSelector(method: .show, args: ["show": false, "animated": true])
|
|
246
|
+
latestBuilding = nil
|
|
247
|
+
hide = true
|
|
219
248
|
}
|
|
220
249
|
|
|
221
250
|
func onUserPositionFloorChange(floorIndex: Int) {
|
package/package.json
CHANGED
|
@@ -24,7 +24,7 @@ Pod::Spec.new do |s|
|
|
|
24
24
|
s.requires_arc = true
|
|
25
25
|
|
|
26
26
|
s.dependency "React"
|
|
27
|
-
s.dependency "MapsIndoorsMapbox11", "4.5.
|
|
28
|
-
s.dependency "MapsIndoorsCodable", "4.5.
|
|
27
|
+
s.dependency "MapsIndoorsMapbox11", "4.5.15"
|
|
28
|
+
s.dependency "MapsIndoorsCodable", "4.5.15"
|
|
29
29
|
end
|
|
30
30
|
|
package/src/core/MPLocation.ts
CHANGED
|
@@ -120,11 +120,15 @@ export default class MPLocation extends MPEntity {
|
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
+
if (object && object.properties && Platform.OS === 'ios') {
|
|
124
|
+
object.properties.locationSettings = object.locationSettings
|
|
125
|
+
}
|
|
126
|
+
|
|
123
127
|
return new MPLocation(
|
|
124
128
|
object?.id,
|
|
125
129
|
object?.restrictions,
|
|
126
130
|
geo,
|
|
127
|
-
MPPropertyData.create(object?.properties),
|
|
131
|
+
MPPropertyData.create(object?.properties, object?.id),
|
|
128
132
|
);
|
|
129
133
|
|
|
130
134
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
package/android/.idea/gradle.xml
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="GradleMigrationSettings" migrationVersion="1" />
|
|
4
|
-
<component name="GradleSettings">
|
|
5
|
-
<option name="linkedExternalProjectsSettings">
|
|
6
|
-
<GradleProjectSettings>
|
|
7
|
-
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
|
8
|
-
<option name="gradleJvm" value="#GRADLE_LOCAL_JAVA_HOME" />
|
|
9
|
-
<option name="modules">
|
|
10
|
-
<set>
|
|
11
|
-
<option value="$PROJECT_DIR$" />
|
|
12
|
-
</set>
|
|
13
|
-
</option>
|
|
14
|
-
<option name="resolveExternalAnnotations" value="false" />
|
|
15
|
-
</GradleProjectSettings>
|
|
16
|
-
</option>
|
|
17
|
-
</component>
|
|
18
|
-
</project>
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="RemoteRepositoriesConfiguration">
|
|
4
|
-
<remote-repository>
|
|
5
|
-
<option name="id" value="central" />
|
|
6
|
-
<option name="name" value="Maven Central repository" />
|
|
7
|
-
<option name="url" value="https://repo1.maven.org/maven2" />
|
|
8
|
-
</remote-repository>
|
|
9
|
-
<remote-repository>
|
|
10
|
-
<option name="id" value="jboss.community" />
|
|
11
|
-
<option name="name" value="JBoss Community repository" />
|
|
12
|
-
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
|
|
13
|
-
</remote-repository>
|
|
14
|
-
<remote-repository>
|
|
15
|
-
<option name="id" value="MavenLocal" />
|
|
16
|
-
<option name="name" value="MavenLocal" />
|
|
17
|
-
<option name="url" value="file:$USER_HOME$/.m2/repository/" />
|
|
18
|
-
</remote-repository>
|
|
19
|
-
<remote-repository>
|
|
20
|
-
<option name="id" value="MavenRepo" />
|
|
21
|
-
<option name="name" value="MavenRepo" />
|
|
22
|
-
<option name="url" value="https://repo.maven.apache.org/maven2/" />
|
|
23
|
-
</remote-repository>
|
|
24
|
-
<remote-repository>
|
|
25
|
-
<option name="id" value="maven2" />
|
|
26
|
-
<option name="name" value="maven2" />
|
|
27
|
-
<option name="url" value="file:$PROJECT_DIR$/../node_modules/jsc-android/dist/" />
|
|
28
|
-
</remote-repository>
|
|
29
|
-
<remote-repository>
|
|
30
|
-
<option name="id" value="maven" />
|
|
31
|
-
<option name="name" value="maven" />
|
|
32
|
-
<option name="url" value="file:$PROJECT_DIR$/../node_modules/react-native/android/" />
|
|
33
|
-
</remote-repository>
|
|
34
|
-
<remote-repository>
|
|
35
|
-
<option name="id" value="Google" />
|
|
36
|
-
<option name="name" value="Google" />
|
|
37
|
-
<option name="url" value="https://dl.google.com/dl/android/maven2/" />
|
|
38
|
-
</remote-repository>
|
|
39
|
-
<remote-repository>
|
|
40
|
-
<option name="id" value="maven" />
|
|
41
|
-
<option name="name" value="maven" />
|
|
42
|
-
<option name="url" value="https://maven.mapsindoors.com/" />
|
|
43
|
-
</remote-repository>
|
|
44
|
-
<remote-repository>
|
|
45
|
-
<option name="id" value="maven3" />
|
|
46
|
-
<option name="name" value="maven3" />
|
|
47
|
-
<option name="url" value="file:$USER_HOME$/React%20Native%20with%20submodules/react-native-mapsindoors-mapbox/node_modules/jsc-android/dist/" />
|
|
48
|
-
</remote-repository>
|
|
49
|
-
<remote-repository>
|
|
50
|
-
<option name="id" value="maven4" />
|
|
51
|
-
<option name="name" value="maven4" />
|
|
52
|
-
<option name="url" value="https://api.mapbox.com/downloads/v2/releases/maven" />
|
|
53
|
-
</remote-repository>
|
|
54
|
-
<remote-repository>
|
|
55
|
-
<option name="id" value="maven2" />
|
|
56
|
-
<option name="name" value="maven2" />
|
|
57
|
-
<option name="url" value="file:$USER_HOME$/React%20Native%20with%20submodules/react-native-mapsindoors-mapbox/node_modules/react-native/android/" />
|
|
58
|
-
</remote-repository>
|
|
59
|
-
</component>
|
|
60
|
-
</project>
|
package/android/.idea/misc.xml
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
<project version="4">
|
|
2
|
-
<component name="ExternalStorageConfigurationManager" enabled="true" />
|
|
3
|
-
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
|
4
|
-
<output url="file://$PROJECT_DIR$/build/classes" />
|
|
5
|
-
</component>
|
|
6
|
-
<component name="ProjectType">
|
|
7
|
-
<option name="id" value="Android" />
|
|
8
|
-
</component>
|
|
9
|
-
</project>
|
package/android/.idea/other.xml
DELETED
|
@@ -1,263 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="direct_access_persist.xml">
|
|
4
|
-
<option name="deviceSelectionList">
|
|
5
|
-
<list>
|
|
6
|
-
<PersistentDeviceSelectionData>
|
|
7
|
-
<option name="api" value="27" />
|
|
8
|
-
<option name="brand" value="DOCOMO" />
|
|
9
|
-
<option name="codename" value="F01L" />
|
|
10
|
-
<option name="id" value="F01L" />
|
|
11
|
-
<option name="manufacturer" value="FUJITSU" />
|
|
12
|
-
<option name="name" value="F-01L" />
|
|
13
|
-
<option name="screenDensity" value="360" />
|
|
14
|
-
<option name="screenX" value="720" />
|
|
15
|
-
<option name="screenY" value="1280" />
|
|
16
|
-
</PersistentDeviceSelectionData>
|
|
17
|
-
<PersistentDeviceSelectionData>
|
|
18
|
-
<option name="api" value="28" />
|
|
19
|
-
<option name="brand" value="DOCOMO" />
|
|
20
|
-
<option name="codename" value="SH-01L" />
|
|
21
|
-
<option name="id" value="SH-01L" />
|
|
22
|
-
<option name="manufacturer" value="SHARP" />
|
|
23
|
-
<option name="name" value="AQUOS sense2 SH-01L" />
|
|
24
|
-
<option name="screenDensity" value="480" />
|
|
25
|
-
<option name="screenX" value="1080" />
|
|
26
|
-
<option name="screenY" value="2160" />
|
|
27
|
-
</PersistentDeviceSelectionData>
|
|
28
|
-
<PersistentDeviceSelectionData>
|
|
29
|
-
<option name="api" value="31" />
|
|
30
|
-
<option name="brand" value="samsung" />
|
|
31
|
-
<option name="codename" value="a51" />
|
|
32
|
-
<option name="id" value="a51" />
|
|
33
|
-
<option name="manufacturer" value="Samsung" />
|
|
34
|
-
<option name="name" value="Galaxy A51" />
|
|
35
|
-
<option name="screenDensity" value="420" />
|
|
36
|
-
<option name="screenX" value="1080" />
|
|
37
|
-
<option name="screenY" value="2400" />
|
|
38
|
-
</PersistentDeviceSelectionData>
|
|
39
|
-
<PersistentDeviceSelectionData>
|
|
40
|
-
<option name="api" value="34" />
|
|
41
|
-
<option name="brand" value="google" />
|
|
42
|
-
<option name="codename" value="akita" />
|
|
43
|
-
<option name="id" value="akita" />
|
|
44
|
-
<option name="manufacturer" value="Google" />
|
|
45
|
-
<option name="name" value="Pixel 8a" />
|
|
46
|
-
<option name="screenDensity" value="420" />
|
|
47
|
-
<option name="screenX" value="1080" />
|
|
48
|
-
<option name="screenY" value="2400" />
|
|
49
|
-
</PersistentDeviceSelectionData>
|
|
50
|
-
<PersistentDeviceSelectionData>
|
|
51
|
-
<option name="api" value="33" />
|
|
52
|
-
<option name="brand" value="samsung" />
|
|
53
|
-
<option name="codename" value="b0q" />
|
|
54
|
-
<option name="id" value="b0q" />
|
|
55
|
-
<option name="manufacturer" value="Samsung" />
|
|
56
|
-
<option name="name" value="Galaxy S22 Ultra" />
|
|
57
|
-
<option name="screenDensity" value="600" />
|
|
58
|
-
<option name="screenX" value="1440" />
|
|
59
|
-
<option name="screenY" value="3088" />
|
|
60
|
-
</PersistentDeviceSelectionData>
|
|
61
|
-
<PersistentDeviceSelectionData>
|
|
62
|
-
<option name="api" value="32" />
|
|
63
|
-
<option name="brand" value="google" />
|
|
64
|
-
<option name="codename" value="bluejay" />
|
|
65
|
-
<option name="id" value="bluejay" />
|
|
66
|
-
<option name="manufacturer" value="Google" />
|
|
67
|
-
<option name="name" value="Pixel 6a" />
|
|
68
|
-
<option name="screenDensity" value="420" />
|
|
69
|
-
<option name="screenX" value="1080" />
|
|
70
|
-
<option name="screenY" value="2400" />
|
|
71
|
-
</PersistentDeviceSelectionData>
|
|
72
|
-
<PersistentDeviceSelectionData>
|
|
73
|
-
<option name="api" value="29" />
|
|
74
|
-
<option name="brand" value="samsung" />
|
|
75
|
-
<option name="codename" value="crownqlteue" />
|
|
76
|
-
<option name="id" value="crownqlteue" />
|
|
77
|
-
<option name="manufacturer" value="Samsung" />
|
|
78
|
-
<option name="name" value="Galaxy Note9" />
|
|
79
|
-
<option name="screenDensity" value="420" />
|
|
80
|
-
<option name="screenX" value="2220" />
|
|
81
|
-
<option name="screenY" value="1080" />
|
|
82
|
-
</PersistentDeviceSelectionData>
|
|
83
|
-
<PersistentDeviceSelectionData>
|
|
84
|
-
<option name="api" value="34" />
|
|
85
|
-
<option name="brand" value="samsung" />
|
|
86
|
-
<option name="codename" value="dm3q" />
|
|
87
|
-
<option name="id" value="dm3q" />
|
|
88
|
-
<option name="manufacturer" value="Samsung" />
|
|
89
|
-
<option name="name" value="Galaxy S23 Ultra" />
|
|
90
|
-
<option name="screenDensity" value="600" />
|
|
91
|
-
<option name="screenX" value="1440" />
|
|
92
|
-
<option name="screenY" value="3088" />
|
|
93
|
-
</PersistentDeviceSelectionData>
|
|
94
|
-
<PersistentDeviceSelectionData>
|
|
95
|
-
<option name="api" value="33" />
|
|
96
|
-
<option name="brand" value="google" />
|
|
97
|
-
<option name="codename" value="felix" />
|
|
98
|
-
<option name="id" value="felix" />
|
|
99
|
-
<option name="manufacturer" value="Google" />
|
|
100
|
-
<option name="name" value="Pixel Fold" />
|
|
101
|
-
<option name="screenDensity" value="420" />
|
|
102
|
-
<option name="screenX" value="2208" />
|
|
103
|
-
<option name="screenY" value="1840" />
|
|
104
|
-
</PersistentDeviceSelectionData>
|
|
105
|
-
<PersistentDeviceSelectionData>
|
|
106
|
-
<option name="api" value="33" />
|
|
107
|
-
<option name="brand" value="google" />
|
|
108
|
-
<option name="codename" value="felix_camera" />
|
|
109
|
-
<option name="id" value="felix_camera" />
|
|
110
|
-
<option name="manufacturer" value="Google" />
|
|
111
|
-
<option name="name" value="Pixel Fold (Camera-enabled)" />
|
|
112
|
-
<option name="screenDensity" value="420" />
|
|
113
|
-
<option name="screenX" value="2208" />
|
|
114
|
-
<option name="screenY" value="1840" />
|
|
115
|
-
</PersistentDeviceSelectionData>
|
|
116
|
-
<PersistentDeviceSelectionData>
|
|
117
|
-
<option name="api" value="33" />
|
|
118
|
-
<option name="brand" value="samsung" />
|
|
119
|
-
<option name="codename" value="gts8uwifi" />
|
|
120
|
-
<option name="id" value="gts8uwifi" />
|
|
121
|
-
<option name="manufacturer" value="Samsung" />
|
|
122
|
-
<option name="name" value="Galaxy Tab S8 Ultra" />
|
|
123
|
-
<option name="screenDensity" value="320" />
|
|
124
|
-
<option name="screenX" value="1848" />
|
|
125
|
-
<option name="screenY" value="2960" />
|
|
126
|
-
</PersistentDeviceSelectionData>
|
|
127
|
-
<PersistentDeviceSelectionData>
|
|
128
|
-
<option name="api" value="34" />
|
|
129
|
-
<option name="brand" value="google" />
|
|
130
|
-
<option name="codename" value="husky" />
|
|
131
|
-
<option name="id" value="husky" />
|
|
132
|
-
<option name="manufacturer" value="Google" />
|
|
133
|
-
<option name="name" value="Pixel 8 Pro" />
|
|
134
|
-
<option name="screenDensity" value="390" />
|
|
135
|
-
<option name="screenX" value="1008" />
|
|
136
|
-
<option name="screenY" value="2244" />
|
|
137
|
-
</PersistentDeviceSelectionData>
|
|
138
|
-
<PersistentDeviceSelectionData>
|
|
139
|
-
<option name="api" value="30" />
|
|
140
|
-
<option name="brand" value="motorola" />
|
|
141
|
-
<option name="codename" value="java" />
|
|
142
|
-
<option name="id" value="java" />
|
|
143
|
-
<option name="manufacturer" value="Motorola" />
|
|
144
|
-
<option name="name" value="G20" />
|
|
145
|
-
<option name="screenDensity" value="280" />
|
|
146
|
-
<option name="screenX" value="720" />
|
|
147
|
-
<option name="screenY" value="1600" />
|
|
148
|
-
</PersistentDeviceSelectionData>
|
|
149
|
-
<PersistentDeviceSelectionData>
|
|
150
|
-
<option name="api" value="33" />
|
|
151
|
-
<option name="brand" value="google" />
|
|
152
|
-
<option name="codename" value="lynx" />
|
|
153
|
-
<option name="id" value="lynx" />
|
|
154
|
-
<option name="manufacturer" value="Google" />
|
|
155
|
-
<option name="name" value="Pixel 7a" />
|
|
156
|
-
<option name="screenDensity" value="420" />
|
|
157
|
-
<option name="screenX" value="1080" />
|
|
158
|
-
<option name="screenY" value="2400" />
|
|
159
|
-
</PersistentDeviceSelectionData>
|
|
160
|
-
<PersistentDeviceSelectionData>
|
|
161
|
-
<option name="api" value="31" />
|
|
162
|
-
<option name="brand" value="google" />
|
|
163
|
-
<option name="codename" value="oriole" />
|
|
164
|
-
<option name="id" value="oriole" />
|
|
165
|
-
<option name="manufacturer" value="Google" />
|
|
166
|
-
<option name="name" value="Pixel 6" />
|
|
167
|
-
<option name="screenDensity" value="420" />
|
|
168
|
-
<option name="screenX" value="1080" />
|
|
169
|
-
<option name="screenY" value="2400" />
|
|
170
|
-
</PersistentDeviceSelectionData>
|
|
171
|
-
<PersistentDeviceSelectionData>
|
|
172
|
-
<option name="api" value="33" />
|
|
173
|
-
<option name="brand" value="google" />
|
|
174
|
-
<option name="codename" value="panther" />
|
|
175
|
-
<option name="id" value="panther" />
|
|
176
|
-
<option name="manufacturer" value="Google" />
|
|
177
|
-
<option name="name" value="Pixel 7" />
|
|
178
|
-
<option name="screenDensity" value="420" />
|
|
179
|
-
<option name="screenX" value="1080" />
|
|
180
|
-
<option name="screenY" value="2400" />
|
|
181
|
-
</PersistentDeviceSelectionData>
|
|
182
|
-
<PersistentDeviceSelectionData>
|
|
183
|
-
<option name="api" value="31" />
|
|
184
|
-
<option name="brand" value="samsung" />
|
|
185
|
-
<option name="codename" value="q2q" />
|
|
186
|
-
<option name="id" value="q2q" />
|
|
187
|
-
<option name="manufacturer" value="Samsung" />
|
|
188
|
-
<option name="name" value="Galaxy Z Fold3" />
|
|
189
|
-
<option name="screenDensity" value="420" />
|
|
190
|
-
<option name="screenX" value="1768" />
|
|
191
|
-
<option name="screenY" value="2208" />
|
|
192
|
-
</PersistentDeviceSelectionData>
|
|
193
|
-
<PersistentDeviceSelectionData>
|
|
194
|
-
<option name="api" value="34" />
|
|
195
|
-
<option name="brand" value="samsung" />
|
|
196
|
-
<option name="codename" value="q5q" />
|
|
197
|
-
<option name="id" value="q5q" />
|
|
198
|
-
<option name="manufacturer" value="Samsung" />
|
|
199
|
-
<option name="name" value="Galaxy Z Fold5" />
|
|
200
|
-
<option name="screenDensity" value="420" />
|
|
201
|
-
<option name="screenX" value="1812" />
|
|
202
|
-
<option name="screenY" value="2176" />
|
|
203
|
-
</PersistentDeviceSelectionData>
|
|
204
|
-
<PersistentDeviceSelectionData>
|
|
205
|
-
<option name="api" value="30" />
|
|
206
|
-
<option name="brand" value="google" />
|
|
207
|
-
<option name="codename" value="r11" />
|
|
208
|
-
<option name="id" value="r11" />
|
|
209
|
-
<option name="manufacturer" value="Google" />
|
|
210
|
-
<option name="name" value="Pixel Watch" />
|
|
211
|
-
<option name="screenDensity" value="320" />
|
|
212
|
-
<option name="screenX" value="384" />
|
|
213
|
-
<option name="screenY" value="384" />
|
|
214
|
-
<option name="type" value="WEAR_OS" />
|
|
215
|
-
</PersistentDeviceSelectionData>
|
|
216
|
-
<PersistentDeviceSelectionData>
|
|
217
|
-
<option name="api" value="30" />
|
|
218
|
-
<option name="brand" value="google" />
|
|
219
|
-
<option name="codename" value="redfin" />
|
|
220
|
-
<option name="id" value="redfin" />
|
|
221
|
-
<option name="manufacturer" value="Google" />
|
|
222
|
-
<option name="name" value="Pixel 5" />
|
|
223
|
-
<option name="screenDensity" value="440" />
|
|
224
|
-
<option name="screenX" value="1080" />
|
|
225
|
-
<option name="screenY" value="2340" />
|
|
226
|
-
</PersistentDeviceSelectionData>
|
|
227
|
-
<PersistentDeviceSelectionData>
|
|
228
|
-
<option name="api" value="34" />
|
|
229
|
-
<option name="brand" value="google" />
|
|
230
|
-
<option name="codename" value="shiba" />
|
|
231
|
-
<option name="id" value="shiba" />
|
|
232
|
-
<option name="manufacturer" value="Google" />
|
|
233
|
-
<option name="name" value="Pixel 8" />
|
|
234
|
-
<option name="screenDensity" value="420" />
|
|
235
|
-
<option name="screenX" value="1080" />
|
|
236
|
-
<option name="screenY" value="2400" />
|
|
237
|
-
</PersistentDeviceSelectionData>
|
|
238
|
-
<PersistentDeviceSelectionData>
|
|
239
|
-
<option name="api" value="33" />
|
|
240
|
-
<option name="brand" value="google" />
|
|
241
|
-
<option name="codename" value="tangorpro" />
|
|
242
|
-
<option name="id" value="tangorpro" />
|
|
243
|
-
<option name="manufacturer" value="Google" />
|
|
244
|
-
<option name="name" value="Pixel Tablet" />
|
|
245
|
-
<option name="screenDensity" value="320" />
|
|
246
|
-
<option name="screenX" value="1600" />
|
|
247
|
-
<option name="screenY" value="2560" />
|
|
248
|
-
</PersistentDeviceSelectionData>
|
|
249
|
-
<PersistentDeviceSelectionData>
|
|
250
|
-
<option name="api" value="29" />
|
|
251
|
-
<option name="brand" value="samsung" />
|
|
252
|
-
<option name="codename" value="x1q" />
|
|
253
|
-
<option name="id" value="x1q" />
|
|
254
|
-
<option name="manufacturer" value="Samsung" />
|
|
255
|
-
<option name="name" value="Galaxy S20" />
|
|
256
|
-
<option name="screenDensity" value="480" />
|
|
257
|
-
<option name="screenX" value="1440" />
|
|
258
|
-
<option name="screenY" value="3200" />
|
|
259
|
-
</PersistentDeviceSelectionData>
|
|
260
|
-
</list>
|
|
261
|
-
</option>
|
|
262
|
-
</component>
|
|
263
|
-
</project>
|
package/android/.idea/vcs.xml
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="VcsDirectoryMappings">
|
|
4
|
-
<mapping directory="$USER_HOME$" vcs="Git" />
|
|
5
|
-
<mapping directory="$PROJECT_DIR$/.." vcs="Git" />
|
|
6
|
-
<mapping directory="$PROJECT_DIR$/src/main/java/com/mapsindoorsrn/core" vcs="Git" />
|
|
7
|
-
</component>
|
|
8
|
-
</project>
|
package/android/local.properties
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
## This file must *NOT* be checked into Version Control Systems,
|
|
2
|
-
# as it contains information specific to your local configuration.
|
|
3
|
-
#
|
|
4
|
-
# Location of the SDK. This is only used by Gradle.
|
|
5
|
-
# For customization when using a Version Control System, please read the
|
|
6
|
-
# header note.
|
|
7
|
-
#Thu Feb 02 14:40:07 CET 2023
|
|
8
|
-
sdk.dir=/Users/timmikkelsen/Library/Android/sdk
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
-
<plist version="1.0">
|
|
4
|
-
<dict>
|
|
5
|
-
<key>SchemeUserState</key>
|
|
6
|
-
<dict>
|
|
7
|
-
<key>MapsIndoors.xcscheme_^#shared#^_</key>
|
|
8
|
-
<dict>
|
|
9
|
-
<key>orderHint</key>
|
|
10
|
-
<integer>0</integer>
|
|
11
|
-
</dict>
|
|
12
|
-
</dict>
|
|
13
|
-
</dict>
|
|
14
|
-
</plist>
|