@absolutejs/absolute 0.20.0-beta.20 → 0.20.0-beta.21

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.
@@ -5072,6 +5072,8 @@ var CAPACITOR_PACKAGE_PATTERN = /^@capacitor\/[a-z][a-z0-9-]*@\d+\.\d+\.\d+$/u;
5072
5072
  var ANDROID_PERMISSION_PATTERN = /^android\.permission\.[A-Z][A-Z0-9_]*$/u;
5073
5073
  var IOS_USAGE_DESCRIPTIONS = new Set([
5074
5074
  "camera",
5075
+ "location-always",
5076
+ "location-when-in-use",
5075
5077
  "photo-library",
5076
5078
  "photo-library-add"
5077
5079
  ]);
@@ -5809,6 +5811,8 @@ var managed = (source, region, insertion) => {
5809
5811
  };
5810
5812
  var IOS_KEYS = {
5811
5813
  camera: "NSCameraUsageDescription",
5814
+ "location-always": "NSLocationAlwaysAndWhenInUseUsageDescription",
5815
+ "location-when-in-use": "NSLocationWhenInUseUsageDescription",
5812
5816
  "photo-library": "NSPhotoLibraryUsageDescription",
5813
5817
  "photo-library-add": "NSPhotoLibraryAddUsageDescription"
5814
5818
  };
@@ -5817,6 +5821,10 @@ var iosDescription = (appName, purpose) => {
5817
5821
  return `${appName} uses your camera when you choose to take a photo.`;
5818
5822
  if (purpose === "photo-library")
5819
5823
  return `${appName} accesses your photo library only for photo actions you choose.`;
5824
+ if (purpose === "location-when-in-use")
5825
+ return `${appName} uses your location only while you are using the app and request a location-based action.`;
5826
+ if (purpose === "location-always")
5827
+ return `${appName} does not track location in the background; this description supports the foreground location provider required by the native runtime.`;
5820
5828
  return `${appName} adds to your photo library only for photo actions you choose.`;
5821
5829
  };
5822
5830
  var configureIos2 = async (config, plan) => {
@@ -6606,5 +6614,5 @@ export {
6606
6614
  ABSOLUTE_ANDROID_RELEASE_FORMAT
6607
6615
  };
6608
6616
 
6609
- //# debugId=8F3479AD17C2968F64756E2164756E21
6617
+ //# debugId=1579CD5E4A79E32964756E2164756E21
6610
6618
  //# sourceMappingURL=index.js.map