@woshapp/react-native-background-upload 6.16.0

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 (106) hide show
  1. package/.gitattributes +1 -0
  2. package/LICENSE +21 -0
  3. package/README.md +53 -0
  4. package/android/build.gradle +82 -0
  5. package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  6. package/android/gradle/wrapper/gradle-wrapper.properties +6 -0
  7. package/android/gradle.properties +6 -0
  8. package/android/gradlew +185 -0
  9. package/android/gradlew.bat +89 -0
  10. package/android/src/main/AndroidManifest.xml +1 -0
  11. package/android/src/main/java/com/appfolio/extensions/ContextExtensions.kt +63 -0
  12. package/android/src/main/java/com/appfolio/extensions/UploadExtensions.kt +57 -0
  13. package/android/src/main/java/com/appfolio/uploader/GlobalRequestObserverDelegate.kt +62 -0
  14. package/android/src/main/java/com/appfolio/uploader/ModifiedBinaryUploadRequest.kt +29 -0
  15. package/android/src/main/java/com/appfolio/uploader/ModifiedHttpUploadRequest.kt +57 -0
  16. package/android/src/main/java/com/appfolio/uploader/ModifiedMultipartUploadRequest.kt +60 -0
  17. package/android/src/main/java/com/appfolio/uploader/UploaderModule.kt +384 -0
  18. package/android/src/main/java/com/appfolio/uploader/UploaderReactPackage.java +32 -0
  19. package/android/src/main/java/com/appfolio/work/TaskCompletionNotifier.kt +47 -0
  20. package/android/src/main/java/com/appfolio/work/UploadManager.kt +109 -0
  21. package/android/src/main/java/com/appfolio/work/UploadWorker.kt +20 -0
  22. package/bitbucket-pipelines.yml +14 -0
  23. package/example/RNBackgroundExample/.buckconfig +6 -0
  24. package/example/RNBackgroundExample/.eslintrc.js +4 -0
  25. package/example/RNBackgroundExample/.flowconfig +74 -0
  26. package/example/RNBackgroundExample/.gitattributes +1 -0
  27. package/example/RNBackgroundExample/.prettierrc.js +6 -0
  28. package/example/RNBackgroundExample/.watchmanconfig +1 -0
  29. package/example/RNBackgroundExample/App.js +325 -0
  30. package/example/RNBackgroundExample/README.md +50 -0
  31. package/example/RNBackgroundExample/__tests__/App-test.js +14 -0
  32. package/example/RNBackgroundExample/android/app/BUCK +55 -0
  33. package/example/RNBackgroundExample/android/app/build.gradle +225 -0
  34. package/example/RNBackgroundExample/android/app/build_defs.bzl +19 -0
  35. package/example/RNBackgroundExample/android/app/debug.keystore +0 -0
  36. package/example/RNBackgroundExample/android/app/proguard-rules.pro +10 -0
  37. package/example/RNBackgroundExample/android/app/src/androidTest/java/com/rnbackgroundexample/DetoxTest.java +24 -0
  38. package/example/RNBackgroundExample/android/app/src/debug/AndroidManifest.xml +8 -0
  39. package/example/RNBackgroundExample/android/app/src/debug/java/com/rnbackgroundexample/ReactNativeFlipper.java +72 -0
  40. package/example/RNBackgroundExample/android/app/src/main/AndroidManifest.xml +33 -0
  41. package/example/RNBackgroundExample/android/app/src/main/java/com/rnbackgroundexample/MainActivity.java +15 -0
  42. package/example/RNBackgroundExample/android/app/src/main/java/com/rnbackgroundexample/MainApplication.java +76 -0
  43. package/example/RNBackgroundExample/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
  44. package/example/RNBackgroundExample/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
  45. package/example/RNBackgroundExample/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
  46. package/example/RNBackgroundExample/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
  47. package/example/RNBackgroundExample/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
  48. package/example/RNBackgroundExample/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
  49. package/example/RNBackgroundExample/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
  50. package/example/RNBackgroundExample/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
  51. package/example/RNBackgroundExample/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
  52. package/example/RNBackgroundExample/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
  53. package/example/RNBackgroundExample/android/app/src/main/res/values/strings.xml +3 -0
  54. package/example/RNBackgroundExample/android/app/src/main/res/values/styles.xml +9 -0
  55. package/example/RNBackgroundExample/android/build.gradle +42 -0
  56. package/example/RNBackgroundExample/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  57. package/example/RNBackgroundExample/android/gradle/wrapper/gradle-wrapper.properties +5 -0
  58. package/example/RNBackgroundExample/android/gradle.properties +23 -0
  59. package/example/RNBackgroundExample/android/gradlew +183 -0
  60. package/example/RNBackgroundExample/android/gradlew.bat +103 -0
  61. package/example/RNBackgroundExample/android/settings.gradle +3 -0
  62. package/example/RNBackgroundExample/app.json +4 -0
  63. package/example/RNBackgroundExample/babel.config.js +3 -0
  64. package/example/RNBackgroundExample/e2e/config.json +8 -0
  65. package/example/RNBackgroundExample/e2e/detox.pathbuilder.android.js +4 -0
  66. package/example/RNBackgroundExample/e2e/detox.pathbuilder.ios.js +4 -0
  67. package/example/RNBackgroundExample/e2e/detox.pathbuilder.js +21 -0
  68. package/example/RNBackgroundExample/e2e/environment.js +23 -0
  69. package/example/RNBackgroundExample/e2e/firstTest.spec.js +56 -0
  70. package/example/RNBackgroundExample/e2e/server.js +69 -0
  71. package/example/RNBackgroundExample/e2e/start-server.js +2 -0
  72. package/example/RNBackgroundExample/index.js +9 -0
  73. package/example/RNBackgroundExample/ios/App.swift +9 -0
  74. package/example/RNBackgroundExample/ios/Podfile +24 -0
  75. package/example/RNBackgroundExample/ios/Podfile.lock +387 -0
  76. package/example/RNBackgroundExample/ios/RNBackgroundExample/AppDelegate.h +15 -0
  77. package/example/RNBackgroundExample/ios/RNBackgroundExample/AppDelegate.m +42 -0
  78. package/example/RNBackgroundExample/ios/RNBackgroundExample/Images.xcassets/AppIcon.appiconset/Contents.json +38 -0
  79. package/example/RNBackgroundExample/ios/RNBackgroundExample/Images.xcassets/Contents.json +6 -0
  80. package/example/RNBackgroundExample/ios/RNBackgroundExample/Info.plist +65 -0
  81. package/example/RNBackgroundExample/ios/RNBackgroundExample/LaunchScreen.storyboard +58 -0
  82. package/example/RNBackgroundExample/ios/RNBackgroundExample/main.m +16 -0
  83. package/example/RNBackgroundExample/ios/RNBackgroundExample-Bridging-Header.h +4 -0
  84. package/example/RNBackgroundExample/ios/RNBackgroundExample-tvOS/Info.plist +53 -0
  85. package/example/RNBackgroundExample/ios/RNBackgroundExample-tvOSTests/Info.plist +24 -0
  86. package/example/RNBackgroundExample/ios/RNBackgroundExample.xcodeproj/project.pbxproj +991 -0
  87. package/example/RNBackgroundExample/ios/RNBackgroundExample.xcodeproj/xcshareddata/xcschemes/RNBackgroundExample-tvOS.xcscheme +88 -0
  88. package/example/RNBackgroundExample/ios/RNBackgroundExample.xcodeproj/xcshareddata/xcschemes/RNBackgroundExample.xcscheme +88 -0
  89. package/example/RNBackgroundExample/ios/RNBackgroundExample.xcworkspace/contents.xcworkspacedata +10 -0
  90. package/example/RNBackgroundExample/ios/RNBackgroundExample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  91. package/example/RNBackgroundExample/ios/RNBackgroundExampleTests/Info.plist +24 -0
  92. package/example/RNBackgroundExample/ios/RNBackgroundExampleTests/RNBackgroundExampleTests.m +72 -0
  93. package/example/RNBackgroundExample/metro.config.js +22 -0
  94. package/example/RNBackgroundExample/package.json +71 -0
  95. package/example/RNBackgroundExample/scripts/deploy-android.sh +14 -0
  96. package/example/RNBackgroundExample/scripts/deploy-ios.sh +11 -0
  97. package/example/RNBackgroundExample/scripts/postinstall.sh +13 -0
  98. package/example/RNBackgroundExample/wait-for-emulator.sh +39 -0
  99. package/example/RNBackgroundExample/yarn.lock +8165 -0
  100. package/index.d.ts +154 -0
  101. package/ios/VydiaRNFileUploader.h +10 -0
  102. package/ios/VydiaRNFileUploader.m +457 -0
  103. package/ios/VydiaRNFileUploader.xcodeproj/project.pbxproj +254 -0
  104. package/package.json +37 -0
  105. package/react-native-upload.podspec +23 -0
  106. package/src/index.js +151 -0
