react-native-background-geolocation 4.18.9 → 4.19.1

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 (83) hide show
  1. package/android/build.gradle +2 -7
  2. package/android/libs/com/transistorsoft/tslocationmanager/{3.6.8/tslocationmanager-3.6.8.aar → 3.7.0/tslocationmanager-3.7.0.aar} +0 -0
  3. package/android/libs/com/transistorsoft/tslocationmanager/3.7.0/tslocationmanager-3.7.0.aar.md5 +1 -0
  4. package/android/libs/com/transistorsoft/tslocationmanager/3.7.0/tslocationmanager-3.7.0.aar.sha1 +1 -0
  5. package/android/libs/com/transistorsoft/tslocationmanager/3.7.0/tslocationmanager-3.7.0.aar.sha256 +1 -0
  6. package/android/libs/com/transistorsoft/tslocationmanager/3.7.0/tslocationmanager-3.7.0.aar.sha512 +1 -0
  7. package/android/libs/com/transistorsoft/tslocationmanager/{3.6.8/tslocationmanager-3.6.8.pom → 3.7.0/tslocationmanager-3.7.0.pom} +1 -1
  8. package/android/libs/com/transistorsoft/tslocationmanager/3.7.0/tslocationmanager-3.7.0.pom.md5 +1 -0
  9. package/android/libs/com/transistorsoft/tslocationmanager/3.7.0/tslocationmanager-3.7.0.pom.sha1 +1 -0
  10. package/android/libs/com/transistorsoft/tslocationmanager/3.7.0/tslocationmanager-3.7.0.pom.sha256 +1 -0
  11. package/android/libs/com/transistorsoft/tslocationmanager/3.7.0/tslocationmanager-3.7.0.pom.sha512 +1 -0
  12. package/android/libs/com/transistorsoft/tslocationmanager/maven-metadata.xml +4 -6
  13. package/android/libs/com/transistorsoft/tslocationmanager-v21/{3.6.8/tslocationmanager-v21-3.6.8.aar → 3.7.0/tslocationmanager-v21-3.7.0.aar} +0 -0
  14. package/android/libs/com/transistorsoft/tslocationmanager-v21/3.7.0/tslocationmanager-v21-3.7.0.aar.md5 +1 -0
  15. package/android/libs/com/transistorsoft/tslocationmanager-v21/3.7.0/tslocationmanager-v21-3.7.0.aar.sha1 +1 -0
  16. package/android/libs/com/transistorsoft/tslocationmanager-v21/3.7.0/tslocationmanager-v21-3.7.0.aar.sha256 +1 -0
  17. package/android/libs/com/transistorsoft/tslocationmanager-v21/3.7.0/tslocationmanager-v21-3.7.0.aar.sha512 +1 -0
  18. package/android/libs/com/transistorsoft/tslocationmanager-v21/{3.6.8/tslocationmanager-v21-3.6.8.pom → 3.7.0/tslocationmanager-v21-3.7.0.pom} +1 -1
  19. package/android/libs/com/transistorsoft/tslocationmanager-v21/3.7.0/tslocationmanager-v21-3.7.0.pom.md5 +1 -0
  20. package/android/libs/com/transistorsoft/tslocationmanager-v21/3.7.0/tslocationmanager-v21-3.7.0.pom.sha1 +1 -0
  21. package/android/libs/com/transistorsoft/tslocationmanager-v21/3.7.0/tslocationmanager-v21-3.7.0.pom.sha256 +1 -0
  22. package/android/libs/com/transistorsoft/tslocationmanager-v21/3.7.0/tslocationmanager-v21-3.7.0.pom.sha512 +1 -0
  23. package/android/libs/com/transistorsoft/tslocationmanager-v21/maven-metadata.xml +4 -6
  24. package/android/src/main/java/com/transistorsoft/rnbackgroundgeolocation/RNBackgroundGeolocationModule.java +2 -2
  25. package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/_CodeSignature/CodeDirectory +0 -0
  26. package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/_CodeSignature/CodeRequirements-1 +0 -0
  27. package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/_CodeSignature/CodeResources +51 -51
  28. package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/_CodeSignature/CodeSignature +0 -0
  29. package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/Info.plist +0 -0
  30. package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/TSLocationManager +0 -0
  31. package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/_CodeSignature/CodeDirectory +0 -0
  32. package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/_CodeSignature/CodeRequirements-1 +0 -0
  33. package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/_CodeSignature/CodeResources +1 -1
  34. package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64/TSLocationManager.framework/_CodeSignature/CodeSignature +0 -0
  35. package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Resources/Info.plist +7 -7
  36. package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/TSLocationManager +0 -0
  37. package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/_CodeSignature/CodeDirectory +0 -0
  38. package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/_CodeSignature/CodeRequirements-1 +0 -0
  39. package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/_CodeSignature/CodeResources +3 -3
  40. package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/_CodeSignature/CodeSignature +0 -0
  41. package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/Info.plist +0 -0
  42. package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/TSLocationManager +0 -0
  43. package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/_CodeSignature/CodeDirectory +0 -0
  44. package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/_CodeSignature/CodeRequirements-1 +0 -0
  45. package/ios/RNBackgroundGeolocation/TSLocationManager.xcframework/ios-arm64_x86_64-simulator/TSLocationManager.framework/_CodeSignature/CodeResources +1 -1
  46. package/package.json +1 -1
  47. package/android/.idea/compiler.xml +0 -22
  48. package/android/.idea/copyright/profiles_settings.xml +0 -3
  49. package/android/.idea/encodings.xml +0 -6
  50. package/android/.idea/gradle.xml +0 -12
  51. package/android/.idea/misc.xml +0 -4
  52. package/android/.idea/modules.xml +0 -8
  53. package/android/.idea/runConfigurations.xml +0 -12
  54. package/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.aar.md5 +0 -1
  55. package/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.aar.sha1 +0 -1
  56. package/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.aar.sha256 +0 -1
  57. package/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.aar.sha512 +0 -1
  58. package/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.pom.md5 +0 -1
  59. package/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.pom.sha1 +0 -1
  60. package/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.pom.sha256 +0 -1
  61. package/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.pom.sha512 +0 -1
  62. package/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.aar.md5 +0 -1
  63. package/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.aar.sha1 +0 -1
  64. package/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.aar.sha256 +0 -1
  65. package/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.aar.sha512 +0 -1
  66. package/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.pom.md5 +0 -1
  67. package/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.pom.sha1 +0 -1
  68. package/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.pom.sha256 +0 -1
  69. package/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.pom.sha512 +0 -1
  70. package/expo/plugin/build/androidPlugin.d.ts +0 -8
  71. package/expo/plugin/build/androidPlugin.js +0 -127
  72. package/expo/plugin/build/androidPlugin.js.map +0 -1
  73. package/expo/plugin/build/iOSPlugin.d.ts +0 -4
  74. package/expo/plugin/build/iOSPlugin.js +0 -10
  75. package/expo/plugin/build/iOSPlugin.js.map +0 -1
  76. package/expo/plugin/build/index.d.ts +0 -16
  77. package/expo/plugin/build/index.js +0 -23
  78. package/expo/plugin/build/index.js.map +0 -1
  79. package/ios/RNBackgroundGeolocation.xcodeproj/project.xcworkspace/xcshareddata/RNBackgroundGeolocation.xccheckout +0 -41
  80. package/ios/RNBackgroundGeolocation.xcodeproj/project.xcworkspace/xcuserdata/chris.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  81. package/ios/RNBackgroundGeolocation.xcodeproj/xcuserdata/chris.xcuserdatad/xcschemes/Build.xcscheme +0 -80
  82. package/ios/RNBackgroundGeolocation.xcodeproj/xcuserdata/chris.xcuserdatad/xcschemes/RNBackgroundGeolocation.xcscheme +0 -113
  83. package/ios/RNBackgroundGeolocation.xcodeproj/xcuserdata/chris.xcuserdatad/xcschemes/xcschememanagement.plist +0 -37
