expo-cellular 56.0.3 → 56.0.4

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.
Files changed (46) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/android/build.gradle +2 -2
  3. package/build/Cellular.d.ts.map +1 -1
  4. package/build/Cellular.js +2 -1
  5. package/build/Cellular.js.map +1 -1
  6. package/build/Cellular.types.d.ts +1 -1
  7. package/build/Cellular.types.d.ts.map +1 -1
  8. package/build/Cellular.types.js +1 -1
  9. package/build/Cellular.types.js.map +1 -1
  10. package/expo-module.config.json +1 -1
  11. package/local-maven-repo/host/exp/exponent/expo.modules.cellular/{56.0.3/expo.modules.cellular-56.0.3.module → 56.0.4/expo.modules.cellular-56.0.4.module} +7 -7
  12. package/local-maven-repo/host/exp/exponent/expo.modules.cellular/56.0.4/expo.modules.cellular-56.0.4.module.md5 +1 -0
  13. package/local-maven-repo/host/exp/exponent/expo.modules.cellular/56.0.4/expo.modules.cellular-56.0.4.module.sha1 +1 -0
  14. package/local-maven-repo/host/exp/exponent/expo.modules.cellular/56.0.4/expo.modules.cellular-56.0.4.module.sha256 +1 -0
  15. package/local-maven-repo/host/exp/exponent/expo.modules.cellular/56.0.4/expo.modules.cellular-56.0.4.module.sha512 +1 -0
  16. package/local-maven-repo/host/exp/exponent/expo.modules.cellular/{56.0.3/expo.modules.cellular-56.0.3.pom → 56.0.4/expo.modules.cellular-56.0.4.pom} +1 -1
  17. package/local-maven-repo/host/exp/exponent/expo.modules.cellular/56.0.4/expo.modules.cellular-56.0.4.pom.md5 +1 -0
  18. package/local-maven-repo/host/exp/exponent/expo.modules.cellular/56.0.4/expo.modules.cellular-56.0.4.pom.sha1 +1 -0
  19. package/local-maven-repo/host/exp/exponent/expo.modules.cellular/56.0.4/expo.modules.cellular-56.0.4.pom.sha256 +1 -0
  20. package/local-maven-repo/host/exp/exponent/expo.modules.cellular/56.0.4/expo.modules.cellular-56.0.4.pom.sha512 +1 -0
  21. package/local-maven-repo/host/exp/exponent/expo.modules.cellular/maven-metadata.xml +4 -4
  22. package/local-maven-repo/host/exp/exponent/expo.modules.cellular/maven-metadata.xml.md5 +1 -1
  23. package/local-maven-repo/host/exp/exponent/expo.modules.cellular/maven-metadata.xml.sha1 +1 -1
  24. package/local-maven-repo/host/exp/exponent/expo.modules.cellular/maven-metadata.xml.sha256 +1 -1
  25. package/local-maven-repo/host/exp/exponent/expo.modules.cellular/maven-metadata.xml.sha512 +1 -1
  26. package/package.json +3 -3
  27. package/src/Cellular.ts +2 -6
  28. package/src/Cellular.types.ts +1 -1
  29. package/local-maven-repo/host/exp/exponent/expo.modules.cellular/56.0.3/expo.modules.cellular-56.0.3.module.md5 +0 -1
  30. package/local-maven-repo/host/exp/exponent/expo.modules.cellular/56.0.3/expo.modules.cellular-56.0.3.module.sha1 +0 -1
  31. package/local-maven-repo/host/exp/exponent/expo.modules.cellular/56.0.3/expo.modules.cellular-56.0.3.module.sha256 +0 -1
  32. package/local-maven-repo/host/exp/exponent/expo.modules.cellular/56.0.3/expo.modules.cellular-56.0.3.module.sha512 +0 -1
  33. package/local-maven-repo/host/exp/exponent/expo.modules.cellular/56.0.3/expo.modules.cellular-56.0.3.pom.md5 +0 -1
  34. package/local-maven-repo/host/exp/exponent/expo.modules.cellular/56.0.3/expo.modules.cellular-56.0.3.pom.sha1 +0 -1
  35. package/local-maven-repo/host/exp/exponent/expo.modules.cellular/56.0.3/expo.modules.cellular-56.0.3.pom.sha256 +0 -1
  36. package/local-maven-repo/host/exp/exponent/expo.modules.cellular/56.0.3/expo.modules.cellular-56.0.3.pom.sha512 +0 -1
  37. /package/local-maven-repo/host/exp/exponent/expo.modules.cellular/{56.0.3/expo.modules.cellular-56.0.3-sources.jar → 56.0.4/expo.modules.cellular-56.0.4-sources.jar} +0 -0
  38. /package/local-maven-repo/host/exp/exponent/expo.modules.cellular/{56.0.3/expo.modules.cellular-56.0.3-sources.jar.md5 → 56.0.4/expo.modules.cellular-56.0.4-sources.jar.md5} +0 -0
  39. /package/local-maven-repo/host/exp/exponent/expo.modules.cellular/{56.0.3/expo.modules.cellular-56.0.3-sources.jar.sha1 → 56.0.4/expo.modules.cellular-56.0.4-sources.jar.sha1} +0 -0
  40. /package/local-maven-repo/host/exp/exponent/expo.modules.cellular/{56.0.3/expo.modules.cellular-56.0.3-sources.jar.sha256 → 56.0.4/expo.modules.cellular-56.0.4-sources.jar.sha256} +0 -0
  41. /package/local-maven-repo/host/exp/exponent/expo.modules.cellular/{56.0.3/expo.modules.cellular-56.0.3-sources.jar.sha512 → 56.0.4/expo.modules.cellular-56.0.4-sources.jar.sha512} +0 -0
  42. /package/local-maven-repo/host/exp/exponent/expo.modules.cellular/{56.0.3/expo.modules.cellular-56.0.3.aar → 56.0.4/expo.modules.cellular-56.0.4.aar} +0 -0
  43. /package/local-maven-repo/host/exp/exponent/expo.modules.cellular/{56.0.3/expo.modules.cellular-56.0.3.aar.md5 → 56.0.4/expo.modules.cellular-56.0.4.aar.md5} +0 -0
  44. /package/local-maven-repo/host/exp/exponent/expo.modules.cellular/{56.0.3/expo.modules.cellular-56.0.3.aar.sha1 → 56.0.4/expo.modules.cellular-56.0.4.aar.sha1} +0 -0
  45. /package/local-maven-repo/host/exp/exponent/expo.modules.cellular/{56.0.3/expo.modules.cellular-56.0.3.aar.sha256 → 56.0.4/expo.modules.cellular-56.0.4.aar.sha256} +0 -0
  46. /package/local-maven-repo/host/exp/exponent/expo.modules.cellular/{56.0.3/expo.modules.cellular-56.0.3.aar.sha512 → 56.0.4/expo.modules.cellular-56.0.4.aar.sha512} +0 -0
