expo-cellular 56.0.3 → 56.0.5
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 +12 -0
- package/android/build.gradle +2 -2
- package/build/Cellular.d.ts.map +1 -1
- package/build/Cellular.js +2 -1
- package/build/Cellular.js.map +1 -1
- package/build/Cellular.types.d.ts +1 -1
- package/build/Cellular.types.d.ts.map +1 -1
- package/build/Cellular.types.js +1 -1
- package/build/Cellular.types.js.map +1 -1
- package/expo-module.config.json +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.cellular/{56.0.3/expo.modules.cellular-56.0.3.module → 56.0.5/expo.modules.cellular-56.0.5.module} +7 -7
- package/local-maven-repo/host/exp/exponent/expo.modules.cellular/56.0.5/expo.modules.cellular-56.0.5.module.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.cellular/56.0.5/expo.modules.cellular-56.0.5.module.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.cellular/56.0.5/expo.modules.cellular-56.0.5.module.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.cellular/56.0.5/expo.modules.cellular-56.0.5.module.sha512 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.cellular/{56.0.3/expo.modules.cellular-56.0.3.pom → 56.0.5/expo.modules.cellular-56.0.5.pom} +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.cellular/56.0.5/expo.modules.cellular-56.0.5.pom.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.cellular/56.0.5/expo.modules.cellular-56.0.5.pom.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.cellular/56.0.5/expo.modules.cellular-56.0.5.pom.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.cellular/56.0.5/expo.modules.cellular-56.0.5.pom.sha512 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.cellular/maven-metadata.xml +4 -4
- package/local-maven-repo/host/exp/exponent/expo.modules.cellular/maven-metadata.xml.md5 +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.cellular/maven-metadata.xml.sha1 +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.cellular/maven-metadata.xml.sha256 +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.cellular/maven-metadata.xml.sha512 +1 -1
- package/package.json +4 -4
- package/plugin/index.d.ts +1 -0
- package/plugin/index.js +1 -1
- package/src/Cellular.ts +2 -6
- package/src/Cellular.types.ts +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.cellular/56.0.3/expo.modules.cellular-56.0.3.module.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.cellular/56.0.3/expo.modules.cellular-56.0.3.module.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.cellular/56.0.3/expo.modules.cellular-56.0.3.module.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.cellular/56.0.3/expo.modules.cellular-56.0.3.module.sha512 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.cellular/56.0.3/expo.modules.cellular-56.0.3.pom.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.cellular/56.0.3/expo.modules.cellular-56.0.3.pom.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.cellular/56.0.3/expo.modules.cellular-56.0.3.pom.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.cellular/56.0.3/expo.modules.cellular-56.0.3.pom.sha512 +0 -1
- package/plugin/tsconfig.tsbuildinfo +0 -1
- /package/local-maven-repo/host/exp/exponent/expo.modules.cellular/{56.0.3/expo.modules.cellular-56.0.3-sources.jar → 56.0.5/expo.modules.cellular-56.0.5-sources.jar} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.cellular/{56.0.3/expo.modules.cellular-56.0.3-sources.jar.md5 → 56.0.5/expo.modules.cellular-56.0.5-sources.jar.md5} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.cellular/{56.0.3/expo.modules.cellular-56.0.3-sources.jar.sha1 → 56.0.5/expo.modules.cellular-56.0.5-sources.jar.sha1} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.cellular/{56.0.3/expo.modules.cellular-56.0.3-sources.jar.sha256 → 56.0.5/expo.modules.cellular-56.0.5-sources.jar.sha256} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.cellular/{56.0.3/expo.modules.cellular-56.0.3-sources.jar.sha512 → 56.0.5/expo.modules.cellular-56.0.5-sources.jar.sha512} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.cellular/{56.0.3/expo.modules.cellular-56.0.3.aar → 56.0.5/expo.modules.cellular-56.0.5.aar} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.cellular/{56.0.3/expo.modules.cellular-56.0.3.aar.md5 → 56.0.5/expo.modules.cellular-56.0.5.aar.md5} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.cellular/{56.0.3/expo.modules.cellular-56.0.3.aar.sha1 → 56.0.5/expo.modules.cellular-56.0.5.aar.sha1} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.cellular/{56.0.3/expo.modules.cellular-56.0.3.aar.sha256 → 56.0.5/expo.modules.cellular-56.0.5.aar.sha256} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.cellular/{56.0.3/expo.modules.cellular-56.0.3.aar.sha512 → 56.0.5/expo.modules.cellular-56.0.5.aar.sha512} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,18 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 56.0.5 — 2026-05-21
|
|
14
|
+
|
|
15
|
+
### 🐛 Bug fixes
|
|
16
|
+
|
|
17
|
+
- Fix an ES module import error in the typed config plugin. ([#46089](https://github.com/expo/expo/pull/46089) by [@zoontek](https://github.com/zoontek))
|
|
18
|
+
|
|
19
|
+
## 56.0.4 — 2026-05-13
|
|
20
|
+
|
|
21
|
+
### 💡 Others
|
|
22
|
+
|
|
23
|
+
- Updated permission hooks and permission status imports to be imported from `expo` instead of `expo-modules-core` ([#45565](https://github.com/expo/expo/pull/45565) by [@Wenszel](https://github.com/Wenszel))
|
|
24
|
+
|
|
13
25
|
## 56.0.3 — 2026-05-06
|
|
14
26
|
|
|
15
27
|
_This version does not introduce any user-facing changes._
|
package/android/build.gradle
CHANGED
package/build/Cellular.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Cellular.d.ts","sourceRoot":"","sources":["../src/Cellular.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Cellular.d.ts","sourceRoot":"","sources":["../src/Cellular.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAG/E,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAGtD;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAsB,0BAA0B,IAAI,OAAO,CAAC,kBAAkB,CAAC,CAK9E;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAsB,eAAe,IAAI,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC,CAQ/D;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAsB,sBAAsB,IAAI,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAQrE;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAsB,mBAAmB,IAAI,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAQlE;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAsB,yBAAyB,IAAI,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAQxE;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAsB,yBAAyB,IAAI,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAQxE;AAED;;GAEG;AACH,wBAAsB,mBAAmB,IAAI,OAAO,CAAC,kBAAkB,CAAC,CAWvE;AAED;;GAEG;AACH,wBAAsB,uBAAuB,IAAI,OAAO,CAAC,kBAAkB,CAAC,CAW3E;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc,wLAGzB,CAAC"}
|
package/build/Cellular.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { createPermissionHook, PermissionStatus
|
|
1
|
+
import { createPermissionHook, PermissionStatus } from 'expo';
|
|
2
|
+
import { Platform, UnavailabilityError } from 'expo-modules-core';
|
|
2
3
|
import ExpoCellular from './ExpoCellular';
|
|
3
4
|
export { CellularGeneration } from './Cellular.types';
|
|
4
5
|
// @needsAudit
|
package/build/Cellular.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Cellular.js","sourceRoot":"","sources":["../src/Cellular.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,gBAAgB,EAChB,QAAQ,EACR,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAG3B,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAEtD,cAAc;AACd;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,CAAC,KAAK,UAAU,0BAA0B;IAC9C,IAAI,CAAC,YAAY,CAAC,0BAA0B,EAAE,CAAC;QAC7C,MAAM,IAAI,mBAAmB,CAAC,eAAe,EAAE,4BAA4B,CAAC,CAAC;IAC/E,CAAC;IACD,OAAO,MAAM,YAAY,CAAC,0BAA0B,EAAE,CAAC;AACzD,CAAC;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,KAAK,UAAU,eAAe;IACnC,IAAI,QAAQ,CAAC,EAAE,KAAK,KAAK,EAAE,CAAC;QAC1B,OAAO,IAAI,CAAC;IACd,CAAC;IACD,IAAI,CAAC,YAAY,CAAC,eAAe,EAAE,CAAC;QAClC,MAAM,IAAI,mBAAmB,CAAC,eAAe,EAAE,iBAAiB,CAAC,CAAC;IACpE,CAAC;IACD,OAAO,MAAM,YAAY,CAAC,eAAe,EAAE,CAAC;AAC9C,CAAC;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,CAAC,KAAK,UAAU,sBAAsB;IAC1C,IAAI,QAAQ,CAAC,EAAE,KAAK,KAAK,EAAE,CAAC;QAC1B,OAAO,IAAI,CAAC;IACd,CAAC;IACD,IAAI,CAAC,YAAY,CAAC,sBAAsB,EAAE,CAAC;QACzC,MAAM,IAAI,mBAAmB,CAAC,eAAe,EAAE,wBAAwB,CAAC,CAAC;IAC3E,CAAC;IACD,OAAO,MAAM,YAAY,CAAC,sBAAsB,EAAE,CAAC;AACrD,CAAC;AAED;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,KAAK,UAAU,mBAAmB;IACvC,IAAI,QAAQ,CAAC,EAAE,KAAK,KAAK,EAAE,CAAC;QAC1B,OAAO,IAAI,CAAC;IACd,CAAC;IACD,IAAI,CAAC,YAAY,CAAC,mBAAmB,EAAE,CAAC;QACtC,MAAM,IAAI,mBAAmB,CAAC,eAAe,EAAE,qBAAqB,CAAC,CAAC;IACxE,CAAC;IACD,OAAO,MAAM,YAAY,CAAC,mBAAmB,EAAE,CAAC;AAClD,CAAC;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,CAAC,KAAK,UAAU,yBAAyB;IAC7C,IAAI,QAAQ,CAAC,EAAE,KAAK,KAAK,EAAE,CAAC;QAC1B,OAAO,IAAI,CAAC;IACd,CAAC;IACD,IAAI,CAAC,YAAY,CAAC,yBAAyB,EAAE,CAAC;QAC5C,MAAM,IAAI,mBAAmB,CAAC,eAAe,EAAE,2BAA2B,CAAC,CAAC;IAC9E,CAAC;IACD,OAAO,MAAM,YAAY,CAAC,yBAAyB,EAAE,CAAC;AACxD,CAAC;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,CAAC,KAAK,UAAU,yBAAyB;IAC7C,IAAI,QAAQ,CAAC,EAAE,KAAK,KAAK,EAAE,CAAC;QAC1B,OAAO,IAAI,CAAC;IACd,CAAC;IACD,IAAI,CAAC,YAAY,CAAC,yBAAyB,EAAE,CAAC;QAC5C,MAAM,IAAI,mBAAmB,CAAC,eAAe,EAAE,2BAA2B,CAAC,CAAC;IAC9E,CAAC;IACD,OAAO,MAAM,YAAY,CAAC,yBAAyB,EAAE,CAAC;AACxD,CAAC;AAED;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,mBAAmB;IACvC,IAAI,QAAQ,CAAC,EAAE,KAAK,SAAS,EAAE,CAAC;QAC9B,OAAO,MAAM,YAAY,CAAC,mBAAmB,EAAE,CAAC;IAClD,CAAC;IAED,OAAO;QACL,MAAM,EAAE,gBAAgB,CAAC,OAAO;QAChC,OAAO,EAAE,OAAO;QAChB,OAAO,EAAE,IAAI;QACb,WAAW,EAAE,IAAI;KAClB,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,uBAAuB;IAC3C,IAAI,QAAQ,CAAC,EAAE,KAAK,SAAS,EAAE,CAAC;QAC9B,OAAO,MAAM,YAAY,CAAC,uBAAuB,EAAE,CAAC;IACtD,CAAC;IAED,OAAO;QACL,MAAM,EAAE,gBAAgB,CAAC,OAAO;QAChC,OAAO,EAAE,OAAO;QAChB,OAAO,EAAE,IAAI;QACb,WAAW,EAAE,IAAI;KAClB,CAAC;AACJ,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,oBAAoB,CAAC;IACjD,SAAS,EAAE,mBAAmB;IAC9B,aAAa,EAAE,uBAAuB;CACvC,CAAC,CAAC","sourcesContent":["import {\n createPermissionHook,\n PermissionStatus,\n Platform,\n UnavailabilityError,\n} from 'expo-modules-core';\n\nimport type { PermissionResponse, CellularGeneration } from './Cellular.types';\nimport ExpoCellular from './ExpoCellular';\n\nexport { CellularGeneration } from './Cellular.types';\n\n// @needsAudit\n/**\n * @return Returns a promise which fulfils with a [`Cellular.CellularGeneration`](#cellulargeneration)\n * enum value that represents the current cellular-generation type.\n *\n * You need to check if the native permission has been accepted to obtain generation.\n * If the permission is denied, `getCellularGenerationAsync` resolves with `Cellular.CellularGeneration.UNKNOWN`.\n *\n * On web, this method uses [`navigator.connection.effectiveType`](https://developer.mozilla.org/en-US/docs/Web/API/NetworkInformation/effectiveType)\n * to detect the effective type of the connection using a combination of recently observed\n * round-trip time and downlink values. See [here](https://developer.mozilla.org/en-US/docs/Web/API/Network_Information_API)\n * to view browser compatibility.\n *\n * @example\n * ```ts\n * await Cellular.getCellularGenerationAsync();\n * // CellularGeneration.CELLULAR_4G\n * ```\n */\nexport async function getCellularGenerationAsync(): Promise<CellularGeneration> {\n if (!ExpoCellular.getCellularGenerationAsync) {\n throw new UnavailabilityError('expo-cellular', 'getCellularGenerationAsync');\n }\n return await ExpoCellular.getCellularGenerationAsync();\n}\n\n/**\n * @return Returns if the carrier allows making VoIP calls on its network. On Android, this checks whether\n * the system supports SIP-based VoIP API. See [here](https://developer.android.com/reference/android/net/sip/SipManager.html#isVoipSupported(android.content.Context))\n * to view more information.\n *\n * On iOS, if you configure a device for a carrier and then remove the SIM card, this property\n * retains the `boolean` value indicating the carrier’s policy regarding VoIP. If you then install\n * a new SIM card, its VoIP policy `boolean` replaces the previous value of this property.\n *\n * On iOS and web, this returns `null`.\n *\n * @platform android\n *\n * @example\n * ```ts\n * await Cellular.allowsVoipAsync(); // true or false\n * ```\n * @deprecated Voip technology is not widely used and Google is removing it from the Android platform. This method will be removed in a future release.\n */\nexport async function allowsVoipAsync(): Promise<boolean | null> {\n if (Platform.OS === 'ios') {\n return null;\n }\n if (!ExpoCellular.allowsVoipAsync) {\n throw new UnavailabilityError('expo-cellular', 'allowsVoipAsync');\n }\n return await ExpoCellular.allowsVoipAsync();\n}\n\n/**\n * @return Returns the ISO country code for the user’s cellular service provider.\n *\n * On iOS, the value is `null` if any of the following apply:\n * - The device is in airplane mode.\n * - There is no SIM card in the device.\n * - The device is outside of cellular service range.\n *\n * On iOS and web, this returns `null`.\n *\n * @platform android\n *\n * @example\n * ```ts\n * await Cellular.getIsoCountryCodeAsync(); // \"us\" or \"au\"\n * ```\n *\n */\nexport async function getIsoCountryCodeAsync(): Promise<string | null> {\n if (Platform.OS === 'ios') {\n return null;\n }\n if (!ExpoCellular.getIsoCountryCodeAsync) {\n throw new UnavailabilityError('expo-cellular', 'getIsoCountryCodeAsync');\n }\n return await ExpoCellular.getIsoCountryCodeAsync();\n}\n\n/**\n * @return Returns name of the user’s home cellular service provider. If the device has dual SIM cards, only the\n * carrier for the currently active SIM card is returned.\n *\n * On Android, this value is only available when the SIM state is [`SIM_STATE_READY`](https://developer.android.com/reference/android/telephony/TelephonyManager.html#SIM_STATE_READY).\n * Otherwise, this returns `null`.\n *\n * On iOS and web, this returns `null`.\n *\n * @platform android\n *\n * @example\n * ```ts\n * await Cellular.getCarrierNameAsync(); // \"T-Mobile\" or \"Verizon\"\n * ```\n */\nexport async function getCarrierNameAsync(): Promise<string | null> {\n if (Platform.OS === 'ios') {\n return null;\n }\n if (!ExpoCellular.getCarrierNameAsync) {\n throw new UnavailabilityError('expo-cellular', 'getCarrierNameAsync');\n }\n return await ExpoCellular.getCarrierNameAsync();\n}\n\n/**\n * @return Returns mobile country code (MCC) for the user’s current registered cellular service provider.\n *\n * On Android, this value is only available when SIM state is [`SIM_STATE_READY`](https://developer.android.com/reference/android/telephony/TelephonyManager.html#SIM_STATE_READY). Otherwise, this\n * returns `null`. On iOS, the value may be null on hardware prior to iPhone 4S when in airplane mode.\n * Furthermore, the value for this property is `null` if any of the following apply:\n * - There is no SIM card in the device.\n * - The device is outside of cellular service range.\n *\n * On iOS and web, this returns `null`.\n *\n * @platform android\n *\n * @example\n * ```ts\n * await Cellular.getMobileCountryCodeAsync(); // \"310\"\n * ```\n */\nexport async function getMobileCountryCodeAsync(): Promise<string | null> {\n if (Platform.OS === 'ios') {\n return null;\n }\n if (!ExpoCellular.getMobileCountryCodeAsync) {\n throw new UnavailabilityError('expo-cellular', 'getMobileCountryCodeAsync');\n }\n return await ExpoCellular.getMobileCountryCodeAsync();\n}\n\n/**\n * @return Returns the mobile network code (MNC) for the user’s current registered cellular service provider.\n *\n * On Android, this value is only available when SIM state is [`SIM_STATE_READY`](https://developer.android.com/reference/android/telephony/TelephonyManager.html#SIM_STATE_READY). Otherwise, this\n * returns `null`. On iOS, the value may be null on hardware prior to iPhone 4S when in airplane mode.\n * Furthermore, the value for this property is `null` if any of the following apply:\n * - There is no SIM card in the device.\n * - The device is outside of cellular service range.\n *\n * On iOS and web, this returns `null`.\n *\n * @platform android\n *\n * @example\n * ```ts\n * await Cellular.getMobileNetworkCodeAsync(); // \"310\"\n * ```\n */\nexport async function getMobileNetworkCodeAsync(): Promise<string | null> {\n if (Platform.OS === 'ios') {\n return null;\n }\n if (!ExpoCellular.getMobileNetworkCodeAsync) {\n throw new UnavailabilityError('expo-cellular', 'getMobileNetworkCodeAsync');\n }\n return await ExpoCellular.getMobileNetworkCodeAsync();\n}\n\n/**\n * Checks user's permissions for accessing phone state.\n */\nexport async function getPermissionsAsync(): Promise<PermissionResponse> {\n if (Platform.OS === 'android') {\n return await ExpoCellular.getPermissionsAsync();\n }\n\n return {\n status: PermissionStatus.GRANTED,\n expires: 'never',\n granted: true,\n canAskAgain: true,\n };\n}\n\n/**\n * Asks the user to grant permissions for accessing the phone state.\n */\nexport async function requestPermissionsAsync(): Promise<PermissionResponse> {\n if (Platform.OS === 'android') {\n return await ExpoCellular.requestPermissionsAsync();\n }\n\n return {\n status: PermissionStatus.GRANTED,\n expires: 'never',\n granted: true,\n canAskAgain: true,\n };\n}\n\n/**\n * Check or request permissions to access the phone state.\n * This uses both `Cellular.requestPermissionsAsync` and `Cellular.getPermissionsAsync` to interact with the permissions.\n *\n * @example\n * ```ts\n * const [status, requestPermission] = Cellular.usePermissions();\n * ```\n */\nexport const usePermissions = createPermissionHook({\n getMethod: getPermissionsAsync,\n requestMethod: requestPermissionsAsync,\n});\n"]}
|
|
1
|
+
{"version":3,"file":"Cellular.js","sourceRoot":"","sources":["../src/Cellular.ts"],"names":[],"mappings":"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","sourcesContent":["import { createPermissionHook, PermissionStatus } from 'expo';\nimport { Platform, UnavailabilityError } from 'expo-modules-core';\n\nimport type { PermissionResponse, CellularGeneration } from './Cellular.types';\nimport ExpoCellular from './ExpoCellular';\n\nexport { CellularGeneration } from './Cellular.types';\n\n// @needsAudit\n/**\n * @return Returns a promise which fulfils with a [`Cellular.CellularGeneration`](#cellulargeneration)\n * enum value that represents the current cellular-generation type.\n *\n * You need to check if the native permission has been accepted to obtain generation.\n * If the permission is denied, `getCellularGenerationAsync` resolves with `Cellular.CellularGeneration.UNKNOWN`.\n *\n * On web, this method uses [`navigator.connection.effectiveType`](https://developer.mozilla.org/en-US/docs/Web/API/NetworkInformation/effectiveType)\n * to detect the effective type of the connection using a combination of recently observed\n * round-trip time and downlink values. See [here](https://developer.mozilla.org/en-US/docs/Web/API/Network_Information_API)\n * to view browser compatibility.\n *\n * @example\n * ```ts\n * await Cellular.getCellularGenerationAsync();\n * // CellularGeneration.CELLULAR_4G\n * ```\n */\nexport async function getCellularGenerationAsync(): Promise<CellularGeneration> {\n if (!ExpoCellular.getCellularGenerationAsync) {\n throw new UnavailabilityError('expo-cellular', 'getCellularGenerationAsync');\n }\n return await ExpoCellular.getCellularGenerationAsync();\n}\n\n/**\n * @return Returns if the carrier allows making VoIP calls on its network. On Android, this checks whether\n * the system supports SIP-based VoIP API. See [here](https://developer.android.com/reference/android/net/sip/SipManager.html#isVoipSupported(android.content.Context))\n * to view more information.\n *\n * On iOS, if you configure a device for a carrier and then remove the SIM card, this property\n * retains the `boolean` value indicating the carrier’s policy regarding VoIP. If you then install\n * a new SIM card, its VoIP policy `boolean` replaces the previous value of this property.\n *\n * On iOS and web, this returns `null`.\n *\n * @platform android\n *\n * @example\n * ```ts\n * await Cellular.allowsVoipAsync(); // true or false\n * ```\n * @deprecated Voip technology is not widely used and Google is removing it from the Android platform. This method will be removed in a future release.\n */\nexport async function allowsVoipAsync(): Promise<boolean | null> {\n if (Platform.OS === 'ios') {\n return null;\n }\n if (!ExpoCellular.allowsVoipAsync) {\n throw new UnavailabilityError('expo-cellular', 'allowsVoipAsync');\n }\n return await ExpoCellular.allowsVoipAsync();\n}\n\n/**\n * @return Returns the ISO country code for the user’s cellular service provider.\n *\n * On iOS, the value is `null` if any of the following apply:\n * - The device is in airplane mode.\n * - There is no SIM card in the device.\n * - The device is outside of cellular service range.\n *\n * On iOS and web, this returns `null`.\n *\n * @platform android\n *\n * @example\n * ```ts\n * await Cellular.getIsoCountryCodeAsync(); // \"us\" or \"au\"\n * ```\n *\n */\nexport async function getIsoCountryCodeAsync(): Promise<string | null> {\n if (Platform.OS === 'ios') {\n return null;\n }\n if (!ExpoCellular.getIsoCountryCodeAsync) {\n throw new UnavailabilityError('expo-cellular', 'getIsoCountryCodeAsync');\n }\n return await ExpoCellular.getIsoCountryCodeAsync();\n}\n\n/**\n * @return Returns name of the user’s home cellular service provider. If the device has dual SIM cards, only the\n * carrier for the currently active SIM card is returned.\n *\n * On Android, this value is only available when the SIM state is [`SIM_STATE_READY`](https://developer.android.com/reference/android/telephony/TelephonyManager.html#SIM_STATE_READY).\n * Otherwise, this returns `null`.\n *\n * On iOS and web, this returns `null`.\n *\n * @platform android\n *\n * @example\n * ```ts\n * await Cellular.getCarrierNameAsync(); // \"T-Mobile\" or \"Verizon\"\n * ```\n */\nexport async function getCarrierNameAsync(): Promise<string | null> {\n if (Platform.OS === 'ios') {\n return null;\n }\n if (!ExpoCellular.getCarrierNameAsync) {\n throw new UnavailabilityError('expo-cellular', 'getCarrierNameAsync');\n }\n return await ExpoCellular.getCarrierNameAsync();\n}\n\n/**\n * @return Returns mobile country code (MCC) for the user’s current registered cellular service provider.\n *\n * On Android, this value is only available when SIM state is [`SIM_STATE_READY`](https://developer.android.com/reference/android/telephony/TelephonyManager.html#SIM_STATE_READY). Otherwise, this\n * returns `null`. On iOS, the value may be null on hardware prior to iPhone 4S when in airplane mode.\n * Furthermore, the value for this property is `null` if any of the following apply:\n * - There is no SIM card in the device.\n * - The device is outside of cellular service range.\n *\n * On iOS and web, this returns `null`.\n *\n * @platform android\n *\n * @example\n * ```ts\n * await Cellular.getMobileCountryCodeAsync(); // \"310\"\n * ```\n */\nexport async function getMobileCountryCodeAsync(): Promise<string | null> {\n if (Platform.OS === 'ios') {\n return null;\n }\n if (!ExpoCellular.getMobileCountryCodeAsync) {\n throw new UnavailabilityError('expo-cellular', 'getMobileCountryCodeAsync');\n }\n return await ExpoCellular.getMobileCountryCodeAsync();\n}\n\n/**\n * @return Returns the mobile network code (MNC) for the user’s current registered cellular service provider.\n *\n * On Android, this value is only available when SIM state is [`SIM_STATE_READY`](https://developer.android.com/reference/android/telephony/TelephonyManager.html#SIM_STATE_READY). Otherwise, this\n * returns `null`. On iOS, the value may be null on hardware prior to iPhone 4S when in airplane mode.\n * Furthermore, the value for this property is `null` if any of the following apply:\n * - There is no SIM card in the device.\n * - The device is outside of cellular service range.\n *\n * On iOS and web, this returns `null`.\n *\n * @platform android\n *\n * @example\n * ```ts\n * await Cellular.getMobileNetworkCodeAsync(); // \"310\"\n * ```\n */\nexport async function getMobileNetworkCodeAsync(): Promise<string | null> {\n if (Platform.OS === 'ios') {\n return null;\n }\n if (!ExpoCellular.getMobileNetworkCodeAsync) {\n throw new UnavailabilityError('expo-cellular', 'getMobileNetworkCodeAsync');\n }\n return await ExpoCellular.getMobileNetworkCodeAsync();\n}\n\n/**\n * Checks user's permissions for accessing phone state.\n */\nexport async function getPermissionsAsync(): Promise<PermissionResponse> {\n if (Platform.OS === 'android') {\n return await ExpoCellular.getPermissionsAsync();\n }\n\n return {\n status: PermissionStatus.GRANTED,\n expires: 'never',\n granted: true,\n canAskAgain: true,\n };\n}\n\n/**\n * Asks the user to grant permissions for accessing the phone state.\n */\nexport async function requestPermissionsAsync(): Promise<PermissionResponse> {\n if (Platform.OS === 'android') {\n return await ExpoCellular.requestPermissionsAsync();\n }\n\n return {\n status: PermissionStatus.GRANTED,\n expires: 'never',\n granted: true,\n canAskAgain: true,\n };\n}\n\n/**\n * Check or request permissions to access the phone state.\n * This uses both `Cellular.requestPermissionsAsync` and `Cellular.getPermissionsAsync` to interact with the permissions.\n *\n * @example\n * ```ts\n * const [status, requestPermission] = Cellular.usePermissions();\n * ```\n */\nexport const usePermissions = createPermissionHook({\n getMethod: getPermissionsAsync,\n requestMethod: requestPermissionsAsync,\n});\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { type PermissionResponse, PermissionStatus, type PermissionExpiration, type PermissionHookOptions, } from 'expo
|
|
1
|
+
export { type PermissionResponse, PermissionStatus, type PermissionExpiration, type PermissionHookOptions, } from 'expo';
|
|
2
2
|
/**
|
|
3
3
|
* Describes the current generation of the cellular connection. It is an enum with these possible
|
|
4
4
|
* values:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Cellular.types.d.ts","sourceRoot":"","sources":["../src/Cellular.types.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,kBAAkB,EACvB,gBAAgB,EAChB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,GAC3B,MAAM,
|
|
1
|
+
{"version":3,"file":"Cellular.types.d.ts","sourceRoot":"","sources":["../src/Cellular.types.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,kBAAkB,EACvB,gBAAgB,EAChB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,GAC3B,MAAM,MAAM,CAAC;AAGd;;;GAGG;AACH,oBAAY,kBAAkB;IAC5B;;OAEG;IACH,OAAO,IAAI;IACX;;OAEG;IACH,WAAW,IAAI;IACf;;OAEG;IACH,WAAW,IAAI;IACf;;OAEG;IACH,WAAW,IAAI;IACf;;OAEG;IACH,WAAW,IAAI;CAChB"}
|
package/build/Cellular.types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Cellular.types.js","sourceRoot":"","sources":["../src/Cellular.types.ts"],"names":[],"mappings":"AAAA,wBAAwB;AACxB,OAAO,EAEL,gBAAgB,GAGjB,MAAM,
|
|
1
|
+
{"version":3,"file":"Cellular.types.js","sourceRoot":"","sources":["../src/Cellular.types.ts"],"names":[],"mappings":"AAAA,wBAAwB;AACxB,OAAO,EAEL,gBAAgB,GAGjB,MAAM,MAAM,CAAC;AAEd,cAAc;AACd;;;GAGG;AACH,MAAM,CAAN,IAAY,kBAqBX;AArBD,WAAY,kBAAkB;IAC5B;;OAEG;IACH,iEAAW,CAAA;IACX;;OAEG;IACH,yEAAe,CAAA;IACf;;OAEG;IACH,yEAAe,CAAA;IACf;;OAEG;IACH,yEAAe,CAAA;IACf;;OAEG;IACH,yEAAe,CAAA;AACjB,CAAC,EArBW,kBAAkB,KAAlB,kBAAkB,QAqB7B","sourcesContent":["// TODO(@kitten): Remove\nexport {\n type PermissionResponse,\n PermissionStatus,\n type PermissionExpiration,\n type PermissionHookOptions,\n} from 'expo';\n\n// @needsAudit\n/**\n * Describes the current generation of the cellular connection. It is an enum with these possible\n * values:\n */\nexport enum CellularGeneration {\n /**\n * Either we are not currently connected to a cellular network or type could not be determined.\n */\n UNKNOWN = 0,\n /**\n * Currently connected to a 2G cellular network. Includes CDMA, EDGE, GPRS, and IDEN type connections.\n */\n CELLULAR_2G = 1,\n /**\n * Currently connected to a 3G cellular network. Includes EHRPD, EVDO, HSPA, HSUPA, HSDPA, HSPAP, and UTMS type connections.\n */\n CELLULAR_3G = 2,\n /**\n * Currently connected to a 4G cellular network. Includes LTE type connections.\n */\n CELLULAR_4G = 3,\n /**\n * Currently connected to a 5G cellular network. Includes NR and NRNSA type connections.\n */\n CELLULAR_5G = 4,\n}\n"]}
|
package/expo-module.config.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"component": {
|
|
4
4
|
"group": "host.exp.exponent",
|
|
5
5
|
"module": "expo.modules.cellular",
|
|
6
|
-
"version": "56.0.
|
|
6
|
+
"version": "56.0.5",
|
|
7
7
|
"attributes": {
|
|
8
8
|
"org.gradle.status": "release"
|
|
9
9
|
}
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
|
26
26
|
{
|
|
27
|
-
"name": "expo.modules.cellular-56.0.
|
|
28
|
-
"url": "expo.modules.cellular-56.0.
|
|
27
|
+
"name": "expo.modules.cellular-56.0.5.aar",
|
|
28
|
+
"url": "expo.modules.cellular-56.0.5.aar",
|
|
29
29
|
"size": 23300,
|
|
30
30
|
"sha512": "67562190d6db79f9581a686d646192cb7577cd70e58b1d3923247bf82d1545c6c2c403b380e9bdd14c38a92954acf658d3ef53422d679e8e1242c46688cdcd5d",
|
|
31
31
|
"sha256": "e7e3d3b365c0288946b8525b88dee53ca0358cc9ad532ea806cd4eb1a58b17e9",
|
|
@@ -67,8 +67,8 @@
|
|
|
67
67
|
],
|
|
68
68
|
"files": [
|
|
69
69
|
{
|
|
70
|
-
"name": "expo.modules.cellular-56.0.
|
|
71
|
-
"url": "expo.modules.cellular-56.0.
|
|
70
|
+
"name": "expo.modules.cellular-56.0.5.aar",
|
|
71
|
+
"url": "expo.modules.cellular-56.0.5.aar",
|
|
72
72
|
"size": 23300,
|
|
73
73
|
"sha512": "67562190d6db79f9581a686d646192cb7577cd70e58b1d3923247bf82d1545c6c2c403b380e9bdd14c38a92954acf658d3ef53422d679e8e1242c46688cdcd5d",
|
|
74
74
|
"sha256": "e7e3d3b365c0288946b8525b88dee53ca0358cc9ad532ea806cd4eb1a58b17e9",
|
|
@@ -87,8 +87,8 @@
|
|
|
87
87
|
},
|
|
88
88
|
"files": [
|
|
89
89
|
{
|
|
90
|
-
"name": "expo.modules.cellular-56.0.
|
|
91
|
-
"url": "expo.modules.cellular-56.0.
|
|
90
|
+
"name": "expo.modules.cellular-56.0.5-sources.jar",
|
|
91
|
+
"url": "expo.modules.cellular-56.0.5-sources.jar",
|
|
92
92
|
"size": 2402,
|
|
93
93
|
"sha512": "15b833989c3fbe37a13c3077facaec19de84d8db4ad81f0c4c4d941082ff5c59737957c08a1fd21f7a1a411d26f6bca28dff4f05edb8d9ab176457fddf78e705",
|
|
94
94
|
"sha256": "2f3e6fa636d98d3298208b8c2a184d4e643b126230fa64187495d8507947d41c",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
bb48ad7ad2355c349227517feb8427e2
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ac6b9ab182618ab8ee0cc8e0a9722b5b700efaba
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
b6fc36b339a4422fd56c70986df3063f3986304fe8fc5d75c61e793c16c3f714
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
182ae57016d4133e3a56fa1cff30dc3e770f6163745274b3766041d85d1a304a5061fa76fdda5e09f3ce9b57a22005d784721946f1f97fc0591032994452024c
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<modelVersion>4.0.0</modelVersion>
|
|
10
10
|
<groupId>host.exp.exponent</groupId>
|
|
11
11
|
<artifactId>expo.modules.cellular</artifactId>
|
|
12
|
-
<version>56.0.
|
|
12
|
+
<version>56.0.5</version>
|
|
13
13
|
<packaging>aar</packaging>
|
|
14
14
|
<name>expo.modules.cellular</name>
|
|
15
15
|
<url>https://github.com/expo/expo</url>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
c791bca307d46e86aa064334b1c1b2d0
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
6cf321a532321236a47d4be89e0f5705da6aaaf0
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
440fdf714309736830d2718f277f3c2cf43bda9fbf8e130956dbc0d708f17893
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
6839ea190f5c95e8785956ecf1c7783624a7ad47d315cddcaa8ee0771b0a9939e9a76f0cbeed27535e241feba9d1f25faa364f401fe99eea043ebed0c601ea4d
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
<groupId>host.exp.exponent</groupId>
|
|
4
4
|
<artifactId>expo.modules.cellular</artifactId>
|
|
5
5
|
<versioning>
|
|
6
|
-
<latest>56.0.
|
|
7
|
-
<release>56.0.
|
|
6
|
+
<latest>56.0.5</latest>
|
|
7
|
+
<release>56.0.5</release>
|
|
8
8
|
<versions>
|
|
9
|
-
<version>56.0.
|
|
9
|
+
<version>56.0.5</version>
|
|
10
10
|
</versions>
|
|
11
|
-
<lastUpdated>
|
|
11
|
+
<lastUpdated>20260521153950</lastUpdated>
|
|
12
12
|
</versioning>
|
|
13
13
|
</metadata>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
becf2b74ea6167fce38df204f006c1d2
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
cec4f4a57da9b7c42c00bae1575ecc7054ed1e7a
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
cb27fd5d8bfad4992544667d5210b8f74171eca51c2197983f6ae5c532f019cd
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
fe353c0888750ad050dd069880ab021c69d9f5fe38707c5a2130d80a00d5de3b09642481613bebecc6c014a63d1439dca4c2632739a63ec8bbcc1f9fc6db6450
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-cellular",
|
|
3
|
-
"version": "56.0.
|
|
3
|
+
"version": "56.0.5",
|
|
4
4
|
"description": "Provides information about the user’s cellular service provider",
|
|
5
5
|
"main": "build/Cellular.js",
|
|
6
6
|
"types": "build/Cellular.d.ts",
|
|
@@ -23,13 +23,13 @@
|
|
|
23
23
|
"dependencies": {},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/node": "^22.14.0",
|
|
26
|
-
"expo": "56.0.
|
|
27
|
-
"expo
|
|
26
|
+
"expo-module-scripts": "56.0.2",
|
|
27
|
+
"expo": "56.0.3"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"expo": "*"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "125e8225bf36a4b9b2a159441d9ea724bcf1110f",
|
|
33
33
|
"scripts": {
|
|
34
34
|
"build": "expo-module build",
|
|
35
35
|
"clean": "expo-module clean",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './build';
|
package/plugin/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
module.exports = require('./build');
|
package/src/Cellular.ts
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
PermissionStatus,
|
|
4
|
-
Platform,
|
|
5
|
-
UnavailabilityError,
|
|
6
|
-
} from 'expo-modules-core';
|
|
1
|
+
import { createPermissionHook, PermissionStatus } from 'expo';
|
|
2
|
+
import { Platform, UnavailabilityError } from 'expo-modules-core';
|
|
7
3
|
|
|
8
4
|
import type { PermissionResponse, CellularGeneration } from './Cellular.types';
|
|
9
5
|
import ExpoCellular from './ExpoCellular';
|
package/src/Cellular.types.ts
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
867c0ff96e1edde433c0eaa8f42a0dcc
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
86641d67fa337459e830229a45b3979bf524faa1
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
568a78088beb15bf771abf210fa5fec0f5faa7bec84472628a6ab7dd161daa7b
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
30ea9bab8d920bcb47952079b71e0a18108b00c5d5725f13e60aa281181f89b7d2dd03a6ea2ed88b5d17d8c3209f6447fc4be3d8489f9e682afc141859e969fe
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
6c8f24d2e9e2b777b78325463b6650b4
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
65e88d39a6fa7add3ba71a1f85266b42496ac230
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
ff9fdd50e9ed67f49878f85f09c880d4f17acc5e6882b0edc7d869fcc10f6671
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
6bd04e5cf1f6780a20fa0d954803e2a9146b557b7c2f0565b041000c942fd421b5f7ced08119c34e6f1bf912fe49207e2d6532d6434fc0fa2e42e549aa12a1db
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"root":["./src/withcellular.ts"],"version":"5.9.2"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|