@@ -0,0 +1,387 @@
1
+ PODS:
2
+ - boost-for-react-native (1.63.0)
3
+ - DoubleConversion (1.1.6)
4
+ - FBLazyVector (0.63.2)
5
+ - FBReactNativeSpec (0.63.2):
6
+ - Folly (= 2020.01.13.00)
7
+ - RCTRequired (= 0.63.2)
8
+ - RCTTypeSafety (= 0.63.2)
9
+ - React-Core (= 0.63.2)
10
+ - React-jsi (= 0.63.2)
11
+ - ReactCommon/turbomodule/core (= 0.63.2)
12
+ - Folly (2020.01.13.00):
13
+ - boost-for-react-native
14
+ - DoubleConversion
15
+ - Folly/Default (= 2020.01.13.00)
16
+ - glog
17
+ - Folly/Default (2020.01.13.00):
18
+ - boost-for-react-native
19
+ - DoubleConversion
20
+ - glog
21
+ - glog (0.3.5)
22
+ - RCTRequired (0.63.2)
23
+ - RCTTypeSafety (0.63.2):
24
+ - FBLazyVector (= 0.63.2)
25
+ - Folly (= 2020.01.13.00)
26
+ - RCTRequired (= 0.63.2)
27
+ - React-Core (= 0.63.2)
28
+ - React (0.63.2):
29
+ - React-Core (= 0.63.2)
30
+ - React-Core/DevSupport (= 0.63.2)
31
+ - React-Core/RCTWebSocket (= 0.63.2)
32
+ - React-RCTActionSheet (= 0.63.2)
33
+ - React-RCTAnimation (= 0.63.2)
34
+ - React-RCTBlob (= 0.63.2)
35
+ - React-RCTImage (= 0.63.2)
36
+ - React-RCTLinking (= 0.63.2)
37
+ - React-RCTNetwork (= 0.63.2)
38
+ - React-RCTSettings (= 0.63.2)
39
+ - React-RCTText (= 0.63.2)
40
+ - React-RCTVibration (= 0.63.2)
41
+ - React-callinvoker (0.63.2)
42
+ - React-Core (0.63.2):
43
+ - Folly (= 2020.01.13.00)
44
+ - glog
45
+ - React-Core/Default (= 0.63.2)
46
+ - React-cxxreact (= 0.63.2)
47
+ - React-jsi (= 0.63.2)
48
+ - React-jsiexecutor (= 0.63.2)
49
+ - Yoga
50
+ - React-Core/CoreModulesHeaders (0.63.2):
51
+ - Folly (= 2020.01.13.00)
52
+ - glog
53
+ - React-Core/Default
54
+ - React-cxxreact (= 0.63.2)
55
+ - React-jsi (= 0.63.2)
56
+ - React-jsiexecutor (= 0.63.2)
57
+ - Yoga
58
+ - React-Core/Default (0.63.2):
59
+ - Folly (= 2020.01.13.00)
60
+ - glog
61
+ - React-cxxreact (= 0.63.2)
62
+ - React-jsi (= 0.63.2)
63
+ - React-jsiexecutor (= 0.63.2)
64
+ - Yoga
65
+ - React-Core/DevSupport (0.63.2):
66
+ - Folly (= 2020.01.13.00)
67
+ - glog
68
+ - React-Core/Default (= 0.63.2)
69
+ - React-Core/RCTWebSocket (= 0.63.2)
70
+ - React-cxxreact (= 0.63.2)
71
+ - React-jsi (= 0.63.2)
72
+ - React-jsiexecutor (= 0.63.2)
73
+ - React-jsinspector (= 0.63.2)
74
+ - Yoga
75
+ - React-Core/RCTActionSheetHeaders (0.63.2):
76
+ - Folly (= 2020.01.13.00)
77
+ - glog
78
+ - React-Core/Default
79
+ - React-cxxreact (= 0.63.2)
80
+ - React-jsi (= 0.63.2)
81
+ - React-jsiexecutor (= 0.63.2)
82
+ - Yoga
83
+ - React-Core/RCTAnimationHeaders (0.63.2):
84
+ - Folly (= 2020.01.13.00)
85
+ - glog
86
+ - React-Core/Default
87
+ - React-cxxreact (= 0.63.2)
88
+ - React-jsi (= 0.63.2)
89
+ - React-jsiexecutor (= 0.63.2)
90
+ - Yoga
91
+ - React-Core/RCTBlobHeaders (0.63.2):
92
+ - Folly (= 2020.01.13.00)
93
+ - glog
94
+ - React-Core/Default
95
+ - React-cxxreact (= 0.63.2)
96
+ - React-jsi (= 0.63.2)
97
+ - React-jsiexecutor (= 0.63.2)
98
+ - Yoga
99
+ - React-Core/RCTImageHeaders (0.63.2):
100
+ - Folly (= 2020.01.13.00)
101
+ - glog
102
+ - React-Core/Default
103
+ - React-cxxreact (= 0.63.2)
104
+ - React-jsi (= 0.63.2)
105
+ - React-jsiexecutor (= 0.63.2)
106
+ - Yoga
107
+ - React-Core/RCTLinkingHeaders (0.63.2):
108
+ - Folly (= 2020.01.13.00)
109
+ - glog
110
+ - React-Core/Default
111
+ - React-cxxreact (= 0.63.2)
112
+ - React-jsi (= 0.63.2)
113
+ - React-jsiexecutor (= 0.63.2)
114
+ - Yoga
115
+ - React-Core/RCTNetworkHeaders (0.63.2):
116
+ - Folly (= 2020.01.13.00)
117
+ - glog
118
+ - React-Core/Default
119
+ - React-cxxreact (= 0.63.2)
120
+ - React-jsi (= 0.63.2)
121
+ - React-jsiexecutor (= 0.63.2)
122
+ - Yoga
123
+ - React-Core/RCTSettingsHeaders (0.63.2):
124
+ - Folly (= 2020.01.13.00)
125
+ - glog
126
+ - React-Core/Default
127
+ - React-cxxreact (= 0.63.2)
128
+ - React-jsi (= 0.63.2)
129
+ - React-jsiexecutor (= 0.63.2)
130
+ - Yoga
131
+ - React-Core/RCTTextHeaders (0.63.2):
132
+ - Folly (= 2020.01.13.00)
133
+ - glog
134
+ - React-Core/Default
135
+ - React-cxxreact (= 0.63.2)
136
+ - React-jsi (= 0.63.2)
137
+ - React-jsiexecutor (= 0.63.2)
138
+ - Yoga
139
+ - React-Core/RCTVibrationHeaders (0.63.2):
140
+ - Folly (= 2020.01.13.00)
141
+ - glog
142
+ - React-Core/Default
143
+ - React-cxxreact (= 0.63.2)
144
+ - React-jsi (= 0.63.2)
145
+ - React-jsiexecutor (= 0.63.2)
146
+ - Yoga
147
+ - React-Core/RCTWebSocket (0.63.2):
148
+ - Folly (= 2020.01.13.00)
149
+ - glog
150
+ - React-Core/Default (= 0.63.2)
151
+ - React-cxxreact (= 0.63.2)
152
+ - React-jsi (= 0.63.2)
153
+ - React-jsiexecutor (= 0.63.2)
154
+ - Yoga
155
+ - React-CoreModules (0.63.2):
156
+ - FBReactNativeSpec (= 0.63.2)
157
+ - Folly (= 2020.01.13.00)
158
+ - RCTTypeSafety (= 0.63.2)
159
+ - React-Core/CoreModulesHeaders (= 0.63.2)
160
+ - React-jsi (= 0.63.2)
161
+ - React-RCTImage (= 0.63.2)
162
+ - ReactCommon/turbomodule/core (= 0.63.2)
163
+ - React-cxxreact (0.63.2):
164
+ - boost-for-react-native (= 1.63.0)
165
+ - DoubleConversion
166
+ - Folly (= 2020.01.13.00)
167
+ - glog
168
+ - React-callinvoker (= 0.63.2)
169
+ - React-jsinspector (= 0.63.2)
170
+ - React-jsi (0.63.2):
171
+ - boost-for-react-native (= 1.63.0)
172
+ - DoubleConversion
173
+ - Folly (= 2020.01.13.00)
174
+ - glog
175
+ - React-jsi/Default (= 0.63.2)
176
+ - React-jsi/Default (0.63.2):
177
+ - boost-for-react-native (= 1.63.0)
178
+ - DoubleConversion
179
+ - Folly (= 2020.01.13.00)
180
+ - glog
181
+ - React-jsiexecutor (0.63.2):
182
+ - DoubleConversion
183
+ - Folly (= 2020.01.13.00)
184
+ - glog
185
+ - React-cxxreact (= 0.63.2)
186
+ - React-jsi (= 0.63.2)
187
+ - React-jsinspector (0.63.2)
188
+ - react-native-background-upload (6.2.0):
189
+ - React
190
+ - react-native-image-picker (1.1.0):
191
+ - React
192
+ - React-RCTActionSheet (0.63.2):
193
+ - React-Core/RCTActionSheetHeaders (= 0.63.2)
194
+ - React-RCTAnimation (0.63.2):
195
+ - FBReactNativeSpec (= 0.63.2)
196
+ - Folly (= 2020.01.13.00)
197
+ - RCTTypeSafety (= 0.63.2)
198
+ - React-Core/RCTAnimationHeaders (= 0.63.2)
199
+ - React-jsi (= 0.63.2)
200
+ - ReactCommon/turbomodule/core (= 0.63.2)
201
+ - React-RCTBlob (0.63.2):
202
+ - FBReactNativeSpec (= 0.63.2)
203
+ - Folly (= 2020.01.13.00)
204
+ - React-Core/RCTBlobHeaders (= 0.63.2)
205
+ - React-Core/RCTWebSocket (= 0.63.2)
206
+ - React-jsi (= 0.63.2)
207
+ - React-RCTNetwork (= 0.63.2)
208
+ - ReactCommon/turbomodule/core (= 0.63.2)
209
+ - React-RCTImage (0.63.2):
210
+ - FBReactNativeSpec (= 0.63.2)
211
+ - Folly (= 2020.01.13.00)
212
+ - RCTTypeSafety (= 0.63.2)
213
+ - React-Core/RCTImageHeaders (= 0.63.2)
214
+ - React-jsi (= 0.63.2)
215
+ - React-RCTNetwork (= 0.63.2)
216
+ - ReactCommon/turbomodule/core (= 0.63.2)
217
+ - React-RCTLinking (0.63.2):
218
+ - FBReactNativeSpec (= 0.63.2)
219
+ - React-Core/RCTLinkingHeaders (= 0.63.2)
220
+ - React-jsi (= 0.63.2)
221
+ - ReactCommon/turbomodule/core (= 0.63.2)
222
+ - React-RCTNetwork (0.63.2):
223
+ - FBReactNativeSpec (= 0.63.2)
224
+ - Folly (= 2020.01.13.00)
225
+ - RCTTypeSafety (= 0.63.2)
226
+ - React-Core/RCTNetworkHeaders (= 0.63.2)
227
+ - React-jsi (= 0.63.2)
228
+ - ReactCommon/turbomodule/core (= 0.63.2)
229
+ - React-RCTSettings (0.63.2):
230
+ - FBReactNativeSpec (= 0.63.2)
231
+ - Folly (= 2020.01.13.00)
232
+ - RCTTypeSafety (= 0.63.2)
233
+ - React-Core/RCTSettingsHeaders (= 0.63.2)
234
+ - React-jsi (= 0.63.2)
235
+ - ReactCommon/turbomodule/core (= 0.63.2)
236
+ - React-RCTText (0.63.2):
237
+ - React-Core/RCTTextHeaders (= 0.63.2)
238
+ - React-RCTVibration (0.63.2):
239
+ - FBReactNativeSpec (= 0.63.2)
240
+ - Folly (= 2020.01.13.00)
241
+ - React-Core/RCTVibrationHeaders (= 0.63.2)
242
+ - React-jsi (= 0.63.2)
243
+ - ReactCommon/turbomodule/core (= 0.63.2)
244
+ - ReactCommon/turbomodule/core (0.63.2):
245
+ - DoubleConversion
246
+ - Folly (= 2020.01.13.00)
247
+ - glog
248
+ - React-callinvoker (= 0.63.2)
249
+ - React-Core (= 0.63.2)
250
+ - React-cxxreact (= 0.63.2)
251
+ - React-jsi (= 0.63.2)
252
+ - RNFS (2.16.1):
253
+ - React
254
+ - Yoga (1.14.0)
255
+
256
+ DEPENDENCIES:
257
+ - DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
258
+ - FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`)
259
+ - FBReactNativeSpec (from `../node_modules/react-native/Libraries/FBReactNativeSpec`)
260
+ - Folly (from `../node_modules/react-native/third-party-podspecs/Folly.podspec`)
261
+ - glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`)
262
+ - RCTRequired (from `../node_modules/react-native/Libraries/RCTRequired`)
263
+ - RCTTypeSafety (from `../node_modules/react-native/Libraries/TypeSafety`)
264
+ - React (from `../node_modules/react-native/`)
265
+ - React-callinvoker (from `../node_modules/react-native/ReactCommon/callinvoker`)
266
+ - React-Core (from `../node_modules/react-native/`)
267
+ - React-Core/DevSupport (from `../node_modules/react-native/`)
268
+ - React-Core/RCTWebSocket (from `../node_modules/react-native/`)
269
+ - React-CoreModules (from `../node_modules/react-native/React/CoreModules`)
270
+ - React-cxxreact (from `../node_modules/react-native/ReactCommon/cxxreact`)
271
+ - React-jsi (from `../node_modules/react-native/ReactCommon/jsi`)
272
+ - React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`)
273
+ - React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`)
274
+ - react-native-background-upload (from `../node_modules/react-native-background-upload`)
275
+ - react-native-image-picker (from `../node_modules/react-native-image-picker`)
276
+ - React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`)
277
+ - React-RCTAnimation (from `../node_modules/react-native/Libraries/NativeAnimation`)
278
+ - React-RCTBlob (from `../node_modules/react-native/Libraries/Blob`)
279
+ - React-RCTImage (from `../node_modules/react-native/Libraries/Image`)
280
+ - React-RCTLinking (from `../node_modules/react-native/Libraries/LinkingIOS`)
281
+ - React-RCTNetwork (from `../node_modules/react-native/Libraries/Network`)
282
+ - React-RCTSettings (from `../node_modules/react-native/Libraries/Settings`)
283
+ - React-RCTText (from `../node_modules/react-native/Libraries/Text`)
284
+ - React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`)
285
+ - ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)
286
+ - RNFS (from `../node_modules/react-native-fs`)
287
+ - Yoga (from `../node_modules/react-native/ReactCommon/yoga`)
288
+
289
+ SPEC REPOS:
290
+ trunk:
291
+ - boost-for-react-native
292
+
293
+ EXTERNAL SOURCES:
294
+ DoubleConversion:
295
+ :podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec"
296
+ FBLazyVector:
297
+ :path: "../node_modules/react-native/Libraries/FBLazyVector"
298
+ FBReactNativeSpec:
299
+ :path: "../node_modules/react-native/Libraries/FBReactNativeSpec"
300
+ Folly:
301
+ :podspec: "../node_modules/react-native/third-party-podspecs/Folly.podspec"
302
+ glog:
303
+ :podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec"
304
+ RCTRequired:
305
+ :path: "../node_modules/react-native/Libraries/RCTRequired"
306
+ RCTTypeSafety:
307
+ :path: "../node_modules/react-native/Libraries/TypeSafety"
308
+ React:
309
+ :path: "../node_modules/react-native/"
310
+ React-callinvoker:
311
+ :path: "../node_modules/react-native/ReactCommon/callinvoker"
312
+ React-Core:
313
+ :path: "../node_modules/react-native/"
314
+ React-CoreModules:
315
+ :path: "../node_modules/react-native/React/CoreModules"
316
+ React-cxxreact:
317
+ :path: "../node_modules/react-native/ReactCommon/cxxreact"
318
+ React-jsi:
319
+ :path: "../node_modules/react-native/ReactCommon/jsi"
320
+ React-jsiexecutor:
321
+ :path: "../node_modules/react-native/ReactCommon/jsiexecutor"
322
+ React-jsinspector:
323
+ :path: "../node_modules/react-native/ReactCommon/jsinspector"
324
+ react-native-background-upload:
325
+ :path: "../node_modules/react-native-background-upload"
326
+ react-native-image-picker:
327
+ :path: "../node_modules/react-native-image-picker"
328
+ React-RCTActionSheet:
329
+ :path: "../node_modules/react-native/Libraries/ActionSheetIOS"
330
+ React-RCTAnimation:
331
+ :path: "../node_modules/react-native/Libraries/NativeAnimation"
332
+ React-RCTBlob:
333
+ :path: "../node_modules/react-native/Libraries/Blob"
334
+ React-RCTImage:
335
+ :path: "../node_modules/react-native/Libraries/Image"
336
+ React-RCTLinking:
337
+ :path: "../node_modules/react-native/Libraries/LinkingIOS"
338
+ React-RCTNetwork:
339
+ :path: "../node_modules/react-native/Libraries/Network"
340
+ React-RCTSettings:
341
+ :path: "../node_modules/react-native/Libraries/Settings"
342
+ React-RCTText:
343
+ :path: "../node_modules/react-native/Libraries/Text"
344
+ React-RCTVibration:
345
+ :path: "../node_modules/react-native/Libraries/Vibration"
346
+ ReactCommon:
347
+ :path: "../node_modules/react-native/ReactCommon"
348
+ RNFS:
349
+ :path: "../node_modules/react-native-fs"
350
+ Yoga:
351
+ :path: "../node_modules/react-native/ReactCommon/yoga"
352
+
353
+ SPEC CHECKSUMS:
354
+ boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c
355
+ DoubleConversion: cde416483dac037923206447da6e1454df403714
356
+ FBLazyVector: 3ef4a7f62e7db01092f9d517d2ebc0d0677c4a37
357
+ FBReactNativeSpec: dc7fa9088f0f2a998503a352b0554d69a4391c5a
358
+ Folly: b73c3869541e86821df3c387eb0af5f65addfab4
359
+ glog: 40a13f7840415b9a77023fbcae0f1e6f43192af3
360
+ RCTRequired: f13f25e7b12f925f1f6a6a8c69d929a03c0129fe
361
+ RCTTypeSafety: 44982c5c8e43ff4141eb519a8ddc88059acd1f3a
362
+ React: e1c65dd41cb9db13b99f24608e47dd595f28ca9a
363
+ React-callinvoker: 552a6a6bc8b3bb794cf108ad59e5a9e2e3b4fc98
364
+ React-Core: 9d341e725dc9cd2f49e4c49ad1fc4e8776aa2639
365
+ React-CoreModules: 5335e168165da7f7083ce7147768d36d3e292318
366
+ React-cxxreact: d3261ec5f7d11743fbf21e263a34ea51d1f13ebc
367
+ React-jsi: 54245e1d5f4b690dec614a73a3795964eeef13a8
368
+ React-jsiexecutor: 8ca588cc921e70590820ce72b8789b02c67cce38
369
+ React-jsinspector: b14e62ebe7a66e9231e9581279909f2fc3db6606
370
+ react-native-background-upload: 2c64e040ba7be05c2a39cfe82fc308b404b33318
371
+ react-native-image-picker: 7a85cf7b0a53845f03ae52fb4592a2748ded069b
372
+ React-RCTActionSheet: 910163b6b09685a35c4ebbc52b66d1bfbbe39fc5
373
+ React-RCTAnimation: 9a883bbe1e9d2e158d4fb53765ed64c8dc2200c6
374
+ React-RCTBlob: 39cf0ece1927996c4466510e25d2105f67010e13
375
+ React-RCTImage: de355d738727b09ad3692f2a979affbd54b5f378
376
+ React-RCTLinking: 8122f221d395a63364b2c0078ce284214bd04575
377
+ React-RCTNetwork: 8f96c7b49ea6a0f28f98258f347b6ad218bc0830
378
+ React-RCTSettings: 8a49622aff9c1925f5455fa340b6fe4853d64ab6
379
+ React-RCTText: 1b6773e776e4b33f90468c20fe3b16ca3e224bb8
380
+ React-RCTVibration: 4d2e726957f4087449739b595f107c0d4b6c2d2d
381
+ ReactCommon: a0a1edbebcac5e91338371b72ffc66aa822792ce
382
+ RNFS: 795866388a01de4e470f3b1041a99cf20a343844
383
+ Yoga: 7740b94929bbacbddda59bf115b5317e9a161598
384
+
385
+ PODFILE CHECKSUM: 98cf361193bf0795e3fb8428001334eaafe624d2
386
+
387
+ COCOAPODS: 1.10.1
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Copyright (c) Facebook, Inc. and its affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ #import <React/RCTBridgeDelegate.h>
9
+ #import <UIKit/UIKit.h>
10
+
11
+ @interface AppDelegate : UIResponder <UIApplicationDelegate, RCTBridgeDelegate>
12
+
13
+ @property (nonatomic, strong) UIWindow *window;
14
+
15
+ @end
@@ -0,0 +1,42 @@
1
+ /**
2
+ * Copyright (c) Facebook, Inc. and its affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ #import "AppDelegate.h"
9
+
10
+ #import <React/RCTBridge.h>
11
+ #import <React/RCTBundleURLProvider.h>
12
+ #import <React/RCTRootView.h>
13
+
14
+ @implementation AppDelegate
15
+
16
+ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
17
+ {
18
+ RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];
19
+ RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge
20
+ moduleName:@"RNBackgroundExample"
21
+ initialProperties:nil];
22
+
23
+ rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];
24
+
25
+ self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
26
+ UIViewController *rootViewController = [UIViewController new];
27
+ rootViewController.view = rootView;
28
+ self.window.rootViewController = rootViewController;
29
+ [self.window makeKeyAndVisible];
30
+ return YES;
31
+ }
32
+
33
+ - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
34
+ {
35
+ #if DEBUG
36
+ return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil];
37
+ #else
38
+ return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
39
+ #endif
40
+ }
41
+
42
+ @end
@@ -0,0 +1,38 @@
1
+ {
2
+ "images" : [
3
+ {
4
+ "idiom" : "iphone",
5
+ "size" : "29x29",
6
+ "scale" : "2x"
7
+ },
8
+ {
9
+ "idiom" : "iphone",
10
+ "size" : "29x29",
11
+ "scale" : "3x"
12
+ },
13
+ {
14
+ "idiom" : "iphone",
15
+ "size" : "40x40",
16
+ "scale" : "2x"
17
+ },
18
+ {
19
+ "idiom" : "iphone",
20
+ "size" : "40x40",
21
+ "scale" : "3x"
22
+ },
23
+ {
24
+ "idiom" : "iphone",
25
+ "size" : "60x60",
26
+ "scale" : "2x"
27
+ },
28
+ {
29
+ "idiom" : "iphone",
30
+ "size" : "60x60",
31
+ "scale" : "3x"
32
+ }
33
+ ],
34
+ "info" : {
35
+ "version" : 1,
36
+ "author" : "xcode"
37
+ }
38
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "info" : {
3
+ "version" : 1,
4
+ "author" : "xcode"
5
+ }
6
+ }
@@ -0,0 +1,65 @@
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>CFBundleDevelopmentRegion</key>
6
+ <string>en</string>
7
+ <key>CFBundleDisplayName</key>
8
+ <string>RNBackgroundExample</string>
9
+ <key>CFBundleExecutable</key>
10
+ <string>$(EXECUTABLE_NAME)</string>
11
+ <key>CFBundleIdentifier</key>
12
+ <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
13
+ <key>CFBundleInfoDictionaryVersion</key>
14
+ <string>6.0</string>
15
+ <key>CFBundleName</key>
16
+ <string>$(PRODUCT_NAME)</string>
17
+ <key>CFBundlePackageType</key>
18
+ <string>APPL</string>
19
+ <key>CFBundleShortVersionString</key>
20
+ <string>1.0</string>
21
+ <key>CFBundleSignature</key>
22
+ <string>????</string>
23
+ <key>CFBundleVersion</key>
24
+ <string>1</string>
25
+ <key>LSRequiresIPhoneOS</key>
26
+ <true/>
27
+ <key>NSAppTransportSecurity</key>
28
+ <dict>
29
+ <key>NSAllowsArbitraryLoads</key>
30
+ <true/>
31
+ <key>NSExceptionDomains</key>
32
+ <dict>
33
+ <key>localhost</key>
34
+ <dict>
35
+ <key>NSExceptionAllowsInsecureHTTPLoads</key>
36
+ <true/>
37
+ </dict>
38
+ </dict>
39
+ </dict>
40
+ <key>NSCameraUsageDescription</key>
41
+ <string>This will allow you to upload videos from your camera to the ReactNativeBackgroundUploadExample app.</string>
42
+ <key>NSLocationWhenInUseUsageDescription</key>
43
+ <string></string>
44
+ <key>NSMicrophoneUsageDescription</key>
45
+ <string>This will allow you to upload videos with audio from your camera to the ReactNativeBackgroundUploadExample app.</string>
46
+ <key>NSPhotoLibraryUsageDescription</key>
47
+ <string>This will allow you to upload videos from your library to the ReactNativeBackgroundUploadExample app.</string>
48
+ <key>UILaunchStoryboardName</key>
49
+ <string>LaunchScreen</string>
50
+ <key>UIMainStoryboardFile</key>
51
+ <string>LaunchScreen</string>
52
+ <key>UIRequiredDeviceCapabilities</key>
53
+ <array>
54
+ <string>armv7</string>
55
+ </array>
56
+ <key>UISupportedInterfaceOrientations</key>
57
+ <array>
58
+ <string>UIInterfaceOrientationPortrait</string>
59
+ <string>UIInterfaceOrientationLandscapeLeft</string>
60
+ <string>UIInterfaceOrientationLandscapeRight</string>
61
+ </array>
62
+ <key>UIViewControllerBasedStatusBarAppearance</key>
63
+ <false/>
64
+ </dict>
65
+ </plist>
@@ -0,0 +1,58 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="15702" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
3
+ <device id="retina4_7" orientation="portrait" appearance="light"/>
4
+ <dependencies>
5
+ <deployment identifier="iOS"/>
6
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15704"/>
7
+ <capability name="Safe area layout guides" minToolsVersion="9.0"/>
8
+ <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
9
+ </dependencies>
10
+ <scenes>
11
+ <!--View Controller-->
12
+ <scene sceneID="EHf-IW-A2E">
13
+ <objects>
14
+ <viewController id="01J-lp-oVM" sceneMemberID="viewController">
15
+ <view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
16
+ <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
17
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
18
+ <subviews>
19
+ <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="obG-Y5-kRd">
20
+ <rect key="frame" x="0.0" y="647" width="375" height="0.0"/>
21
+ <fontDescription key="fontDescription" type="system" pointSize="17"/>
22
+ <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
23
+ <nil key="highlightedColor"/>
24
+ </label>
25
+ <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="RnDiffApp" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="GJd-Yh-RWb">
26
+ <rect key="frame" x="0.0" y="202" width="375" height="43"/>
27
+ <fontDescription key="fontDescription" type="boldSystem" pointSize="36"/>
28
+ <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
29
+ <nil key="highlightedColor"/>
30
+ </label>
31
+ <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Powered by React Native" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="MN2-I3-ftu">
32
+ <rect key="frame" x="0.0" y="626" width="375" height="21"/>
33
+ <fontDescription key="fontDescription" type="system" pointSize="17"/>
34
+ <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
35
+ <nil key="highlightedColor"/>
36
+ </label>
37
+ </subviews>
38
+ <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
39
+ <constraints>
40
+ <constraint firstItem="Bcu-3y-fUS" firstAttribute="centerX" secondItem="obG-Y5-kRd" secondAttribute="centerX" id="5cz-MP-9tL"/>
41
+ <constraint firstItem="Bcu-3y-fUS" firstAttribute="bottom" secondItem="MN2-I3-ftu" secondAttribute="bottom" constant="20" id="OZV-Vh-mqD"/>
42
+ <constraint firstItem="Bcu-3y-fUS" firstAttribute="centerX" secondItem="GJd-Yh-RWb" secondAttribute="centerX" id="Q3B-4B-g5h"/>
43
+ <constraint firstItem="obG-Y5-kRd" firstAttribute="leading" secondItem="Bcu-3y-fUS" secondAttribute="leading" symbolic="YES" id="SfN-ll-jLj"/>
44
+ <constraint firstAttribute="bottom" secondItem="obG-Y5-kRd" secondAttribute="bottom" constant="20" id="Y44-ml-fuU"/>
45
+ <constraint firstItem="MN2-I3-ftu" firstAttribute="centerX" secondItem="Bcu-3y-fUS" secondAttribute="centerX" id="akx-eg-2ui"/>
46
+ <constraint firstItem="MN2-I3-ftu" firstAttribute="leading" secondItem="Bcu-3y-fUS" secondAttribute="leading" id="i1E-0Y-4RG"/>
47
+ <constraint firstItem="GJd-Yh-RWb" firstAttribute="centerY" secondItem="Ze5-6b-2t3" secondAttribute="bottom" multiplier="1/3" constant="1" id="moa-c2-u7t"/>
48
+ <constraint firstItem="GJd-Yh-RWb" firstAttribute="leading" secondItem="Bcu-3y-fUS" secondAttribute="leading" symbolic="YES" id="x7j-FC-K8j"/>
49
+ </constraints>
50
+ <viewLayoutGuide key="safeArea" id="Bcu-3y-fUS"/>
51
+ </view>
52
+ </viewController>
53
+ <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
54
+ </objects>
55
+ <point key="canvasLocation" x="52.173913043478265" y="375"/>
56
+ </scene>
57
+ </scenes>
58
+ </document>
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright (c) Facebook, Inc. and its affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ #import <UIKit/UIKit.h>
9
+
10
+ #import "AppDelegate.h"
11
+
12
+ int main(int argc, char * argv[]) {
13
+ @autoreleasepool {
14
+ return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
15
+ }
16
+ }
@@ -0,0 +1,4 @@
1
+ //
2
+ // Use this file to import your target's public headers that you would like to expose to Swift.
3
+ //
4
+