package/CHANGELOG.md CHANGED
@@ -10,6 +10,12 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 56.0.4 — 2026-05-13
14
+
15
+ ### 💡 Others
16
+
17
+ - 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))
18
+
13
19
  ## 56.0.3 — 2026-05-06
14
20
 
15
21
  _This version does not introduce any user-facing changes._
@@ -4,12 +4,12 @@ plugins {
4
4
  }
5
5
 
6
6
  group = 'host.exp.exponent'
7
- version = '56.0.3'
7
+ version = '56.0.4'
8
8
 
9
9
  android {
10
10
  namespace "expo.modules.cellular"
11
11
  defaultConfig {
12
12
  versionCode 11
13
- versionName '56.0.3'
13
+ versionName '56.0.4'
14
14
  }
15
15
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Cellular.d.ts","sourceRoot":"","sources":["../src/Cellular.ts"],"names":[],"mappings":"AAOA,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"}
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, Platform, UnavailabilityError, } from 'expo-modules-core';
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
@@ -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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;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":"AAAA,OAAO,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,MAAM,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAGlE,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAEtD,cAAc;AACd;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,CA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,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 { 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-modules-core';
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,mBAAmB,CAAC;AAG3B;;;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"}
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"}
@@ -1,5 +1,5 @@
1
1
  // TODO(@kitten): Remove
2
- export { PermissionStatus, } from 'expo-modules-core';
2
+ export { PermissionStatus, } from 'expo';
3
3
  // @needsAudit
4
4
  /**
5
5
  * Describes the current generation of the cellular connection. It is an enum with these possible
@@ -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,mBAAmB,CAAC;AAE3B,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-modules-core';\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"]}
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"]}
@@ -8,7 +8,7 @@
8
8
  "publication": {
9
9
  "groupId": "host.exp.exponent",
10
10
  "artifactId": "expo.modules.cellular",
11
- "version": "56.0.3",
11
+ "version": "56.0.4",
12
12
  "repository": "local-maven-repo"
13
13
  }
14
14
  }
@@ -3,7 +3,7 @@
3
3
  "component": {
4
4
  "group": "host.exp.exponent",
5
5
  "module": "expo.modules.cellular",
6
- "version": "56.0.3",
6
+ "version": "56.0.4",
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.3.aar",
28
- "url": "expo.modules.cellular-56.0.3.aar",
27
+ "name": "expo.modules.cellular-56.0.4.aar",
28
+ "url": "expo.modules.cellular-56.0.4.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.3.aar",
71
- "url": "expo.modules.cellular-56.0.3.aar",
70
+ "name": "expo.modules.cellular-56.0.4.aar",
71
+ "url": "expo.modules.cellular-56.0.4.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.3-sources.jar",
91
- "url": "expo.modules.cellular-56.0.3-sources.jar",
90
+ "name": "expo.modules.cellular-56.0.4-sources.jar",
91
+ "url": "expo.modules.cellular-56.0.4-sources.jar",
92
92
  "size": 2402,
93
93
  "sha512": "15b833989c3fbe37a13c3077facaec19de84d8db4ad81f0c4c4d941082ff5c59737957c08a1fd21f7a1a411d26f6bca28dff4f05edb8d9ab176457fddf78e705",
94
94
  "sha256": "2f3e6fa636d98d3298208b8c2a184d4e643b126230fa64187495d8507947d41c",
@@ -0,0 +1 @@
1
+ ebd36ec0347b0e2ea4d9d67bfe1a18f6dc9df2b3a5fa972a04d6465565c7cca0
@@ -0,0 +1 @@
1
+ e99ea42830d18735c0017bdeabd97441f8fda80b375d13d4aaa285c4fb7a682b0fdc4576d1396b4e06db70c5ca50ecf6abacb9d1eac8beecd5e9f2337369fffa
@@ -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.3</version>
12
+ <version>56.0.4</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
+ 1a78c2dbae5c034c48dd970b793217805e8e52c93bc068ddcfa2dce2dd2c1cb9
@@ -0,0 +1 @@
1
+ b93d30be55453a1ff8227c37f289d92ab408935e2ccd85a5dab6702d781d31ab38da2bac43573f7dca92004885c5b0bd72c162c396a0e176077819f2fd3994cf
@@ -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.3</latest>
7
- <release>56.0.3</release>
6
+ <latest>56.0.4</latest>
7
+ <release>56.0.4</release>
8
8
  <versions>
9
- <version>56.0.3</version>
9
+ <version>56.0.4</version>
10
10
  </versions>
11
- <lastUpdated>20260506211917</lastUpdated>
11
+ <lastUpdated>20260513103322</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -1 +1 @@
1
- d3dd38b9cbb7b3dbd5f53c73dc3588db
1
+ 400965d0d67b88cbf4bdae56059dc4cd
@@ -1 +1 @@
1
- 35320f8bb94a2c2e4d95012183ecfd4ded81734f
1
+ 4b9eaf7f3ad9ca069eaa8fc6ee1562743aa13b48
@@ -1 +1 @@
1
- 3e686773e1b8932d26bf6721d2da9e0915182c07bc829c8d023b671a29b0da03
1
+ e54c054ca4c80044ccca0b738238198a3a3de1ac8682456e3d60dfcf964fde35
@@ -1 +1 @@
1
- 44d31505e14af126effbae3cfbe3f0f540f3f016e999ccb16f12b8cb476b0d6e50072920dcd12923cdbd00acdf47c69c795e92629fee0382cc6979e7b1e63714
1
+ bf408f832c81db0c53d6ad4fc1c8d168e468c48caeeb73dfc853433d3f1d3fb09ee2396a60f6b5fa55029f1699cd420e33302c2bace8a0531c2cff9aa577388d
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-cellular",
3
- "version": "56.0.3",
3
+ "version": "56.0.4",
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.0-preview.5",
26
+ "expo": "56.0.0-preview.10",
27
27
  "expo-module-scripts": "56.0.2"
28
28
  },
29
29
  "peerDependencies": {
30
30
  "expo": "*"
31
31
  },
32
- "gitHead": "a8ab3da510a34b7bdb2262aa9887d4f78b102280",
32
+ "gitHead": "40f0a6f6711d93762e0506b37e6e077e4bd9a541",
33
33
  "scripts": {
34
34
  "build": "expo-module build",
35
35
  "clean": "expo-module clean",
package/src/Cellular.ts CHANGED
@@ -1,9 +1,5 @@
1
- import {
2
- createPermissionHook,
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';
@@ -4,7 +4,7 @@ export {
4
4
  PermissionStatus,
5
5
  type PermissionExpiration,
6
6
  type PermissionHookOptions,
7
- } from 'expo-modules-core';
7
+ } from 'expo';
8
8
 
9
9
  // @needsAudit
10
10
  /**
@@ -1 +0,0 @@
1
- 568a78088beb15bf771abf210fa5fec0f5faa7bec84472628a6ab7dd161daa7b
@@ -1 +0,0 @@
1
- 30ea9bab8d920bcb47952079b71e0a18108b00c5d5725f13e60aa281181f89b7d2dd03a6ea2ed88b5d17d8c3209f6447fc4be3d8489f9e682afc141859e969fe
@@ -1 +0,0 @@
1
- ff9fdd50e9ed67f49878f85f09c880d4f17acc5e6882b0edc7d869fcc10f6671
@@ -1 +0,0 @@
1
- 6bd04e5cf1f6780a20fa0d954803e2a9146b557b7c2f0565b041000c942fd421b5f7ced08119c34e6f1bf912fe49207e2d6532d6434fc0fa2e42e549aa12a1db