@ammarahmed/react-native-background-fetch 4.2.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 (46) hide show
  1. package/.yarnignore +7 -0
  2. package/LICENSE +21 -0
  3. package/README.md +502 -0
  4. package/RNBackgroundFetch.podspec +25 -0
  5. package/android/build.gradle +40 -0
  6. package/android/proguard-rules.pro +2 -0
  7. package/android/src/main/AndroidManifest.xml +15 -0
  8. package/android/src/main/java/com/transistorsoft/rnbackgroundfetch/HeadlessTask.java +119 -0
  9. package/android/src/main/java/com/transistorsoft/rnbackgroundfetch/RNBackgroundFetchModule.java +185 -0
  10. package/android/src/main/java/com/transistorsoft/rnbackgroundfetch/RNBackgroundFetchPackage.java +29 -0
  11. package/android/src/main/java/com/transistorsoft/tsbackgroundfetch/BGTask.java +305 -0
  12. package/android/src/main/java/com/transistorsoft/tsbackgroundfetch/BackgroundFetch.java +297 -0
  13. package/android/src/main/java/com/transistorsoft/tsbackgroundfetch/BackgroundFetchConfig.java +362 -0
  14. package/android/src/main/java/com/transistorsoft/tsbackgroundfetch/BootReceiver.java +24 -0
  15. package/android/src/main/java/com/transistorsoft/tsbackgroundfetch/FetchAlarmReceiver.java +40 -0
  16. package/android/src/main/java/com/transistorsoft/tsbackgroundfetch/FetchJobService.java +106 -0
  17. package/android/src/main/java/com/transistorsoft/tsbackgroundfetch/LifecycleManager.java +225 -0
  18. package/app.plugin.js +1 -0
  19. package/index.d.ts +185 -0
  20. package/index.js +119 -0
  21. package/ios/RNBackgroundFetch/RNBackgroundFetch+AppDelegate.m +22 -0
  22. package/ios/RNBackgroundFetch/RNBackgroundFetch.h +18 -0
  23. package/ios/RNBackgroundFetch/RNBackgroundFetch.m +167 -0
  24. package/ios/RNBackgroundFetch/TSBackgroundFetch.xcframework/Info.plist +57 -0
  25. package/ios/RNBackgroundFetch/TSBackgroundFetch.xcframework/ios-arm64_armv7/TSBackgroundFetch.framework/Headers/TSBackgroundFetch.h +47 -0
  26. package/ios/RNBackgroundFetch/TSBackgroundFetch.xcframework/ios-arm64_armv7/TSBackgroundFetch.framework/Info.plist +0 -0
  27. package/ios/RNBackgroundFetch/TSBackgroundFetch.xcframework/ios-arm64_armv7/TSBackgroundFetch.framework/Modules/module.modulemap +6 -0
  28. package/ios/RNBackgroundFetch/TSBackgroundFetch.xcframework/ios-arm64_armv7/TSBackgroundFetch.framework/TSBackgroundFetch +0 -0
  29. package/ios/RNBackgroundFetch/TSBackgroundFetch.xcframework/ios-arm64_i386_x86_64-simulator/TSBackgroundFetch.framework/Headers/TSBackgroundFetch.h +47 -0
  30. package/ios/RNBackgroundFetch/TSBackgroundFetch.xcframework/ios-arm64_i386_x86_64-simulator/TSBackgroundFetch.framework/Info.plist +0 -0
  31. package/ios/RNBackgroundFetch/TSBackgroundFetch.xcframework/ios-arm64_i386_x86_64-simulator/TSBackgroundFetch.framework/Modules/module.modulemap +6 -0
  32. package/ios/RNBackgroundFetch/TSBackgroundFetch.xcframework/ios-arm64_i386_x86_64-simulator/TSBackgroundFetch.framework/TSBackgroundFetch +0 -0
  33. package/ios/RNBackgroundFetch/TSBackgroundFetch.xcframework/ios-arm64_i386_x86_64-simulator/TSBackgroundFetch.framework/_CodeSignature/CodeDirectory +0 -0
  34. package/ios/RNBackgroundFetch/TSBackgroundFetch.xcframework/ios-arm64_i386_x86_64-simulator/TSBackgroundFetch.framework/_CodeSignature/CodeRequirements +0 -0
  35. package/ios/RNBackgroundFetch/TSBackgroundFetch.xcframework/ios-arm64_i386_x86_64-simulator/TSBackgroundFetch.framework/_CodeSignature/CodeRequirements-1 +0 -0
  36. package/ios/RNBackgroundFetch/TSBackgroundFetch.xcframework/ios-arm64_i386_x86_64-simulator/TSBackgroundFetch.framework/_CodeSignature/CodeResources +132 -0
  37. package/ios/RNBackgroundFetch/TSBackgroundFetch.xcframework/ios-arm64_i386_x86_64-simulator/TSBackgroundFetch.framework/_CodeSignature/CodeSignature +0 -0
  38. package/ios/RNBackgroundFetch/TSBackgroundFetch.xcframework/ios-arm64_x86_64-maccatalyst/TSBackgroundFetch.framework/Headers/TSBackgroundFetch.h +47 -0
  39. package/ios/RNBackgroundFetch/TSBackgroundFetch.xcframework/ios-arm64_x86_64-maccatalyst/TSBackgroundFetch.framework/Modules/module.modulemap +6 -0
  40. package/ios/RNBackgroundFetch/TSBackgroundFetch.xcframework/ios-arm64_x86_64-maccatalyst/TSBackgroundFetch.framework/Resources/Info.plist +52 -0
  41. package/ios/RNBackgroundFetch/TSBackgroundFetch.xcframework/ios-arm64_x86_64-maccatalyst/TSBackgroundFetch.framework/TSBackgroundFetch +0 -0
  42. package/ios/RNBackgroundFetch.xcodeproj/project.pbxproj +310 -0
  43. package/ios/RNBackgroundFetch.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  44. package/ios/RNBackgroundFetch.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  45. package/ios/RNBackgroundFetch.xcodeproj/project.xcworkspace/xcuserdata/chris.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  46. package/package.json +32 -0