@@ -1,22 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="CompilerConfiguration">
4
- <resourceExtensions />
5
- <wildcardResourcePatterns>
6
- <entry name="!?*.java" />
7
- <entry name="!?*.form" />
8
- <entry name="!?*.class" />
9
- <entry name="!?*.groovy" />
10
- <entry name="!?*.scala" />
11
- <entry name="!?*.flex" />
12
- <entry name="!?*.kt" />
13
- <entry name="!?*.clj" />
14
- <entry name="!?*.aj" />
15
- </wildcardResourcePatterns>
16
- <annotationProcessing>
17
- <profile default="true" name="Default" enabled="false">
18
- <processorPath useClasspath="true" />
19
- </profile>
20
- </annotationProcessing>
21
- </component>
22
- </project>
@@ -1,3 +0,0 @@
1
- <component name="CopyrightManager">
2
- <settings default="" />
3
- </component>
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="Encoding">
4
- <file url="PROJECT" charset="UTF-8" />
5
- </component>
6
- </project>
@@ -1,12 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="GradleSettings">
4
- <option name="linkedExternalProjectsSettings">
5
- <GradleProjectSettings>
6
- <option name="distributionType" value="DEFAULT_WRAPPED" />
7
- <option name="externalProjectPath" value="$PROJECT_DIR$" />
8
- <option name="resolveModulePerSourceSet" value="false" />
9
- </GradleProjectSettings>
10
- </option>
11
- </component>
12
- </project>
@@ -1,4 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectRootManager" version="2" languageLevel="JDK_1_6" assert-keyword="true" jdk-15="true" />
4
- </project>
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectModuleManager">
4
- <modules>
5
- <module fileurl="file://$PROJECT_DIR$/android.iml" filepath="$PROJECT_DIR$/android.iml" />
6
- </modules>
7
- </component>
8
- </project>
@@ -1,12 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="RunConfigurationProducerService">
4
- <option name="ignoredProducers">
5
- <set>
6
- <option value="org.jetbrains.plugins.gradle.execution.test.runner.AllInPackageGradleConfigurationProducer" />
7
- <option value="org.jetbrains.plugins.gradle.execution.test.runner.TestClassGradleConfigurationProducer" />
8
- <option value="org.jetbrains.plugins.gradle.execution.test.runner.TestMethodGradleConfigurationProducer" />
9
- </set>
10
- </option>
11
- </component>
12
- </project>
@@ -1 +0,0 @@
1
- f3530c9f73915bb300175cb830615c03ac6bf9af
@@ -1 +0,0 @@
1
- 15d0a2af79bf43ce6357b07af8112818353bfb6787c733af901ac177d408a164
@@ -1 +0,0 @@
1
- 0ff908fef62fc7a0f17a6142afa4b0a16c5a280b4cc016df0343e7467fa3f4d35385362dbfa13b09f2af94f2b7874e10dbf58d3c8f82b41c753f411e021ac2ad
@@ -1 +0,0 @@
1
- 306f5bf26e8a5d8db0fa0e524c3690e74a91b983
@@ -1 +0,0 @@
1
- 0c6c86970e4516aa09fce5c2c88ebd3c4e553c1f3c4998bbf479479bfe6eb685
@@ -1 +0,0 @@
1
- 2123322a83ce3f1caec736e5b28d5b43fb24c29a527f5cf3567ade867d8bd5c921c11b0dba7884b3c8e6bdfbae6624bfa668ca182233a7219a6668fe5c0ca009
@@ -1 +0,0 @@
1
- ba82001981e2835a1f899d7a057b25535671ed0f
@@ -1 +0,0 @@
1
- eeefa1d6bb4eed3067864c0ab621930a2125f1fa06f6ab8bc46075b786e1cca7
@@ -1 +0,0 @@
1
- 2855371218cd7c67b3f121ba3f7fce4093364f5d9538e8d8347a91c47a68eb2c2374ea0b9a7fb59dfea62a8cac1aa1aac41d80ab45e00563c36a01ddea7d7637
@@ -1 +0,0 @@
1
- 439e4e5864879010d5c671b002144acc8c0e1712
@@ -1 +0,0 @@
1
- 8c11e6152a277786c7423bbf9fe3e127b7bd38dcb6d1d421348ef6a54edc23ca
@@ -1 +0,0 @@
1
- 23e32ae13456ca49ca20fd2bbbb06f227c9d64ea10f0a848bc67bcfbfd0726a3a6316fe6fb8fcc39daa97684934549a8c94b14c9b924974a3c3b28d8f15aee60
@@ -1,8 +0,0 @@
1
- import { ConfigPlugin } from '@expo/config-plugins';
2
- type Props = {
3
- license?: string;
4
- hmsLicense?: string;
5
- polygonLicense?: string;
6
- };
7
- declare const androidPlugin: ConfigPlugin<Props>;
8
- export default androidPlugin;
@@ -1,127 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const config_plugins_1 = require("@expo/config-plugins");
7
- const generateCode_1 = require("@expo/config-plugins/build/utils/generateCode");
8
- const path_1 = __importDefault(require("path"));
9
- const fs_1 = __importDefault(require("fs"));
10
- const PUBLIC_MODULE = 'react-native-background-geolocation';
11
- const PRIVATE_MODULE = PUBLIC_MODULE + '-android';
12
- const META_LICENSE_KEY = "com.transistorsoft.locationmanager.license";
13
- const META_HMS_LICENSE_KEY = "com.transistorsoft.locationmanager.hms.license";
14
- const META_POLYGON_LICENSE_KEY = "com.transistorsoft.locationmanager.polygon.license";
15
- const findModuleRecursively = (dir) => {
16
- const nodeModules = path_1.default.resolve(dir, 'node_modules');
17
- if (fs_1.default.existsSync(path_1.default.join(nodeModules, PUBLIC_MODULE))) {
18
- return PUBLIC_MODULE;
19
- }
20
- if (fs_1.default.existsSync(path_1.default.join(nodeModules, PRIVATE_MODULE))) {
21
- return PRIVATE_MODULE;
22
- }
23
- const parent = path_1.default.resolve(dir, '..');
24
- if (parent === dir) {
25
- // we have reached the root of the file system -> not found
26
- return null;
27
- }
28
- return findModuleRecursively(parent);
29
- };
30
- const MODULE_NAME = findModuleRecursively(path_1.default.resolve('.'));
31
- if (!MODULE_NAME) {
32
- console.error(`Could not find neither '${PUBLIC_MODULE}' or '${PRIVATE_MODULE}' in node_modules`);
33
- process.exit(1);
34
- }
35
- const { addMetaDataItemToMainApplication, removeMetaDataItemFromMainApplication, getMainApplicationOrThrow } = config_plugins_1.AndroidConfig.Manifest;
36
- const androidPlugin = (config, props = {}) => {
37
- config = (0, config_plugins_1.withProjectBuildGradle)(config, ({ modResults, ...subConfig }) => {
38
- if (modResults.language !== 'groovy') {
39
- config_plugins_1.WarningAggregator.addWarningAndroid('withBackgroundGeolocation', `Cannot automatically configure project build.gradle if it's not groovy`);
40
- return { modResults, ...subConfig };
41
- }
42
- modResults.contents = applyMavenUrl(modResults.contents);
43
- return { modResults, ...subConfig };
44
- });
45
- config = (0, config_plugins_1.withAppBuildGradle)(config, ({ modResults, ...subConfig }) => {
46
- if (modResults.language !== 'groovy') {
47
- config_plugins_1.WarningAggregator.addWarningAndroid('withBackgroundGeolocation', `Cannot automatically configure project build.gradle if it's not groovy`);
48
- return { modResults, ...subConfig };
49
- }
50
- modResults.contents = applyAppGradle(modResults.contents);
51
- return { modResults, ...subConfig };
52
- });
53
- config = (0, config_plugins_1.withAndroidManifest)(config, async (config) => {
54
- console.log("[react-native-background-geolocation] Adding license-keys to AndroidManifest:", props);
55
- const mainApplication = getMainApplicationOrThrow(config.modResults);
56
- addMetaDataItemToMainApplication(mainApplication, META_LICENSE_KEY, props.license || "UNDEFINED");
57
- if (props.hmsLicense) {
58
- addMetaDataItemToMainApplication(mainApplication, META_HMS_LICENSE_KEY, props.hmsLicense);
59
- }
60
- else {
61
- removeMetaDataItemFromMainApplication(mainApplication, META_HMS_LICENSE_KEY);
62
- }
63
- if (props.polygonLicense) {
64
- addMetaDataItemToMainApplication(mainApplication, META_POLYGON_LICENSE_KEY, props.polygonLicense);
65
- }
66
- else {
67
- removeMetaDataItemFromMainApplication(mainApplication, META_POLYGON_LICENSE_KEY);
68
- }
69
- return config;
70
- });
71
- return config;
72
- };
73
- const applyAppGradle = (buildGradle) => {
74
- // Apply background-geolocation.gradle
75
- const newSrc = [];
76
- newSrc.push(`Project background_geolocation = project(':${MODULE_NAME}')`);
77
- newSrc.push(`apply from: "\${background_geolocation.projectDir}/app.gradle"`);
78
- buildGradle = (0, generateCode_1.mergeContents)({
79
- tag: `${MODULE_NAME}-project`,
80
- src: buildGradle,
81
- newSrc: newSrc.join("\n"),
82
- anchor: /android\s\{/,
83
- offset: -1,
84
- comment: "//",
85
- }).contents;
86
- return buildGradle;
87
- };
88
- /**
89
- * DISABLED in favour of gradle.properties
90
- *
91
- const applyExtVars = (buildGradle: string, props:Props) => {
92
-
93
- const newSrc = [];
94
-
95
- const ext = props.ext;
96
- if (ext) {
97
- for (let [key, value] of ext) {
98
- if (typeof(value) === 'boolean') {
99
- newSrc.push(`\t${key} = ${value}`)
100
- } else {
101
- newSrc.push(`\t${key} = "${value}"`)
102
- }
103
- }
104
- }
105
-
106
- return mergeContents({
107
- tag: `${MODULE_NAME}-ext`,
108
- src: buildGradle,
109
- newSrc: newSrc.join("\n"),
110
- anchor: /ext(?:\s+)?\{/,
111
- offset: 1,
112
- comment: "//",
113
- }).contents;
114
- }
115
- */
116
- const applyMavenUrl = (buildGradle) => {
117
- return (0, generateCode_1.mergeContents)({
118
- tag: `${MODULE_NAME}-maven`,
119
- src: buildGradle,
120
- newSrc: `\tmaven { url "\${project(":${MODULE_NAME}").projectDir}/libs" }\n\tmaven { url 'https://developer.huawei.com/repo/' }`,
121
- anchor: /maven\s\{/,
122
- offset: 1,
123
- comment: "//",
124
- }).contents;
125
- };
126
- exports.default = androidPlugin;
127
- //# sourceMappingURL=androidPlugin.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"androidPlugin.js","sourceRoot":"","sources":["../src/androidPlugin.ts"],"names":[],"mappings":";;;;;AAAA,yDAQ8B;AAE9B,gFAGuD;AASvD,gDAAwB;AACxB,4CAAoB;AAEpB,MAAM,aAAa,GAAG,qCAAqC,CAAC;AAC5D,MAAM,cAAc,GAAG,aAAa,GAAG,UAAU,CAAC;AAElD,MAAM,gBAAgB,GAAG,4CAA4C,CAAC;AACtE,MAAM,oBAAoB,GAAG,gDAAgD,CAAC;AAC9E,MAAM,wBAAwB,GAAG,oDAAoD,CAAC;AAEtF,MAAM,qBAAqB,GAAG,CAAC,GAAW,EAAiB,EAAE;IAC3D,MAAM,WAAW,GAAG,cAAI,CAAC,OAAO,CAAC,GAAG,EAAE,cAAc,CAAC,CAAC;IACtD,IAAI,YAAE,CAAC,UAAU,CAAC,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B,CAAC,CAAC;AAEF,MAAM,cAAc,GAAG,CAAC,WAAkB,EAAE,EAAE;IAC5C,sCAAsC;IACtC,MAAM,MAAM,GAAG,EAAE,CAAC;IAElB,MAAM,CAAC,IAAI,CAAC,8CAA8C,WAAW,IAAI,CAAC,CAAA;IAC1E,MAAM,CAAC,IAAI,CAAC,gEAAgE,CAAC,CAAA;IAE7E,WAAW,GAAG,IAAA,4BAAa,EAAC;QAC1B,GAAG,EAAE,GAAG,WAAW,UAAU;QAC7B,GAAG,EAAE,WAAW;QAChB,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC;QACzB,MAAM,EAAE,aAAa;QACrB,MAAM,EAAE,CAAC,CAAC;QACV,OAAO,EAAE,IAAI;KACd,CAAC,CAAC,QAAQ,CAAC;IAEZ,OAAO,WAAW,CAAC;AAErB,CAAC,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2BE;AAEF,MAAM,aAAa,GAAG,CAAC,WAAmB,EAAS,EAAE;IACnD,OAAO,IAAA,4BAAa,EAAC;QACnB,GAAG,EAAE,GAAG,WAAW,QAAQ;QAC3B,GAAG,EAAE,WAAW;QAChB,MAAM,EAAE,+BAA+B,WAAW,8EAA8E;QAChI,MAAM,EAAE,WAAW;QACnB,MAAM,EAAE,CAAC;QACT,OAAO,EAAE,IAAI;KACd,CAAC,CAAC,QAAQ,CAAC;AACd,CAAC,CAAA;AAED,kBAAe,aAAa,CAAC"}
@@ -1,4 +0,0 @@
1
- import { ConfigPlugin } from "@expo/config-plugins";
2
- type Props = {};
3
- export declare const withBackgroundGeolocationPluginIos: ConfigPlugin<Props>;
4
- export default withBackgroundGeolocationPluginIos;
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.withBackgroundGeolocationPluginIos = void 0;
4
- const withBackgroundGeolocationPluginIos = (config, props = {}) => {
5
- // Nothing to here here currently, but left for future considerations.
6
- return config;
7
- };
8
- exports.withBackgroundGeolocationPluginIos = withBackgroundGeolocationPluginIos;
9
- exports.default = exports.withBackgroundGeolocationPluginIos;
10
- //# sourceMappingURL=iOSPlugin.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"iOSPlugin.js","sourceRoot":"","sources":["../src/iOSPlugin.ts"],"names":[],"mappings":";;;AAQO,MAAM,kCAAkC,GAAwB,CAAC,MAAM,EAAE,KAAK,GAAC,EAAE,EAAE,EAAE;IAC1F,sEAAsE;IACtE,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC;AAHW,QAAA,kCAAkC,sCAG7C;AAEF,kBAAe,0CAAkC,CAAC"}
@@ -1,16 +0,0 @@
1
- import { ConfigPlugin } from '@expo/config-plugins';
2
- declare const withBackgroundGeolocation: ConfigPlugin<{
3
- /**
4
- * Android license Default ""
5
- */
6
- license?: string;
7
- /**
8
- * Huawei HMS license Default ""
9
- */
10
- hmsLicense?: string;
11
- /**
12
- * Polygon Geofencing License Default ""
13
- */
14
- polygonLicense?: string;
15
- } | void>;
16
- export default withBackgroundGeolocation;
@@ -1,23 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const config_plugins_1 = require("@expo/config-plugins");
7
- const androidPlugin_1 = __importDefault(require("./androidPlugin"));
8
- const iOSPlugin_1 = __importDefault(require("./iOSPlugin"));
9
- const withBackgroundGeolocation = (config, _props) => {
10
- const props = _props || {};
11
- return (0, config_plugins_1.withPlugins)(config, [
12
- [androidPlugin_1.default, {
13
- license: props.license,
14
- hmsLicense: props.hmsLicense,
15
- polygonLicense: props.polygonLicense
16
- }],
17
- [iOSPlugin_1.default, {
18
- // no props for ios currently.
19
- }]
20
- ]);
21
- };
22
- exports.default = withBackgroundGeolocation;
23
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;AAAA,yDAAiE;AAEjE,oEAA4C;AAC5C,4DAAoC;AAEpC,MAAM,yBAAyB,GAgB3B,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE;IACrB,MAAM,KAAK,GAAG,MAAM,IAAI,EAAE,CAAC;IAE3B,OAAO,IAAA,4BAAW,EAAC,MAAM,EAAE;QACzB,CAAC,uBAAa,EAAE;gBACd,OAAO,EAAE,KAAK,CAAC,OAAO;gBACtB,UAAU,EAAE,KAAK,CAAC,UAAU;gBAC5B,cAAc,EAAE,KAAK,CAAC,cAAc;aACrC,CAAC;QACF,CAAC,mBAAS,EAAE;YACV,8BAA8B;aAC/B,CAAC;KACH,CAAC,CAAC;AACL,CAAC,CAAC;AAEF,kBAAe,yBAAyB,CAAC"}
@@ -1,41 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>IDESourceControlProjectFavoriteDictionaryKey</key>
6
- <false/>
7
- <key>IDESourceControlProjectIdentifier</key>
8
- <string>4A7DE3DE-54D9-4AE9-B27F-9EB2BA435688</string>
9
- <key>IDESourceControlProjectName</key>
10
- <string>RNBackgroundGeolocation</string>
11
- <key>IDESourceControlProjectOriginsDictionary</key>
12
- <dict>
13
- <key>696C980427008B088C59F77220A0BC747AEED9B8</key>
14
- <string>github.com:christocracy/react-native-background-geolocation.git</string>
15
- </dict>
16
- <key>IDESourceControlProjectPath</key>
17
- <string>RNBackgroundGeolocation.xcodeproj</string>
18
- <key>IDESourceControlProjectRelativeInstallPathDictionary</key>
19
- <dict>
20
- <key>696C980427008B088C59F77220A0BC747AEED9B8</key>
21
- <string>../..</string>
22
- </dict>
23
- <key>IDESourceControlProjectURL</key>
24
- <string>github.com:christocracy/react-native-background-geolocation.git</string>
25
- <key>IDESourceControlProjectVersion</key>
26
- <integer>111</integer>
27
- <key>IDESourceControlProjectWCCIdentifier</key>
28
- <string>696C980427008B088C59F77220A0BC747AEED9B8</string>
29
- <key>IDESourceControlProjectWCConfigurations</key>
30
- <array>
31
- <dict>
32
- <key>IDESourceControlRepositoryExtensionIdentifierKey</key>
33
- <string>public.vcs.git</string>
34
- <key>IDESourceControlWCCIdentifierKey</key>
35
- <string>696C980427008B088C59F77220A0BC747AEED9B8</string>
36
- <key>IDESourceControlWCCName</key>
37
- <string>react-native-background-geolocation</string>
38
- </dict>
39
- </array>
40
- </dict>
41
- </plist>
@@ -1,80 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <Scheme
3
- LastUpgradeVersion = "0940"
4
- version = "1.3">
5
- <BuildAction
6
- parallelizeBuildables = "YES"
7
- buildImplicitDependencies = "YES">
8
- <BuildActionEntries>
9
- <BuildActionEntry
10
- buildForTesting = "YES"
11
- buildForRunning = "YES"
12
- buildForProfiling = "YES"
13
- buildForArchiving = "YES"
14
- buildForAnalyzing = "YES">
15
- <BuildableReference
16
- BuildableIdentifier = "primary"
17
- BlueprintIdentifier = "831FD2901DCA883300F8F62A"
18
- BuildableName = "Build"
19
- BlueprintName = "Build"
20
- ReferencedContainer = "container:RNBackgroundGeolocation.xcodeproj">
21
- </BuildableReference>
22
- </BuildActionEntry>
23
- </BuildActionEntries>
24
- </BuildAction>
25
- <TestAction
26
- buildConfiguration = "Debug"
27
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29
- shouldUseLaunchSchemeArgsEnv = "YES">
30
- <Testables>
31
- </Testables>
32
- <AdditionalOptions>
33
- </AdditionalOptions>
34
- </TestAction>
35
- <LaunchAction
36
- buildConfiguration = "Debug"
37
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
38
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
39
- launchStyle = "0"
40
- useCustomWorkingDirectory = "NO"
41
- ignoresPersistentStateOnLaunch = "NO"
42
- debugDocumentVersioning = "YES"
43
- debugServiceExtension = "internal"
44
- allowLocationSimulation = "YES">
45
- <MacroExpansion>
46
- <BuildableReference
47
- BuildableIdentifier = "primary"
48
- BlueprintIdentifier = "831FD2901DCA883300F8F62A"
49
- BuildableName = "Build"
50
- BlueprintName = "Build"
51
- ReferencedContainer = "container:RNBackgroundGeolocation.xcodeproj">
52
- </BuildableReference>
53
- </MacroExpansion>
54
- <AdditionalOptions>
55
- </AdditionalOptions>
56
- </LaunchAction>
57
- <ProfileAction
58
- buildConfiguration = "Release"
59
- shouldUseLaunchSchemeArgsEnv = "YES"
60
- savedToolIdentifier = ""
61
- useCustomWorkingDirectory = "NO"
62
- debugDocumentVersioning = "YES">
63
- <MacroExpansion>
64
- <BuildableReference
65
- BuildableIdentifier = "primary"
66
- BlueprintIdentifier = "831FD2901DCA883300F8F62A"
67
- BuildableName = "Build"
68
- BlueprintName = "Build"
69
- ReferencedContainer = "container:RNBackgroundGeolocation.xcodeproj">
70
- </BuildableReference>
71
- </MacroExpansion>
72
- </ProfileAction>
73
- <AnalyzeAction
74
- buildConfiguration = "Debug">
75
- </AnalyzeAction>
76
- <ArchiveAction
77
- buildConfiguration = "Release"
78
- revealArchiveInOrganizer = "YES">
79
- </ArchiveAction>
80
- </Scheme>
@@ -1,113 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <Scheme
3
- LastUpgradeVersion = "0940"
4
- version = "1.3">
5
- <BuildAction
6
- parallelizeBuildables = "YES"
7
- buildImplicitDependencies = "YES">
8
- <BuildActionEntries>
9
- <BuildActionEntry
10
- buildForTesting = "YES"
11
- buildForRunning = "YES"
12
- buildForProfiling = "YES"
13
- buildForArchiving = "YES"
14
- buildForAnalyzing = "YES">
15
- <BuildableReference
16
- BuildableIdentifier = "primary"
17
- BlueprintIdentifier = "83FF5F841AFD0D2B0016A13E"
18
- BuildableName = "libRNBackgroundGeolocation.a"
19
- BlueprintName = "RNBackgroundGeolocation"
20
- ReferencedContainer = "container:RNBackgroundGeolocation.xcodeproj">
21
- </BuildableReference>
22
- </BuildActionEntry>
23
- <BuildActionEntry
24
- buildForTesting = "YES"
25
- buildForRunning = "YES"
26
- buildForProfiling = "NO"
27
- buildForArchiving = "NO"
28
- buildForAnalyzing = "YES">
29
- <BuildableReference
30
- BuildableIdentifier = "primary"
31
- BlueprintIdentifier = "83FF5F8F1AFD0D2B0016A13E"
32
- BuildableName = "RNBackgroundGeolocationTests.xctest"
33
- BlueprintName = "RNBackgroundGeolocationTests"
34
- ReferencedContainer = "container:RNBackgroundGeolocation.xcodeproj">
35
- </BuildableReference>
36
- </BuildActionEntry>
37
- </BuildActionEntries>
38
- </BuildAction>
39
- <TestAction
40
- buildConfiguration = "Debug"
41
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
42
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
43
- shouldUseLaunchSchemeArgsEnv = "YES">
44
- <Testables>
45
- <TestableReference
46
- skipped = "NO">
47
- <BuildableReference
48
- BuildableIdentifier = "primary"
49
- BlueprintIdentifier = "83FF5F8F1AFD0D2B0016A13E"
50
- BuildableName = "RNBackgroundGeolocationTests.xctest"
51
- BlueprintName = "RNBackgroundGeolocationTests"
52
- ReferencedContainer = "container:RNBackgroundGeolocation.xcodeproj">
53
- </BuildableReference>
54
- </TestableReference>
55
- </Testables>
56
- <MacroExpansion>
57
- <BuildableReference
58
- BuildableIdentifier = "primary"
59
- BlueprintIdentifier = "83FF5F841AFD0D2B0016A13E"
60
- BuildableName = "libRNBackgroundGeolocation.a"
61
- BlueprintName = "RNBackgroundGeolocation"
62
- ReferencedContainer = "container:RNBackgroundGeolocation.xcodeproj">
63
- </BuildableReference>
64
- </MacroExpansion>
65
- <AdditionalOptions>
66
- </AdditionalOptions>
67
- </TestAction>
68
- <LaunchAction
69
- buildConfiguration = "Debug"
70
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
71
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
72
- launchStyle = "0"
73
- useCustomWorkingDirectory = "NO"
74
- ignoresPersistentStateOnLaunch = "NO"
75
- debugDocumentVersioning = "YES"
76
- debugServiceExtension = "internal"
77
- allowLocationSimulation = "YES">
78
- <MacroExpansion>
79
- <BuildableReference
80
- BuildableIdentifier = "primary"
81
- BlueprintIdentifier = "83FF5F841AFD0D2B0016A13E"
82
- BuildableName = "libRNBackgroundGeolocation.a"
83
- BlueprintName = "RNBackgroundGeolocation"
84
- ReferencedContainer = "container:RNBackgroundGeolocation.xcodeproj">
85
- </BuildableReference>
86
- </MacroExpansion>
87
- <AdditionalOptions>
88
- </AdditionalOptions>
89
- </LaunchAction>
90
- <ProfileAction
91
- buildConfiguration = "Release"
92
- shouldUseLaunchSchemeArgsEnv = "YES"
93
- savedToolIdentifier = ""
94
- useCustomWorkingDirectory = "NO"
95
- debugDocumentVersioning = "YES">
96
- <MacroExpansion>
97
- <BuildableReference
98
- BuildableIdentifier = "primary"
99
- BlueprintIdentifier = "83FF5F841AFD0D2B0016A13E"
100
- BuildableName = "libRNBackgroundGeolocation.a"
101
- BlueprintName = "RNBackgroundGeolocation"
102
- ReferencedContainer = "container:RNBackgroundGeolocation.xcodeproj">
103
- </BuildableReference>
104
- </MacroExpansion>
105
- </ProfileAction>
106
- <AnalyzeAction
107
- buildConfiguration = "Debug">
108
- </AnalyzeAction>
109
- <ArchiveAction
110
- buildConfiguration = "Release"
111
- revealArchiveInOrganizer = "YES">
112
- </ArchiveAction>
113
- </Scheme>
@@ -1,37 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>SchemeUserState</key>
6
- <dict>
7
- <key>Build.xcscheme</key>
8
- <dict>
9
- <key>orderHint</key>
10
- <integer>4</integer>
11
- </dict>
12
- <key>RNBackgroundGeolocation.xcscheme</key>
13
- <dict>
14
- <key>orderHint</key>
15
- <integer>3</integer>
16
- </dict>
17
- </dict>
18
- <key>SuppressBuildableAutocreation</key>
19
- <dict>
20
- <key>831FD2901DCA883300F8F62A</key>
21
- <dict>
22
- <key>primary</key>
23
- <true/>
24
- </dict>
25
- <key>83FF5F841AFD0D2B0016A13E</key>
26
- <dict>
27
- <key>primary</key>
28
- <true/>
29
- </dict>
30
- <key>83FF5F8F1AFD0D2B0016A13E</key>
31
- <dict>
32
- <key>primary</key>
33
- <true/>
34
- </dict>
35
- </dict>
36
- </dict>
37
- </plist>