expo-location 19.0.9-canary-20251216-6e1f9a7 → 19.0.9-canary-20251223-b83b31e
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/CHANGELOG.md +1 -0
- package/android/build.gradle +2 -2
- package/build/LocationEventEmitter.d.ts +1 -2
- package/build/LocationEventEmitter.d.ts.map +1 -1
- package/build/LocationEventEmitter.js +1 -2
- package/build/LocationEventEmitter.js.map +1 -1
- package/build/LocationSubscribers.js +1 -1
- package/build/LocationSubscribers.js.map +1 -1
- package/expo-module.config.json +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/19.0.9-canary-20251223-b83b31e/expo.modules.location-19.0.9-canary-20251223-b83b31e.aar +0 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.location/19.0.9-canary-20251223-b83b31e/expo.modules.location-19.0.9-canary-20251223-b83b31e.aar.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.location/19.0.9-canary-20251223-b83b31e/expo.modules.location-19.0.9-canary-20251223-b83b31e.aar.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.location/19.0.9-canary-20251223-b83b31e/expo.modules.location-19.0.9-canary-20251223-b83b31e.aar.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.location/19.0.9-canary-20251223-b83b31e/expo.modules.location-19.0.9-canary-20251223-b83b31e.aar.sha512 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.location/{19.0.9-canary-20251216-6e1f9a7/expo.modules.location-19.0.9-canary-20251216-6e1f9a7.module → 19.0.9-canary-20251223-b83b31e/expo.modules.location-19.0.9-canary-20251223-b83b31e.module} +17 -17
- package/local-maven-repo/host/exp/exponent/expo.modules.location/19.0.9-canary-20251223-b83b31e/expo.modules.location-19.0.9-canary-20251223-b83b31e.module.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.location/19.0.9-canary-20251223-b83b31e/expo.modules.location-19.0.9-canary-20251223-b83b31e.module.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.location/19.0.9-canary-20251223-b83b31e/expo.modules.location-19.0.9-canary-20251223-b83b31e.module.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.location/19.0.9-canary-20251223-b83b31e/expo.modules.location-19.0.9-canary-20251223-b83b31e.module.sha512 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.location/{19.0.9-canary-20251216-6e1f9a7/expo.modules.location-19.0.9-canary-20251216-6e1f9a7.pom → 19.0.9-canary-20251223-b83b31e/expo.modules.location-19.0.9-canary-20251223-b83b31e.pom} +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/19.0.9-canary-20251223-b83b31e/expo.modules.location-19.0.9-canary-20251223-b83b31e.pom.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.location/19.0.9-canary-20251223-b83b31e/expo.modules.location-19.0.9-canary-20251223-b83b31e.pom.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.location/19.0.9-canary-20251223-b83b31e/expo.modules.location-19.0.9-canary-20251223-b83b31e.pom.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.location/19.0.9-canary-20251223-b83b31e/expo.modules.location-19.0.9-canary-20251223-b83b31e.pom.sha512 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.location/maven-metadata.xml +4 -4
- package/local-maven-repo/host/exp/exponent/expo.modules.location/maven-metadata.xml.md5 +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/maven-metadata.xml.sha1 +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/maven-metadata.xml.sha256 +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/maven-metadata.xml.sha512 +1 -1
- package/mocks/ExpoLocation.ts +41 -0
- package/package.json +3 -3
- package/src/LocationEventEmitter.ts +1 -3
- package/src/LocationSubscribers.ts +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/19.0.9-canary-20251216-6e1f9a7/expo.modules.location-19.0.9-canary-20251216-6e1f9a7.aar +0 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.location/19.0.9-canary-20251216-6e1f9a7/expo.modules.location-19.0.9-canary-20251216-6e1f9a7.aar.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/19.0.9-canary-20251216-6e1f9a7/expo.modules.location-19.0.9-canary-20251216-6e1f9a7.aar.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/19.0.9-canary-20251216-6e1f9a7/expo.modules.location-19.0.9-canary-20251216-6e1f9a7.aar.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/19.0.9-canary-20251216-6e1f9a7/expo.modules.location-19.0.9-canary-20251216-6e1f9a7.aar.sha512 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/19.0.9-canary-20251216-6e1f9a7/expo.modules.location-19.0.9-canary-20251216-6e1f9a7.module.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/19.0.9-canary-20251216-6e1f9a7/expo.modules.location-19.0.9-canary-20251216-6e1f9a7.module.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/19.0.9-canary-20251216-6e1f9a7/expo.modules.location-19.0.9-canary-20251216-6e1f9a7.module.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/19.0.9-canary-20251216-6e1f9a7/expo.modules.location-19.0.9-canary-20251216-6e1f9a7.module.sha512 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/19.0.9-canary-20251216-6e1f9a7/expo.modules.location-19.0.9-canary-20251216-6e1f9a7.pom.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/19.0.9-canary-20251216-6e1f9a7/expo.modules.location-19.0.9-canary-20251216-6e1f9a7.pom.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/19.0.9-canary-20251216-6e1f9a7/expo.modules.location-19.0.9-canary-20251216-6e1f9a7.pom.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.location/19.0.9-canary-20251216-6e1f9a7/expo.modules.location-19.0.9-canary-20251216-6e1f9a7.pom.sha512 +0 -1
- /package/local-maven-repo/host/exp/exponent/expo.modules.location/{19.0.9-canary-20251216-6e1f9a7/expo.modules.location-19.0.9-canary-20251216-6e1f9a7-sources.jar → 19.0.9-canary-20251223-b83b31e/expo.modules.location-19.0.9-canary-20251223-b83b31e-sources.jar} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.location/{19.0.9-canary-20251216-6e1f9a7/expo.modules.location-19.0.9-canary-20251216-6e1f9a7-sources.jar.md5 → 19.0.9-canary-20251223-b83b31e/expo.modules.location-19.0.9-canary-20251223-b83b31e-sources.jar.md5} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.location/{19.0.9-canary-20251216-6e1f9a7/expo.modules.location-19.0.9-canary-20251216-6e1f9a7-sources.jar.sha1 → 19.0.9-canary-20251223-b83b31e/expo.modules.location-19.0.9-canary-20251223-b83b31e-sources.jar.sha1} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.location/{19.0.9-canary-20251216-6e1f9a7/expo.modules.location-19.0.9-canary-20251216-6e1f9a7-sources.jar.sha256 → 19.0.9-canary-20251223-b83b31e/expo.modules.location-19.0.9-canary-20251223-b83b31e-sources.jar.sha256} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.location/{19.0.9-canary-20251216-6e1f9a7/expo.modules.location-19.0.9-canary-20251216-6e1f9a7-sources.jar.sha512 → 19.0.9-canary-20251223-b83b31e/expo.modules.location-19.0.9-canary-20251223-b83b31e-sources.jar.sha512} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
- use WGS 84 as reference for altitude on iOS ([#41318](https://github.com/expo/expo/pull/41318) by [@vonovak](https://github.com/vonovak))
|
|
12
12
|
- fix position of the `scope` field in a permissions request result ([#41328](https://github.com/expo/expo/pull/41328) by [@vonovak](https://github.com/vonovak))
|
|
13
|
+
- [Web] Stop using legacy event emitter. ([#41680](https://github.com/expo/expo/pull/41680) by [@alanjhughes](https://github.com/alanjhughes))
|
|
13
14
|
|
|
14
15
|
### 💡 Others
|
|
15
16
|
|
package/android/build.gradle
CHANGED
|
@@ -4,13 +4,13 @@ plugins {
|
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
group = 'host.exp.exponent'
|
|
7
|
-
version = '19.0.9-canary-
|
|
7
|
+
version = '19.0.9-canary-20251223-b83b31e'
|
|
8
8
|
|
|
9
9
|
android {
|
|
10
10
|
namespace "expo.modules.location"
|
|
11
11
|
defaultConfig {
|
|
12
12
|
versionCode 29
|
|
13
|
-
versionName "19.0.9-canary-
|
|
13
|
+
versionName "19.0.9-canary-20251223-b83b31e"
|
|
14
14
|
consumerProguardFiles("proguard-rules.pro")
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LocationEventEmitter.d.ts","sourceRoot":"","sources":["../src/LocationEventEmitter.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LocationEventEmitter.d.ts","sourceRoot":"","sources":["../src/LocationEventEmitter.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB,KAAe,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { LegacyEventEmitter } from 'expo-modules-core';
|
|
2
1
|
import ExpoLocation from './ExpoLocation';
|
|
3
|
-
export const LocationEventEmitter =
|
|
2
|
+
export const LocationEventEmitter = ExpoLocation;
|
|
4
3
|
//# sourceMappingURL=LocationEventEmitter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LocationEventEmitter.js","sourceRoot":"","sources":["../src/LocationEventEmitter.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"LocationEventEmitter.js","sourceRoot":"","sources":["../src/LocationEventEmitter.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAE1C,MAAM,CAAC,MAAM,oBAAoB,GAAG,YAAY,CAAC","sourcesContent":["import ExpoLocation from './ExpoLocation';\n\nexport const LocationEventEmitter = ExpoLocation;\n"]}
|
|
@@ -47,7 +47,7 @@ class Subscriber {
|
|
|
47
47
|
delete this.callbacks[id];
|
|
48
48
|
ExpoLocation.removeWatchAsync(id);
|
|
49
49
|
if (Object.keys(this.callbacks).length === 0 && this.eventSubscription) {
|
|
50
|
-
|
|
50
|
+
this.eventSubscription.remove();
|
|
51
51
|
this.eventSubscription = null;
|
|
52
52
|
}
|
|
53
53
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LocationSubscribers.js","sourceRoot":"","sources":["../src/LocationSubscribers.ts"],"names":[],"mappings":"AAEA,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAO9D,IAAI,WAAW,GAAG,CAAC,CAAC;AAEpB,MAAM,UAAU;IAGN,SAAS,CAAS;IAClB,cAAc,CAAS;IACvB,SAAS,GAAmC,EAAE,CAAC;IAC/C,iBAAiB,GAA6B,IAAI,CAAC;IAE3D,YAAY,SAAiB,EAAE,cAAsB;QACnD,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;IACvC,CAAC;IAED,2BAA2B;QACzB,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;YAC3B,OAAO;QACT,CAAC;QACD,IAAI,CAAC,iBAAiB,GAAG,oBAAoB,CAAC,WAAW,CACvD,IAAI,CAAC,SAAS,EACd,CAAC,KAAkB,EAAE,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAC5C,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,gBAAgB,CAAC,QAAsB;QACrC,IAAI,CA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AAO,GAAG,KAAK,CAAC,OAAO,CAAC;QAC9B,MAAM,QAAQ,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;QAEzC,IAAI,QAAQ,EAAE,CAAC;YACb,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC;QACvC,CAAC;aAAM,CAAC;YACN,YAAY,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACzC,CAAC;IACH,CAAC;CACF;AAED,MAAM,CAAC,MAAM,kBAAkB,GAAG,IAAI,UAAU,CAC9C,sBAAsB,EACtB,UAAU,CACX,CAAC;AACF,MAAM,CAAC,MAAM,iBAAiB,GAAG,IAAI,UAAU,CAC7C,qBAAqB,EACrB,SAAS,CACV,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,IAAI,UAAU,CACnD,oBAAoB,EACpB,QAAQ,CACT,CAAC;AAEF;;GAEG;AACH,MAAM,UAAU,kBAAkB;IAChC,OAAO,WAAW,CAAC;AACrB,CAAC","sourcesContent":["import { type EventSubscription } from 'expo-modules-core';\n\nimport ExpoLocation from './ExpoLocation';\nimport { LocationCallback, LocationErrorCallback, LocationHeadingCallback } from './Location.types';\nimport { LocationEventEmitter } from './LocationEventEmitter';\n\ntype EventObject = {\n watchId: number;\n [key: string]: any;\n};\n\nlet nextWatchId = 0;\n\nclass Subscriber<\n CallbackType extends LocationCallback | LocationHeadingCallback | LocationErrorCallback,\n> {\n private eventName: string;\n private eventDataField: string;\n private callbacks: { [id: string]: CallbackType } = {};\n private eventSubscription: EventSubscription | null = null;\n\n constructor(eventName: string, eventDataField: string) {\n this.eventName = eventName;\n this.eventDataField = eventDataField;\n }\n\n maybeInitializeSubscription() {\n if (this.eventSubscription) {\n return;\n }\n this.eventSubscription = LocationEventEmitter.addListener(\n this.eventName,\n (event: EventObject) => this.trigger(event)\n );\n }\n\n /**\n * Registers given callback under new id which is then returned.\n */\n registerCallback(callback: CallbackType): number {\n this.maybeInitializeSubscription();\n const id = ++nextWatchId;\n this.callbacks[id] = callback;\n return id;\n }\n\n /**\n * Registers given callback under and existing id. This can be used to\n * create a subscriber for the error event on the same id as the location\n * event is subscribed to.\n */\n registerCallbackForId(watchId: number, callback: CallbackType): number {\n this.maybeInitializeSubscription();\n const id = watchId;\n this.callbacks[id] = callback;\n return id;\n }\n\n /**\n * Unregisters a callback with given id and revokes the subscription if possible.\n */\n unregisterCallback(id: number): void {\n // Do nothing if we have already unregistered the callback.\n if (!this.callbacks[id]) {\n return;\n }\n\n delete this.callbacks[id];\n ExpoLocation.removeWatchAsync(id);\n\n if (Object.keys(this.callbacks).length === 0 && this.eventSubscription) {\n this.eventSubscription.remove();\n this.eventSubscription = null;\n }\n }\n\n trigger(event: EventObject): void {\n const watchId = event.watchId;\n const callback = this.callbacks[watchId];\n\n if (callback) {\n callback(event[this.eventDataField]);\n } else {\n ExpoLocation.removeWatchAsync(watchId);\n }\n }\n}\n\nexport const LocationSubscriber = new Subscriber<LocationCallback>(\n 'Expo.locationChanged',\n 'location'\n);\nexport const HeadingSubscriber = new Subscriber<LocationHeadingCallback>(\n 'Expo.headingChanged',\n 'heading'\n);\n\nexport const LocationErrorSubscriber = new Subscriber<LocationErrorCallback>(\n 'Expo.locationError',\n 'reason'\n);\n\n/**\n * @private Necessary for some unit tests.\n */\nexport function _getCurrentWatchId(): number {\n return nextWatchId;\n}\n"]}
|
package/expo-module.config.json
CHANGED
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
a7395326e053ec74c1d11c77dc11f2a6
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ef7a2ba4a4f27af9de1809cd5d7448c7079c20e2
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
e26066d2516f4fd128670d6403c7b7305b613c4b0e4c6f074573a0fb6acf95d6
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
01db219ae4f58d47ec454b7d13ee4c2593cfcc612a32f880f2d6da446f55338c51476da7aaa1a51824ecf35e9a2fa2a01eff20ae6b744a44d0f70f25b8782f48
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"component": {
|
|
4
4
|
"group": "host.exp.exponent",
|
|
5
5
|
"module": "expo.modules.location",
|
|
6
|
-
"version": "19.0.9-canary-
|
|
6
|
+
"version": "19.0.9-canary-20251223-b83b31e",
|
|
7
7
|
"attributes": {
|
|
8
8
|
"org.gradle.status": "release"
|
|
9
9
|
}
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
],
|
|
34
34
|
"files": [
|
|
35
35
|
{
|
|
36
|
-
"name": "expo.modules.location-19.0.9-canary-
|
|
37
|
-
"url": "expo.modules.location-19.0.9-canary-
|
|
38
|
-
"size":
|
|
39
|
-
"sha512": "
|
|
40
|
-
"sha256": "
|
|
41
|
-
"sha1": "
|
|
42
|
-
"md5": "
|
|
36
|
+
"name": "expo.modules.location-19.0.9-canary-20251223-b83b31e.aar",
|
|
37
|
+
"url": "expo.modules.location-19.0.9-canary-20251223-b83b31e.aar",
|
|
38
|
+
"size": 186405,
|
|
39
|
+
"sha512": "01db219ae4f58d47ec454b7d13ee4c2593cfcc612a32f880f2d6da446f55338c51476da7aaa1a51824ecf35e9a2fa2a01eff20ae6b744a44d0f70f25b8782f48",
|
|
40
|
+
"sha256": "e26066d2516f4fd128670d6403c7b7305b613c4b0e4c6f074573a0fb6acf95d6",
|
|
41
|
+
"sha1": "ef7a2ba4a4f27af9de1809cd5d7448c7079c20e2",
|
|
42
|
+
"md5": "a7395326e053ec74c1d11c77dc11f2a6"
|
|
43
43
|
}
|
|
44
44
|
]
|
|
45
45
|
},
|
|
@@ -69,13 +69,13 @@
|
|
|
69
69
|
],
|
|
70
70
|
"files": [
|
|
71
71
|
{
|
|
72
|
-
"name": "expo.modules.location-19.0.9-canary-
|
|
73
|
-
"url": "expo.modules.location-19.0.9-canary-
|
|
74
|
-
"size":
|
|
75
|
-
"sha512": "
|
|
76
|
-
"sha256": "
|
|
77
|
-
"sha1": "
|
|
78
|
-
"md5": "
|
|
72
|
+
"name": "expo.modules.location-19.0.9-canary-20251223-b83b31e.aar",
|
|
73
|
+
"url": "expo.modules.location-19.0.9-canary-20251223-b83b31e.aar",
|
|
74
|
+
"size": 186405,
|
|
75
|
+
"sha512": "01db219ae4f58d47ec454b7d13ee4c2593cfcc612a32f880f2d6da446f55338c51476da7aaa1a51824ecf35e9a2fa2a01eff20ae6b744a44d0f70f25b8782f48",
|
|
76
|
+
"sha256": "e26066d2516f4fd128670d6403c7b7305b613c4b0e4c6f074573a0fb6acf95d6",
|
|
77
|
+
"sha1": "ef7a2ba4a4f27af9de1809cd5d7448c7079c20e2",
|
|
78
|
+
"md5": "a7395326e053ec74c1d11c77dc11f2a6"
|
|
79
79
|
}
|
|
80
80
|
]
|
|
81
81
|
},
|
|
@@ -89,8 +89,8 @@
|
|
|
89
89
|
},
|
|
90
90
|
"files": [
|
|
91
91
|
{
|
|
92
|
-
"name": "expo.modules.location-19.0.9-canary-
|
|
93
|
-
"url": "expo.modules.location-19.0.9-canary-
|
|
92
|
+
"name": "expo.modules.location-19.0.9-canary-20251223-b83b31e-sources.jar",
|
|
93
|
+
"url": "expo.modules.location-19.0.9-canary-20251223-b83b31e-sources.jar",
|
|
94
94
|
"size": 22881,
|
|
95
95
|
"sha512": "d2866075faf8ccb0b18a3e2fce7039bc6eebf226cf552924adb749fbfaf32d6daf73ee1de8bc33dee2d7c2ff8f3fd3ba86d02f2a65e5e9dc6432316148aec2e2",
|
|
96
96
|
"sha256": "44632f521d20b7de97e7093313f5cdbc9d57166256f97235ce0c85a4f83287cd",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1eb9ce60ac2a0e4225b21ea213764442
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3559c707dd4ffe1c1a2d2a88e85497bf7e6e7265
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
86d76ce847f9500ee75b75e87198a71500c92d1d6e716d1c16a7a30a29734214
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
f978f65c4a6adaf0e0aa25b04b29c74a7d2293a2cb15db90110caf7121aaf47418c3a58ba6ad64491f98887b4c3899a8e75bfaa99dc9bae15dc6f98308bf4cb9
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<modelVersion>4.0.0</modelVersion>
|
|
10
10
|
<groupId>host.exp.exponent</groupId>
|
|
11
11
|
<artifactId>expo.modules.location</artifactId>
|
|
12
|
-
<version>19.0.9-canary-
|
|
12
|
+
<version>19.0.9-canary-20251223-b83b31e</version>
|
|
13
13
|
<packaging>aar</packaging>
|
|
14
14
|
<name>expo.modules.location</name>
|
|
15
15
|
<url>https://github.com/expo/expo</url>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
279ddd507e838a816ac67abf810c4c28
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
23de33c166a2c4f4dd1428cf7d4545cc812b1186
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
bdf12f993da3d7893917dce5ed9629620976ce32e929a1c4fbaebac8dcd2aca7
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
286acfa777747f21a6c93d3b213f7c196cd9ab2780f067f4a809c86a66cc37719c3d059cff28df2c436f18b423bb19aa6405770f4cdf469e6f475169b78ab050
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
<groupId>host.exp.exponent</groupId>
|
|
4
4
|
<artifactId>expo.modules.location</artifactId>
|
|
5
5
|
<versioning>
|
|
6
|
-
<latest>19.0.9-canary-
|
|
7
|
-
<release>19.0.9-canary-
|
|
6
|
+
<latest>19.0.9-canary-20251223-b83b31e</latest>
|
|
7
|
+
<release>19.0.9-canary-20251223-b83b31e</release>
|
|
8
8
|
<versions>
|
|
9
|
-
<version>19.0.9-canary-
|
|
9
|
+
<version>19.0.9-canary-20251223-b83b31e</version>
|
|
10
10
|
</versions>
|
|
11
|
-
<lastUpdated>
|
|
11
|
+
<lastUpdated>20251223153358</lastUpdated>
|
|
12
12
|
</versioning>
|
|
13
13
|
</metadata>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
a80d3328d9d2a0155b0773ba0779be18
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
942d15a6124ca439b79fc48d84063fd7b68b30d6
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
4f87f0805eaf8f0b3e3662e86d529c465f2c28ebe5bb99f9b4e889337965367f
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
8910444d9ed4ab90b02fbf2a828bef4064086e3ac810b32a5b5b60b22673d522595fb034b5e61fb82b711eb444b2d7742fbe73cfc2e15839dab84f9c528e4c3b
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export async function getProviderStatusAsync(): Promise<any> {}
|
|
2
|
+
|
|
3
|
+
export async function getCurrentPositionAsync(options: any): Promise<any> {}
|
|
4
|
+
|
|
5
|
+
export async function getLastKnownPositionAsync(requirements: any): Promise<any> {}
|
|
6
|
+
|
|
7
|
+
export async function watchPositionImplAsync(watchId: number, options: any): Promise<any> {}
|
|
8
|
+
|
|
9
|
+
export async function watchDeviceHeading(watchId: number): Promise<any> {}
|
|
10
|
+
|
|
11
|
+
export async function removeWatchAsync(watchId: number): Promise<any> {}
|
|
12
|
+
|
|
13
|
+
export async function geocodeAsync(address: string): Promise<any> {}
|
|
14
|
+
|
|
15
|
+
export async function reverseGeocodeAsync(location: any): Promise<any> {}
|
|
16
|
+
|
|
17
|
+
export async function getPermissionsAsync(): Promise<any> {}
|
|
18
|
+
|
|
19
|
+
export async function requestPermissionsAsync(): Promise<any> {}
|
|
20
|
+
|
|
21
|
+
export async function getForegroundPermissionsAsync(): Promise<any> {}
|
|
22
|
+
|
|
23
|
+
export async function requestForegroundPermissionsAsync(): Promise<any> {}
|
|
24
|
+
|
|
25
|
+
export async function getBackgroundPermissionsAsync(): Promise<any> {}
|
|
26
|
+
|
|
27
|
+
export async function requestBackgroundPermissionsAsync(): Promise<any> {}
|
|
28
|
+
|
|
29
|
+
export async function hasServicesEnabledAsync(): Promise<any> {}
|
|
30
|
+
|
|
31
|
+
export async function startLocationUpdatesAsync(taskName: string, options: any): Promise<any> {}
|
|
32
|
+
|
|
33
|
+
export async function stopLocationUpdatesAsync(taskName: string): Promise<any> {}
|
|
34
|
+
|
|
35
|
+
export async function hasStartedLocationUpdatesAsync(taskName: string): Promise<any> {}
|
|
36
|
+
|
|
37
|
+
export async function startGeofencingAsync(taskName: string, options: any): Promise<any> {}
|
|
38
|
+
|
|
39
|
+
export async function stopGeofencingAsync(taskName: string): Promise<any> {}
|
|
40
|
+
|
|
41
|
+
export async function hasStartedGeofencingAsync(taskName: string): Promise<any> {}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-location",
|
|
3
|
-
"version": "19.0.9-canary-
|
|
3
|
+
"version": "19.0.9-canary-20251223-b83b31e",
|
|
4
4
|
"description": "Allows reading geolocation information from the device. Your app can poll for the current location or subscribe to location update events.",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"preset": "expo-module-scripts"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"expo-module-scripts": "5.1.0-canary-
|
|
42
|
+
"expo-module-scripts": "5.1.0-canary-20251223-b83b31e"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
|
-
"expo": "55.0.0-canary-
|
|
45
|
+
"expo": "55.0.0-canary-20251223-b83b31e"
|
|
46
46
|
}
|
|
47
47
|
}
|
|
@@ -69,7 +69,7 @@ class Subscriber<
|
|
|
69
69
|
ExpoLocation.removeWatchAsync(id);
|
|
70
70
|
|
|
71
71
|
if (Object.keys(this.callbacks).length === 0 && this.eventSubscription) {
|
|
72
|
-
|
|
72
|
+
this.eventSubscription.remove();
|
|
73
73
|
this.eventSubscription = null;
|
|
74
74
|
}
|
|
75
75
|
}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
c2e5480eead7075465b3fec78bc2a48e
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
272df5a0caf4fb34064549cccd27f448aa81bc52
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2a96f0dcdce093f720d1b95ffbbff918f8a8fd2edb4a03760a0f763fd49071c4
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0814d886fc887590fc1df6eb56cf1847c4eaa03b91f79c1e759d46f0761c5526bd82c11614bd3cb198d39c0a6cfd7be1fb01cc7e22ab4ff98ef61e21fd5c83e1
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
647378010a9da509bd4a6ff5173dc2a2
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
dc6a3fb8d0920b39e514aca1619903ef307d975f
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
28a8ca9d6c186a0a61beaa95e790504be572b278f4263fafe4c04e7ec2698109
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
d4499314b636699c38cb157439f53ff13ecd2b95c636cab64594da39ae9d7855b7fad5ca5701ec9e754edb7b9cfbb0ba6837f9f96c85e6ef0ff00f9de78a0afe
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
7bdf311e7ec8ea0b4f07e7783afa1596
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
bdf4fe820d94b6508431ef54b2107a2391cb30e0
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
203ab18083b9e88c06fff2700967a8632ddabe2ea16e8a1bfbe603ef9efabb58
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
60b4265c8ffe7ca34ed14b276d28d6e60a9dd3472331341fe5334446cb4ca02219c2a6644301f993cabc775bb842a043af16e12e27218b08225696e8beb94290
|
|
File without changes
|