@@ -0,0 +1,310 @@
1
+ // !$*UTF8*$!
2
+ {
3
+ archiveVersion = 1;
4
+ classes = {
5
+ };
6
+ objectVersion = 46;
7
+ objects = {
8
+
9
+ /* Begin PBXBuildFile section */
10
+ 835318581D52293F005738CD /* RNBackgroundFetch.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 835318571D52293F005738CD /* RNBackgroundFetch.h */; };
11
+ 8353185A1D52293F005738CD /* RNBackgroundFetch.m in Sources */ = {isa = PBXBuildFile; fileRef = 835318591D52293F005738CD /* RNBackgroundFetch.m */; };
12
+ 835673F31D93313300BEE2FC /* TSBackgroundFetch.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 835673F21D93313300BEE2FC /* TSBackgroundFetch.framework */; };
13
+ /* End PBXBuildFile section */
14
+
15
+ /* Begin PBXCopyFilesBuildPhase section */
16
+ 835318521D52293F005738CD /* CopyFiles */ = {
17
+ isa = PBXCopyFilesBuildPhase;
18
+ buildActionMask = 2147483647;
19
+ dstPath = "include/$(PRODUCT_NAME)";
20
+ dstSubfolderSpec = 16;
21
+ files = (
22
+ 835318581D52293F005738CD /* RNBackgroundFetch.h in CopyFiles */,
23
+ );
24
+ runOnlyForDeploymentPostprocessing = 0;
25
+ };
26
+ /* End PBXCopyFilesBuildPhase section */
27
+
28
+ /* Begin PBXFileReference section */
29
+ 835318541D52293F005738CD /* libRNBackgroundFetch.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRNBackgroundFetch.a; sourceTree = BUILT_PRODUCTS_DIR; };
30
+ 835318571D52293F005738CD /* RNBackgroundFetch.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RNBackgroundFetch.h; sourceTree = "<group>"; };
31
+ 835318591D52293F005738CD /* RNBackgroundFetch.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RNBackgroundFetch.m; sourceTree = "<group>"; };
32
+ 835318601D522994005738CD /* RNBackgroundFetch+AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "RNBackgroundFetch+AppDelegate.m"; sourceTree = "<group>"; };
33
+ 835673F21D93313300BEE2FC /* TSBackgroundFetch.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = TSBackgroundFetch.framework; path = RNBackgroundFetch/TSBackgroundFetch.framework; sourceTree = "<group>"; };
34
+ /* End PBXFileReference section */
35
+
36
+ /* Begin PBXFrameworksBuildPhase section */
37
+ 835318511D52293F005738CD /* Frameworks */ = {
38
+ isa = PBXFrameworksBuildPhase;
39
+ buildActionMask = 2147483647;
40
+ files = (
41
+ 835673F31D93313300BEE2FC /* TSBackgroundFetch.framework in Frameworks */,
42
+ );
43
+ runOnlyForDeploymentPostprocessing = 0;
44
+ };
45
+ /* End PBXFrameworksBuildPhase section */
46
+
47
+ /* Begin PBXGroup section */
48
+ 8353184B1D52293F005738CD = {
49
+ isa = PBXGroup;
50
+ children = (
51
+ 835318561D52293F005738CD /* RNBackgroundFetch */,
52
+ 835318551D52293F005738CD /* Products */,
53
+ 835673F11D93313300BEE2FC /* Frameworks */,
54
+ );
55
+ sourceTree = "<group>";
56
+ };
57
+ 835318551D52293F005738CD /* Products */ = {
58
+ isa = PBXGroup;
59
+ children = (
60
+ 835318541D52293F005738CD /* libRNBackgroundFetch.a */,
61
+ );
62
+ name = Products;
63
+ sourceTree = "<group>";
64
+ };
65
+ 835318561D52293F005738CD /* RNBackgroundFetch */ = {
66
+ isa = PBXGroup;
67
+ children = (
68
+ 835318571D52293F005738CD /* RNBackgroundFetch.h */,
69
+ 835318591D52293F005738CD /* RNBackgroundFetch.m */,
70
+ 835318601D522994005738CD /* RNBackgroundFetch+AppDelegate.m */,
71
+ );
72
+ path = RNBackgroundFetch;
73
+ sourceTree = "<group>";
74
+ };
75
+ 835673F11D93313300BEE2FC /* Frameworks */ = {
76
+ isa = PBXGroup;
77
+ children = (
78
+ 835673F21D93313300BEE2FC /* TSBackgroundFetch.framework */,
79
+ );
80
+ name = Frameworks;
81
+ sourceTree = "<group>";
82
+ };
83
+ /* End PBXGroup section */
84
+
85
+ /* Begin PBXNativeTarget section */
86
+ 835318531D52293F005738CD /* RNBackgroundFetch */ = {
87
+ isa = PBXNativeTarget;
88
+ buildConfigurationList = 8353185D1D52293F005738CD /* Build configuration list for PBXNativeTarget "RNBackgroundFetch" */;
89
+ buildPhases = (
90
+ 835318501D52293F005738CD /* Sources */,
91
+ 835318511D52293F005738CD /* Frameworks */,
92
+ 835318521D52293F005738CD /* CopyFiles */,
93
+ );
94
+ buildRules = (
95
+ );
96
+ dependencies = (
97
+ );
98
+ name = RNBackgroundFetch;
99
+ productName = RNBackgroundFetch;
100
+ productReference = 835318541D52293F005738CD /* libRNBackgroundFetch.a */;
101
+ productType = "com.apple.product-type.library.static";
102
+ };
103
+ /* End PBXNativeTarget section */
104
+
105
+ /* Begin PBXProject section */
106
+ 8353184C1D52293F005738CD /* Project object */ = {
107
+ isa = PBXProject;
108
+ attributes = {
109
+ LastUpgradeCheck = 0920;
110
+ ORGANIZATIONNAME = "Christopher Scott";
111
+ TargetAttributes = {
112
+ 835318531D52293F005738CD = {
113
+ CreatedOnToolsVersion = 7.3.1;
114
+ };
115
+ };
116
+ };
117
+ buildConfigurationList = 8353184F1D52293F005738CD /* Build configuration list for PBXProject "RNBackgroundFetch" */;
118
+ compatibilityVersion = "Xcode 3.2";
119
+ developmentRegion = English;
120
+ hasScannedForEncodings = 0;
121
+ knownRegions = (
122
+ en,
123
+ );
124
+ mainGroup = 8353184B1D52293F005738CD;
125
+ productRefGroup = 835318551D52293F005738CD /* Products */;
126
+ projectDirPath = "";
127
+ projectRoot = "";
128
+ targets = (
129
+ 835318531D52293F005738CD /* RNBackgroundFetch */,
130
+ );
131
+ };
132
+ /* End PBXProject section */
133
+
134
+ /* Begin PBXSourcesBuildPhase section */
135
+ 835318501D52293F005738CD /* Sources */ = {
136
+ isa = PBXSourcesBuildPhase;
137
+ buildActionMask = 2147483647;
138
+ files = (
139
+ 8353185A1D52293F005738CD /* RNBackgroundFetch.m in Sources */,
140
+ );
141
+ runOnlyForDeploymentPostprocessing = 0;
142
+ };
143
+ /* End PBXSourcesBuildPhase section */
144
+
145
+ /* Begin XCBuildConfiguration section */
146
+ 8353185B1D52293F005738CD /* Debug */ = {
147
+ isa = XCBuildConfiguration;
148
+ buildSettings = {
149
+ ALWAYS_SEARCH_USER_PATHS = NO;
150
+ CLANG_ANALYZER_NONNULL = YES;
151
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
152
+ CLANG_CXX_LIBRARY = "libc++";
153
+ CLANG_ENABLE_MODULES = YES;
154
+ CLANG_ENABLE_OBJC_ARC = YES;
155
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
156
+ CLANG_WARN_BOOL_CONVERSION = YES;
157
+ CLANG_WARN_COMMA = YES;
158
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
159
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
160
+ CLANG_WARN_EMPTY_BODY = YES;
161
+ CLANG_WARN_ENUM_CONVERSION = YES;
162
+ CLANG_WARN_INFINITE_RECURSION = YES;
163
+ CLANG_WARN_INT_CONVERSION = YES;
164
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
165
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
166
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
167
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
168
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
169
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
170
+ CLANG_WARN_UNREACHABLE_CODE = YES;
171
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
172
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
173
+ COPY_PHASE_STRIP = NO;
174
+ DEBUG_INFORMATION_FORMAT = dwarf;
175
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
176
+ ENABLE_TESTABILITY = YES;
177
+ GCC_C_LANGUAGE_STANDARD = gnu99;
178
+ GCC_DYNAMIC_NO_PIC = NO;
179
+ GCC_NO_COMMON_BLOCKS = YES;
180
+ GCC_OPTIMIZATION_LEVEL = 0;
181
+ GCC_PREPROCESSOR_DEFINITIONS = (
182
+ "DEBUG=1",
183
+ "$(inherited)",
184
+ );
185
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
186
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
187
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
188
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
189
+ GCC_WARN_UNUSED_FUNCTION = YES;
190
+ GCC_WARN_UNUSED_VARIABLE = YES;
191
+ IPHONEOS_DEPLOYMENT_TARGET = 9.3;
192
+ MTL_ENABLE_DEBUG_INFO = YES;
193
+ ONLY_ACTIVE_ARCH = YES;
194
+ SDKROOT = iphoneos;
195
+ };
196
+ name = Debug;
197
+ };
198
+ 8353185C1D52293F005738CD /* Release */ = {
199
+ isa = XCBuildConfiguration;
200
+ buildSettings = {
201
+ ALWAYS_SEARCH_USER_PATHS = NO;
202
+ CLANG_ANALYZER_NONNULL = YES;
203
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
204
+ CLANG_CXX_LIBRARY = "libc++";
205
+ CLANG_ENABLE_MODULES = YES;
206
+ CLANG_ENABLE_OBJC_ARC = YES;
207
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
208
+ CLANG_WARN_BOOL_CONVERSION = YES;
209
+ CLANG_WARN_COMMA = YES;
210
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
211
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
212
+ CLANG_WARN_EMPTY_BODY = YES;
213
+ CLANG_WARN_ENUM_CONVERSION = YES;
214
+ CLANG_WARN_INFINITE_RECURSION = YES;
215
+ CLANG_WARN_INT_CONVERSION = YES;
216
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
217
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
218
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
219
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
220
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
221
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
222
+ CLANG_WARN_UNREACHABLE_CODE = YES;
223
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
224
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
225
+ COPY_PHASE_STRIP = NO;
226
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
227
+ ENABLE_NS_ASSERTIONS = NO;
228
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
229
+ GCC_C_LANGUAGE_STANDARD = gnu99;
230
+ GCC_NO_COMMON_BLOCKS = YES;
231
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
232
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
233
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
234
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
235
+ GCC_WARN_UNUSED_FUNCTION = YES;
236
+ GCC_WARN_UNUSED_VARIABLE = YES;
237
+ IPHONEOS_DEPLOYMENT_TARGET = 9.3;
238
+ MTL_ENABLE_DEBUG_INFO = NO;
239
+ SDKROOT = iphoneos;
240
+ VALIDATE_PRODUCT = YES;
241
+ };
242
+ name = Release;
243
+ };
244
+ 8353185E1D52293F005738CD /* Debug */ = {
245
+ isa = XCBuildConfiguration;
246
+ buildSettings = {
247
+ FRAMEWORK_SEARCH_PATHS = (
248
+ "$(inherited)",
249
+ "$(PROJECT_DIR)",
250
+ "$(PROJECT_DIR)/RNBackgroundFetch",
251
+ );
252
+ HEADER_SEARCH_PATHS = (
253
+ "$(SRCROOT)/../../react-native/React/**",
254
+ "$(SRCROOT)/../../../React",
255
+ "$(SRCROOT)/../node_modules/react-native/React",
256
+ );
257
+ IPHONEOS_DEPLOYMENT_TARGET = 8.0;
258
+ OTHER_LDFLAGS = "-ObjC";
259
+ PRODUCT_NAME = "$(TARGET_NAME)";
260
+ SKIP_INSTALL = YES;
261
+ USER_HEADER_SEARCH_PATHS = "$(SRCROOT)/RNBackgroundFetch/TSBackgroundFetch.framework/**";
262
+ };
263
+ name = Debug;
264
+ };
265
+ 8353185F1D52293F005738CD /* Release */ = {
266
+ isa = XCBuildConfiguration;
267
+ buildSettings = {
268
+ FRAMEWORK_SEARCH_PATHS = (
269
+ "$(inherited)",
270
+ "$(PROJECT_DIR)",
271
+ "$(PROJECT_DIR)/RNBackgroundFetch",
272
+ );
273
+ HEADER_SEARCH_PATHS = (
274
+ "$(SRCROOT)/../../react-native/React/**",
275
+ "$(SRCROOT)/../../../React",
276
+ "$(SRCROOT)/../node_modules/react-native/React",
277
+ );
278
+ IPHONEOS_DEPLOYMENT_TARGET = 8.0;
279
+ OTHER_LDFLAGS = "-ObjC";
280
+ PRODUCT_NAME = "$(TARGET_NAME)";
281
+ SKIP_INSTALL = YES;
282
+ USER_HEADER_SEARCH_PATHS = "$(SRCROOT)/RNBackgroundFetch/TSBackgroundFetch.framework/**";
283
+ };
284
+ name = Release;
285
+ };
286
+ /* End XCBuildConfiguration section */
287
+
288
+ /* Begin XCConfigurationList section */
289
+ 8353184F1D52293F005738CD /* Build configuration list for PBXProject "RNBackgroundFetch" */ = {
290
+ isa = XCConfigurationList;
291
+ buildConfigurations = (
292
+ 8353185B1D52293F005738CD /* Debug */,
293
+ 8353185C1D52293F005738CD /* Release */,
294
+ );
295
+ defaultConfigurationIsVisible = 0;
296
+ defaultConfigurationName = Release;
297
+ };
298
+ 8353185D1D52293F005738CD /* Build configuration list for PBXNativeTarget "RNBackgroundFetch" */ = {
299
+ isa = XCConfigurationList;
300
+ buildConfigurations = (
301
+ 8353185E1D52293F005738CD /* Debug */,
302
+ 8353185F1D52293F005738CD /* Release */,
303
+ );
304
+ defaultConfigurationIsVisible = 0;
305
+ defaultConfigurationName = Release;
306
+ };
307
+ /* End XCConfigurationList section */
308
+ };
309
+ rootObject = 8353184C1D52293F005738CD /* Project object */;
310
+ }
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Workspace
3
+ version = "1.0">
4
+ <FileRef
5
+ location = "self:RNBackgroundFetch.xcodeproj">
6
+ </FileRef>
7
+ </Workspace>
@@ -0,0 +1,8 @@
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>IDEDidComputeMac32BitWarning</key>
6
+ <true/>
7
+ </dict>
8
+ </plist>
package/package.json ADDED
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "@ammarahmed/react-native-background-fetch",
3
+ "version": "4.2.1",
4
+ "description": "iOS & Android BackgroundFetch API implementation for React Native",
5
+ "scripts": {
6
+ "build": "yarn run build:expo",
7
+ "test": "echo \"Error: no test specified\" && exit 1",
8
+ "build:expo": "rimraf expo/plugin/build && tsc --build ./expo/plugin"
9
+ },
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "git+ssh://git@github.com/transistorsoft/react-native-background-fetch.git"
13
+ },
14
+ "keywords": [
15
+ "react-native",
16
+ "react-component",
17
+ "ios",
18
+ "background",
19
+ "fetch"
20
+ ],
21
+ "author": "Chris Scott, Transistor Software <chris@transistorsoft.com>",
22
+ "license": "MIT",
23
+ "bugs": {
24
+ "url": "https://github.com/transistorsoft/react-native-background-fetch/issues"
25
+ },
26
+ "homepage": "https://transistorsoft.github.io/react-native-background-fetch",
27
+ "devDependencies": {
28
+ "rimraf": "^3.0.2",
29
+ "@expo/config-plugins": "^4.1.0",
30
+ "typescript": "^4.6.2"
31
+ }
32
+ }