@ohos-ports/capacitor-community-http 0.0.0-stage → 1.4.1-beta.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.
- package/CapacitorCommunityHttp.podspec +17 -0
- package/LICENSE +21 -0
- package/README.md +216 -2
- package/android/.gradle/5.6.4/fileChanges/last-build.bin +0 -0
- package/android/.gradle/5.6.4/fileHashes/fileHashes.bin +0 -0
- package/android/.gradle/5.6.4/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/5.6.4/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/android/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/android/.idea/caches/build_file_checksums.ser +0 -0
- package/android/.idea/compiler.xml +6 -0
- package/android/.idea/gradle.xml +22 -0
- package/android/.idea/jarRepositories.xml +30 -0
- package/android/.idea/libraries/Gradle__androidx_activity_activity_1_2_0_aar.xml +16 -0
- package/android/.idea/libraries/Gradle__androidx_annotation_annotation_1_1_0.xml +13 -0
- package/android/.idea/libraries/Gradle__androidx_annotation_annotation_experimental_1_0_0_aar.xml +13 -0
- package/android/.idea/libraries/Gradle__androidx_appcompat_appcompat_1_2_0_aar.xml +16 -0
- package/android/.idea/libraries/Gradle__androidx_appcompat_appcompat_resources_1_2_0_aar.xml +13 -0
- package/android/.idea/libraries/Gradle__androidx_arch_core_core_common_2_1_0.xml +11 -0
- package/android/.idea/libraries/Gradle__androidx_arch_core_core_runtime_2_1_0_aar.xml +13 -0
- package/android/.idea/libraries/Gradle__androidx_collection_collection_1_1_0.xml +11 -0
- package/android/.idea/libraries/Gradle__androidx_coordinatorlayout_coordinatorlayout_1_1_0_aar.xml +16 -0
- package/android/.idea/libraries/Gradle__androidx_core_core_1_3_2_aar.xml +16 -0
- package/android/.idea/libraries/Gradle__androidx_cursoradapter_cursoradapter_1_0_0_aar.xml +13 -0
- package/android/.idea/libraries/Gradle__androidx_customview_customview_1_0_0_aar.xml +13 -0
- package/android/.idea/libraries/Gradle__androidx_drawerlayout_drawerlayout_1_0_0_aar.xml +16 -0
- package/android/.idea/libraries/Gradle__androidx_fragment_fragment_1_3_0_aar.xml +16 -0
- package/android/.idea/libraries/Gradle__androidx_interpolator_interpolator_1_0_0_aar.xml +13 -0
- package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_common_2_3_0.xml +11 -0
- package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_livedata_2_0_0_aar.xml +13 -0
- package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_livedata_core_2_3_0_aar.xml +13 -0
- package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_runtime_2_3_0_aar.xml +13 -0
- package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_viewmodel_2_3_0_aar.xml +13 -0
- package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_viewmodel_savedstate_2_3_0_aar.xml +13 -0
- package/android/.idea/libraries/Gradle__androidx_loader_loader_1_0_0_aar.xml +13 -0
- package/android/.idea/libraries/Gradle__androidx_savedstate_savedstate_1_1_0_aar.xml +13 -0
- package/android/.idea/libraries/Gradle__androidx_test_core_1_2_0_aar.xml +15 -0
- package/android/.idea/libraries/Gradle__androidx_test_espresso_espresso_core_3_2_0_aar.xml +15 -0
- package/android/.idea/libraries/Gradle__androidx_test_espresso_espresso_idling_resource_3_2_0_aar.xml +15 -0
- package/android/.idea/libraries/Gradle__androidx_test_ext_junit_1_1_1_aar.xml +15 -0
- package/android/.idea/libraries/Gradle__androidx_test_monitor_1_2_0_aar.xml +15 -0
- package/android/.idea/libraries/Gradle__androidx_test_runner_1_2_0_aar.xml +15 -0
- package/android/.idea/libraries/Gradle__androidx_vectordrawable_vectordrawable_1_1_0_aar.xml +13 -0
- package/android/.idea/libraries/Gradle__androidx_vectordrawable_vectordrawable_animated_1_1_0_aar.xml +13 -0
- package/android/.idea/libraries/Gradle__androidx_versionedparcelable_versionedparcelable_1_1_0_aar.xml +13 -0
- package/android/.idea/libraries/Gradle__androidx_viewpager_viewpager_1_0_0_aar.xml +13 -0
- package/android/.idea/libraries/Gradle__com_google_code_findbugs_jsr305_2_0_1.xml +9 -0
- package/android/.idea/libraries/Gradle__com_squareup_javawriter_2_1_1.xml +13 -0
- package/android/.idea/libraries/Gradle__javax_inject_javax_inject_1.xml +13 -0
- package/android/.idea/libraries/Gradle__junit_junit_4_12.xml +13 -0
- package/android/.idea/libraries/Gradle__net_bytebuddy_byte_buddy_1_10_18.xml +13 -0
- package/android/.idea/libraries/Gradle__net_bytebuddy_byte_buddy_agent_1_10_18.xml +13 -0
- package/android/.idea/libraries/Gradle__net_sf_kxml_kxml2_2_3_0.xml +13 -0
- package/android/.idea/libraries/Gradle__org_apache_cordova_framework_7_0_0_aar.xml +13 -0
- package/android/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml +13 -0
- package/android/.idea/libraries/Gradle__org_hamcrest_hamcrest_integration_1_3.xml +13 -0
- package/android/.idea/libraries/Gradle__org_hamcrest_hamcrest_library_1_3.xml +13 -0
- package/android/.idea/libraries/Gradle__org_json_json_20140107.xml +13 -0
- package/android/.idea/libraries/Gradle__org_mockito_mockito_core_3_6_28.xml +13 -0
- package/android/.idea/libraries/Gradle__org_mockito_mockito_inline_3_6_28.xml +13 -0
- package/android/.idea/libraries/Gradle__org_objenesis_objenesis_3_1.xml +13 -0
- package/android/.idea/misc.xml +9 -0
- package/android/.idea/runConfigurations.xml +10 -0
- package/android/.idea/vcs.xml +6 -0
- package/android/.idea/workspace.xml +69 -0
- package/android/android.iml +109 -0
- package/android/build/.transforms/2e0af1aa1a5a2540d61c39cc479c1034/classes/classes.dex +0 -0
- package/android/build/.transforms/2e0af1aa1a5a2540d61c39cc479c1034.bin +1 -0
- package/android/build/.transforms/301b3c8b1d70a902f54eacf297a10ebc/classes/classes.dex +0 -0
- package/android/build/.transforms/301b3c8b1d70a902f54eacf297a10ebc.bin +1 -0
- package/android/build/.transforms/74da54e91305da175df27af420dda320/classes/classes.dex +0 -0
- package/android/build/.transforms/74da54e91305da175df27af420dda320.bin +1 -0
- package/android/build/.transforms/d184facc16c3268c51901cb12ebb17a1/classes/classes.dex +0 -0
- package/android/build/.transforms/d184facc16c3268c51901cb12ebb17a1.bin +1 -0
- package/android/build/.transforms/d3551c1ef63195c19f20ff7f3307a709/classes/classes.dex +0 -0
- package/android/build/.transforms/d3551c1ef63195c19f20ff7f3307a709.bin +1 -0
- package/android/build/generated/source/buildConfig/debug/com/getcapacitor/http/http/BuildConfig.java +18 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/AndroidManifest.xml +11 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/output.json +1 -0
- package/android/build/intermediates/annotation_processor_list/debug/annotationProcessors.json +1 -0
- package/android/build/intermediates/compile_library_classes/debug/classes.jar +0 -0
- package/android/build/intermediates/compile_only_not_namespaced_r_class_jar/debug/R.jar +0 -0
- package/android/build/intermediates/compile_symbol_list/debug/R.txt +1717 -0
- package/android/build/intermediates/compiled_local_resources/debug/out/layout_bridge_layout_main.xml.flat +0 -0
- package/android/build/intermediates/incremental/debug-mergeNativeLibs/merge-state +0 -0
- package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
- package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +2 -0
- package/android/build/intermediates/incremental/packageDebugResources/compile-file-map.properties +2 -0
- package/android/build/intermediates/incremental/packageDebugResources/merged.dir/values/values.xml +4 -0
- package/android/build/intermediates/incremental/packageDebugResources/merger.xml +2 -0
- package/android/build/intermediates/javac/debug/classes/com/getcapacitor/http/http/BuildConfig.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/getcapacitor/plugin/http/CapacitorCookieManager.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/getcapacitor/plugin/http/CapacitorHttpUrlConnection.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/getcapacitor/plugin/http/FilesystemUtils.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/getcapacitor/plugin/http/FormUploader.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/getcapacitor/plugin/http/Http$1.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/getcapacitor/plugin/http/Http.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/getcapacitor/plugin/http/HttpRequestHandler$1.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/getcapacitor/plugin/http/HttpRequestHandler$2.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/getcapacitor/plugin/http/HttpRequestHandler$HttpURLConnectionBuilder.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/getcapacitor/plugin/http/HttpRequestHandler$ResponseType.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/getcapacitor/plugin/http/HttpRequestHandler.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/getcapacitor/plugin/http/ICapacitorHttpUrlConnection.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/getcapacitor/plugin/http/JSValue.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/getcapacitor/plugin/http/MimeType.class +0 -0
- package/android/build/intermediates/library_java_res/debug/res.jar +0 -0
- package/android/build/intermediates/library_manifest/debug/AndroidManifest.xml +11 -0
- package/android/build/intermediates/local_only_symbol_list/debug/R-def.txt +5 -0
- package/android/build/intermediates/manifest_merge_blame_file/debug/manifest-merger-blame-debug-report.txt +13 -0
- package/android/build/intermediates/merged_manifests/debug/output.json +1 -0
- package/android/build/intermediates/navigation_json/debug/navigation.json +1 -0
- package/android/build/intermediates/packaged_res/debug/layout/bridge_layout_main.xml +15 -0
- package/android/build/intermediates/packaged_res/debug/values/values.xml +4 -0
- package/android/build/intermediates/runtime_library_classes/debug/classes.jar +0 -0
- package/android/build/intermediates/symbol_list_with_package_name/debug/package-aware-r.txt +1278 -0
- package/android/build/outputs/logs/manifest-merger-debug-report.txt +37 -0
- package/android/build.gradle +52 -0
- package/android/capacitor-community-http.iml +213 -0
- package/android/capacitor-http.iml +213 -0
- package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/android/gradle/wrapper/gradle-wrapper.properties +6 -0
- package/android/gradle.properties +21 -0
- package/android/gradlew +160 -0
- package/android/gradlew.bat +90 -0
- package/android/local.properties +8 -0
- package/android/proguard-rules.pro +21 -0
- package/android/settings.gradle +2 -0
- package/android/src/androidTest/java/com/getcapacitor/android/ExampleInstrumentedTest.java +26 -0
- package/android/src/main/AndroidManifest.xml +5 -0
- package/android/src/main/java/com/getcapacitor/plugin/http/CapacitorCookieManager.java +178 -0
- package/android/src/main/java/com/getcapacitor/plugin/http/CapacitorHttpUrlConnection.java +393 -0
- package/android/src/main/java/com/getcapacitor/plugin/http/FilesystemUtils.java +65 -0
- package/android/src/main/java/com/getcapacitor/plugin/http/FormUploader.java +169 -0
- package/android/src/main/java/com/getcapacitor/plugin/http/Http.java +285 -0
- package/android/src/main/java/com/getcapacitor/plugin/http/HttpRequestHandler.java +518 -0
- package/android/src/main/java/com/getcapacitor/plugin/http/ICapacitorHttpUrlConnection.java +15 -0
- package/android/src/main/java/com/getcapacitor/plugin/http/JSValue.java +68 -0
- package/android/src/main/java/com/getcapacitor/plugin/http/MimeType.java +17 -0
- package/android/src/main/res/layout/bridge_layout_main.xml +15 -0
- package/android/src/main/res/values/colors.xml +3 -0
- package/android/src/main/res/values/strings.xml +3 -0
- package/android/src/main/res/values/styles.xml +3 -0
- package/android/src/test/java/com/getcapacitor/ExampleUnitTest.java +18 -0
- package/android/src/test/java/com/getcapacitor/plugin/http/HttpRequestHandlerTest.java +96 -0
- package/dist/esm/cookie.d.ts +25 -0
- package/dist/esm/cookie.js +76 -0
- package/dist/esm/cookie.js.map +1 -0
- package/dist/esm/definitions.d.ts +164 -0
- package/dist/esm/definitions.js +2 -0
- package/dist/esm/definitions.js.map +1 -0
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.js +8 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/request.d.ts +37 -0
- package/dist/esm/request.js +173 -0
- package/dist/esm/request.js.map +1 -0
- package/dist/esm/utils.d.ts +15 -0
- package/dist/esm/utils.js +36 -0
- package/dist/esm/utils.js.map +1 -0
- package/dist/esm/web.d.ts +78 -0
- package/dist/esm/web.js +147 -0
- package/dist/esm/web.js.map +1 -0
- package/dist/plugin.cjs.js +443 -0
- package/dist/plugin.cjs.js.map +1 -0
- package/dist/plugin.js +446 -0
- package/dist/plugin.js.map +1 -0
- package/ios/Plugin/CapacitorCookieManager.swift +55 -0
- package/ios/Plugin/CapacitorUrlRequest.swift +152 -0
- package/ios/Plugin/FilesystemUtils.swift +122 -0
- package/ios/Plugin/HttpRequestHandler.swift +357 -0
- package/ios/Plugin/Info.plist +24 -0
- package/ios/Plugin/Plugin.h +9 -0
- package/ios/Plugin/Plugin.m +20 -0
- package/ios/Plugin/Plugin.swift +178 -0
- package/ios/Plugin.xcodeproj/project.pbxproj +570 -0
- package/ios/Plugin.xcodeproj/xcuserdata/max.xcuserdatad/xcschemes/xcschememanagement.plist +14 -0
- package/ios/Plugin.xcodeproj/xcuserdata/thomas.xcuserdatad/xcschemes/xcschememanagement.plist +14 -0
- package/ios/Plugin.xcworkspace/contents.xcworkspacedata +10 -0
- package/ios/Plugin.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/ios/Plugin.xcworkspace/xcuserdata/max.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/ios/Plugin.xcworkspace/xcuserdata/thomas.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/ios/PluginTests/Info.plist +22 -0
- package/ios/PluginTests/PluginTests.swift +35 -0
- package/ios/Podfile +16 -0
- package/ios/Podfile.lock +22 -0
- package/ios/Pods/Local Podspecs/Capacitor.podspec.json +34 -0
- package/ios/Pods/Local Podspecs/CapacitorCordova.podspec.json +26 -0
- package/ios/Pods/Manifest.lock +22 -0
- package/ios/Pods/Pods.xcodeproj/project.pbxproj +1314 -0
- package/ios/Pods/Pods.xcodeproj/xcuserdata/thomas.xcuserdatad/xcschemes/Capacitor.xcscheme +58 -0
- package/ios/Pods/Pods.xcodeproj/xcuserdata/thomas.xcuserdatad/xcschemes/CapacitorCordova.xcscheme +58 -0
- package/ios/Pods/Pods.xcodeproj/xcuserdata/thomas.xcuserdatad/xcschemes/Pods-Plugin.xcscheme +58 -0
- package/ios/Pods/Pods.xcodeproj/xcuserdata/thomas.xcuserdatad/xcschemes/Pods-PluginTests.xcscheme +58 -0
- package/ios/Pods/Pods.xcodeproj/xcuserdata/thomas.xcuserdatad/xcschemes/xcschememanagement.plist +31 -0
- package/ios/Pods/Target Support Files/Capacitor/Capacitor-Info.plist +26 -0
- package/ios/Pods/Target Support Files/Capacitor/Capacitor-dummy.m +5 -0
- package/ios/Pods/Target Support Files/Capacitor/Capacitor-prefix.pch +12 -0
- package/ios/Pods/Target Support Files/Capacitor/Capacitor.debug.xcconfig +15 -0
- package/ios/Pods/Target Support Files/Capacitor/Capacitor.modulemap +7 -0
- package/ios/Pods/Target Support Files/Capacitor/Capacitor.release.xcconfig +15 -0
- package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova-Info.plist +26 -0
- package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova-dummy.m +5 -0
- package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova-prefix.pch +12 -0
- package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova.debug.xcconfig +12 -0
- package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova.modulemap +6 -0
- package/ios/Pods/Target Support Files/CapacitorCordova/CapacitorCordova.release.xcconfig +12 -0
- package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin-Info.plist +26 -0
- package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin-acknowledgements.markdown +57 -0
- package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin-acknowledgements.plist +95 -0
- package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin-dummy.m +5 -0
- package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin-umbrella.h +16 -0
- package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin.debug.xcconfig +14 -0
- package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin.modulemap +6 -0
- package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin.release.xcconfig +14 -0
- package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-Info.plist +26 -0
- package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-acknowledgements.markdown +57 -0
- package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-acknowledgements.plist +95 -0
- package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-dummy.m +5 -0
- package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-frameworks.sh +188 -0
- package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-umbrella.h +16 -0
- package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests.debug.xcconfig +15 -0
- package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests.modulemap +6 -0
- package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests.release.xcconfig +15 -0
- package/package.json +64 -4
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
require 'json'
|
|
2
|
+
|
|
3
|
+
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
|
|
4
|
+
|
|
5
|
+
Pod::Spec.new do |s|
|
|
6
|
+
s.name = 'CapacitorCommunityHttp'
|
|
7
|
+
s.version = package['version']
|
|
8
|
+
s.summary = package['description']
|
|
9
|
+
s.license = package['license']
|
|
10
|
+
s.homepage = package['repository']['url']
|
|
11
|
+
s.author = package['author']
|
|
12
|
+
s.source = { git: package['repository']['url'], tag: s.version.to_s }
|
|
13
|
+
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
|
|
14
|
+
s.ios.deployment_target = '12.0'
|
|
15
|
+
s.dependency 'Capacitor'
|
|
16
|
+
s.swift_version = '5.1'
|
|
17
|
+
end
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2020 Drifty Co.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,217 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @ohos-ports/capacitor-community-http
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> **HarmonyOS port of [@capacitor-community/http](https://github.com/capacitor-community/http) v1.4.1**, maintained under the [`@ohos-ports`](https://github.com/ohos-ports/ohos-ports) organization.
|
|
4
|
+
>
|
|
5
|
+
> Port changes (vs upstream 1.4.1):
|
|
6
|
+
> - Node.js runtime (HarmonyOS / OpenHarmony): `readBlobAsBase64` now uses a `Buffer`-based branch when `FileReader` is unavailable, enabling `responseType: "arraybuffer" | "blob"` in Node. Browser behavior is unchanged (guarded by `typeof FileReader === "undefined"`).
|
|
7
|
+
> - Upstream-bug fix: `buildRequestInit` now consumes `options.body` (set by `uploadFile` with a `FormData`), which was previously silently dropped, producing an empty POST body. `HttpOptions` gains an optional `body` field.
|
|
8
|
+
>
|
|
9
|
+
> All credit for the original implementation goes to the [capacitor-community/http](https://github.com/capacitor-community/http) authors (MIT).
|
|
10
|
+
|
|
11
|
+
<p align="center"><br><img src="https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png" width="128" height="128" /></p>
|
|
12
|
+
<h3 align="center">HTTP</h3>
|
|
13
|
+
<p align="center"><strong><code>@capacitor-community/http</code></strong></p>
|
|
14
|
+
<p align="center">
|
|
15
|
+
Capacitor community plugin for native HTTP requests, file download/uploads, and cookie management.
|
|
16
|
+
</p>
|
|
17
|
+
|
|
18
|
+
<p align="center">
|
|
19
|
+
<img src="https://img.shields.io/maintenance/yes/2021?style=flat-square" />
|
|
20
|
+
<a href="https://github.com/capacitor-community/http/actions?query=workflow%3A%22Test+and+Build+Plugin%22"><img src="https://img.shields.io/github/workflow/status/capacitor-community/http/Test%20and%20Build%20Plugin?style=flat-square" /></a>
|
|
21
|
+
<a href="https://www.npmjs.com/package/@capacitor-community/http"><img src="https://img.shields.io/npm/l/@capacitor-community/http?style=flat-square" /></a>
|
|
22
|
+
<br>
|
|
23
|
+
<a href="https://www.npmjs.com/package/@capacitor-community/http"><img src="https://img.shields.io/npm/dw/@capacitor-community/http?style=flat-square" /></a>
|
|
24
|
+
<a href="https://www.npmjs.com/package/@capacitor-community/http"><img src="https://img.shields.io/npm/v/@capacitor-community/http?style=flat-square" /></a>
|
|
25
|
+
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
|
|
26
|
+
<a href="#contributors-"><img src="https://img.shields.io/badge/all%20contributors-22-orange?style=flat-square" /></a>
|
|
27
|
+
<!-- ALL-CONTRIBUTORS-BADGE:END -->
|
|
28
|
+
</p>
|
|
29
|
+
|
|
30
|
+
## Maintainers
|
|
31
|
+
|
|
32
|
+
| Maintainer | GitHub | Social |
|
|
33
|
+
| ------------ | --------------------------------------------- | ----------------------------------------------- |
|
|
34
|
+
| Max Lynch | [mlynch](https://github.com/mlynch) | [@maxlynch](https://twitter.com/maxlynch) |
|
|
35
|
+
| Thomas Vidas | [thomasvidas](https://github.com/thomasvidas) | [@thomasvidas](https://twitter.com/thomasvidas) |
|
|
36
|
+
|
|
37
|
+
## Installation
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
npm install @capacitor-community/http
|
|
41
|
+
npx cap sync
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### Capacitor 2.x
|
|
45
|
+
|
|
46
|
+
For Capacitor 2.x projects, you will need to install a version less than 1.0.0. You can do that by specifying the version in your `package.json` or installing like this. The latest 2.x compatible version is `0.3.1`.
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
npm install @capacitor-community/http@0.x
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## Configuration
|
|
53
|
+
|
|
54
|
+
In most cases no configuration is required for this plugin.
|
|
55
|
+
If the Android application connects with use the self-signed certificates or without encryption, see [Network security configuration](https://developer.android.com/training/articles/security-config) article.
|
|
56
|
+
|
|
57
|
+
## Usage
|
|
58
|
+
|
|
59
|
+
To use the plugin while fully supporting the web version, import and use it like this:
|
|
60
|
+
|
|
61
|
+
```typescript
|
|
62
|
+
import { Http } from '@capacitor-community/http';
|
|
63
|
+
|
|
64
|
+
// Example of a GET request
|
|
65
|
+
const doGet = () => {
|
|
66
|
+
const options = {
|
|
67
|
+
url: 'https://example.com/my/api',
|
|
68
|
+
headers: { 'X-Fake-Header': 'Max was here' },
|
|
69
|
+
params: { size: 'XL' },
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
const response: HttpResponse = await Http.get(options);
|
|
73
|
+
|
|
74
|
+
// or...
|
|
75
|
+
// const response = await Http.request({ ...options, method: 'GET' })
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
// Example of a POST request. Note: data
|
|
79
|
+
// can be passed as a raw JS Object (must be JSON serializable)
|
|
80
|
+
const doPost = () => {
|
|
81
|
+
const options = {
|
|
82
|
+
url: 'https://example.com/my/api',
|
|
83
|
+
headers: { 'X-Fake-Header': 'Thomas was here' },
|
|
84
|
+
data: { foo: 'bar', cool: true },
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
const response: HttpResponse = await Http.post(options);
|
|
88
|
+
|
|
89
|
+
// or...
|
|
90
|
+
// const response = await Http.request({ ...options, method: 'POST' })
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
const setCookie = async () => {
|
|
94
|
+
const options = {
|
|
95
|
+
url: 'http://example.com',
|
|
96
|
+
key: 'language',
|
|
97
|
+
value: 'en',
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
await Http.setCookie(options);
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
const deleteCookie = async () => {
|
|
104
|
+
const options = {
|
|
105
|
+
url: 'http://example.com',
|
|
106
|
+
key: 'language',
|
|
107
|
+
};
|
|
108
|
+
|
|
109
|
+
await Http.deleteCookie(options);
|
|
110
|
+
};
|
|
111
|
+
|
|
112
|
+
const clearCookies = async () => {
|
|
113
|
+
await Http.clearCookies({ url: 'http://example.com' });
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
const getCookies = async () => {
|
|
117
|
+
const cookies: HttpCookie[] = await Http.getCookies({
|
|
118
|
+
url: 'http://example.com',
|
|
119
|
+
});
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
const downloadFile = async () => {
|
|
123
|
+
const options = {
|
|
124
|
+
url: 'https://example.com/path/to/download.pdf',
|
|
125
|
+
filePath: 'document.pdf',
|
|
126
|
+
fileDirectory: Directory.Downloads,
|
|
127
|
+
// Optional
|
|
128
|
+
method: 'GET',
|
|
129
|
+
};
|
|
130
|
+
|
|
131
|
+
// Writes to local filesystem
|
|
132
|
+
const response: HttpDownloadFileResult = await Http.downloadFile(options);
|
|
133
|
+
|
|
134
|
+
// Then read the file
|
|
135
|
+
if (response.path) {
|
|
136
|
+
const read = await Filesystem.readFile({
|
|
137
|
+
path: 'download.pdf',
|
|
138
|
+
directory: Directory.Downloads,
|
|
139
|
+
});
|
|
140
|
+
}
|
|
141
|
+
};
|
|
142
|
+
|
|
143
|
+
const uploadFile = async () => {
|
|
144
|
+
const options = {
|
|
145
|
+
url: 'https://example.com/path/to/upload.pdf',
|
|
146
|
+
name: 'myFile',
|
|
147
|
+
filePath: 'document.pdf',
|
|
148
|
+
fileDirectory: FilesystemDirectory.Downloads,
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
const response: HttpUploadFileResult = await Http.uploadFile();
|
|
152
|
+
};
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
## API Reference
|
|
156
|
+
|
|
157
|
+
You can view the API Reference generated by TypeDoc here: https://capacitor-community.github.io/http/docs/classes/web.httpweb.html
|
|
158
|
+
|
|
159
|
+
### Third Party Cookies on iOS
|
|
160
|
+
|
|
161
|
+
As of iOS 14, you cannot use 3rd party cookies by default. There is an open issue on the Capacitor Core repo on properly patching in cookies on iOS. For now, you must specify a domain of for the cookie you are saving to properly save and send them via requests. You can also add the following lines to your `Info.plist` file to get better support for cookies on iOS. You can add up to 10 domains.
|
|
162
|
+
|
|
163
|
+
```xml
|
|
164
|
+
<key>WKAppBoundDomains</key>
|
|
165
|
+
<array>
|
|
166
|
+
<string>www.mydomain.com</string>
|
|
167
|
+
<string>api.mydomain.com</string>
|
|
168
|
+
<string>www.myothercooldomain.com</string>
|
|
169
|
+
</array>
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
## Contributors ✨
|
|
173
|
+
|
|
174
|
+
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
|
175
|
+
|
|
176
|
+
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
|
177
|
+
<!-- prettier-ignore-start -->
|
|
178
|
+
<!-- markdownlint-disable -->
|
|
179
|
+
<table>
|
|
180
|
+
<tr>
|
|
181
|
+
<td align="center"><a href="https://github.com/danielsogl"><img src="https://avatars2.githubusercontent.com/u/15234844?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Daniel Sogl</b></sub></a><br /><a href="https://github.com/capacitor-community/http/commits?author=danielsogl" title="Documentation">📖</a></td>
|
|
182
|
+
<td align="center"><a href="http://priyankpatel.io"><img src="https://avatars3.githubusercontent.com/u/5585797?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Priyank Patel</b></sub></a><br /><a href="https://github.com/capacitor-community/http/commits?author=priyankpat" title="Code">💻</a></td>
|
|
183
|
+
<td align="center"><a href="http://ionicframework.com/"><img src="https://avatars3.githubusercontent.com/u/11214?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Max Lynch</b></sub></a><br /><a href="https://github.com/capacitor-community/http/commits?author=mlynch" title="Code">💻</a></td>
|
|
184
|
+
<td align="center"><a href="https://github.com/pixelbucket-dev"><img src="https://avatars3.githubusercontent.com/u/12937991?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Falk Schieber</b></sub></a><br /><a href="https://github.com/capacitor-community/http/pulls?q=is%3Apr+reviewed-by%3Apixelbucket-dev" title="Reviewed Pull Requests">👀</a></td>
|
|
185
|
+
<td align="center"><a href="https://github.com/andysousa"><img src="https://avatars0.githubusercontent.com/u/42151009?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Andy Sousa</b></sub></a><br /><a href="https://github.com/capacitor-community/http/commits?author=andysousa" title="Code">💻</a></td>
|
|
186
|
+
<td align="center"><a href="https://github.com/thomasvidas"><img src="https://avatars.githubusercontent.com/u/8182078?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Thomas Vidas</b></sub></a><br /><a href="https://github.com/capacitor-community/http/commits?author=thomasvidas" title="Code">💻</a> <a href="#maintenance-thomasvidas" title="Maintenance">🚧</a></td>
|
|
187
|
+
<td align="center"><a href="https://github.com/emily-curry"><img src="https://avatars.githubusercontent.com/u/20479454?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Emily Curry</b></sub></a><br /><a href="https://github.com/capacitor-community/http/commits?author=emily-curry" title="Code">💻</a></td>
|
|
188
|
+
</tr>
|
|
189
|
+
<tr>
|
|
190
|
+
<td align="center"><a href="https://github.com/graefenhain"><img src="https://avatars.githubusercontent.com/u/88032701?v=4?s=100" width="100px;" alt=""/><br /><sub><b>graefenhain</b></sub></a><br /><a href="https://github.com/capacitor-community/http/commits?author=graefenhain" title="Code">💻</a></td>
|
|
191
|
+
<td align="center"><a href="https://github.com/asztal"><img src="https://avatars.githubusercontent.com/u/68302?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Lee Houghton</b></sub></a><br /><a href="https://github.com/capacitor-community/http/issues?q=author%3Aasztal" title="Bug reports">🐛</a></td>
|
|
192
|
+
<td align="center"><a href="https://github.com/FelixSchwarzmeier"><img src="https://avatars.githubusercontent.com/u/23665008?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Felix Schwarzmeier</b></sub></a><br /><a href="https://github.com/capacitor-community/http/commits?author=FelixSchwarzmeier" title="Code">💻</a></td>
|
|
193
|
+
<td align="center"><a href="https://github.com/jkbz64"><img src="https://avatars.githubusercontent.com/u/13223538?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Kamil Jakubus</b></sub></a><br /><a href="https://github.com/capacitor-community/http/commits?author=jkbz64" title="Code">💻</a></td>
|
|
194
|
+
<td align="center"><a href="http://joeflateau.net/"><img src="https://avatars.githubusercontent.com/u/643331?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Joe Flateau</b></sub></a><br /><a href="https://github.com/capacitor-community/http/issues?q=author%3Ajoeflateau" title="Bug reports">🐛</a></td>
|
|
195
|
+
<td align="center"><a href="https://github.com/Frank608"><img src="https://avatars.githubusercontent.com/u/56638143?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Frank608</b></sub></a><br /><a href="https://github.com/capacitor-community/http/issues?q=author%3AFrank608" title="Bug reports">🐛</a></td>
|
|
196
|
+
<td align="center"><a href="https://github.com/JoelNietoTec"><img src="https://avatars.githubusercontent.com/u/6298693?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Joel Nieto</b></sub></a><br /><a href="https://github.com/capacitor-community/http/issues?q=author%3AJoelNietoTec" title="Bug reports">🐛</a></td>
|
|
197
|
+
</tr>
|
|
198
|
+
<tr>
|
|
199
|
+
<td align="center"><a href="https://github.com/ultimate-tester"><img src="https://avatars.githubusercontent.com/u/580758?v=4?s=100" width="100px;" alt=""/><br /><sub><b>ultimate-tester</b></sub></a><br /><a href="https://github.com/capacitor-community/http/commits?author=ultimate-tester" title="Code">💻</a></td>
|
|
200
|
+
<td align="center"><a href="https://github.com/sgzadrian"><img src="https://avatars.githubusercontent.com/u/12704905?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Adrian Sanchez</b></sub></a><br /><a href="https://github.com/capacitor-community/http/issues?q=author%3Asgzadrian" title="Bug reports">🐛</a></td>
|
|
201
|
+
<td align="center"><a href="https://github.com/milanc"><img src="https://avatars.githubusercontent.com/u/8333458?v=4?s=100" width="100px;" alt=""/><br /><sub><b>milanc</b></sub></a><br /><a href="https://github.com/capacitor-community/http/commits?author=milanc" title="Code">💻</a></td>
|
|
202
|
+
<td align="center"><a href="https://github.com/herecoulbeyourname"><img src="https://avatars.githubusercontent.com/u/57253976?v=4?s=100" width="100px;" alt=""/><br /><sub><b>herecoulbeyourname</b></sub></a><br /><a href="https://github.com/capacitor-community/http/commits?author=herecoulbeyourname" title="Code">💻</a></td>
|
|
203
|
+
<td align="center"><a href="https://github.com/Landschaft"><img src="https://avatars.githubusercontent.com/u/10559398?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Landschaft</b></sub></a><br /><a href="https://github.com/capacitor-community/http/commits?author=Landschaft" title="Code">💻</a></td>
|
|
204
|
+
<td align="center"><a href="https://github.com/stonewoodman"><img src="https://avatars.githubusercontent.com/u/2945329?v=4?s=100" width="100px;" alt=""/><br /><sub><b>stonewoodman</b></sub></a><br /><a href="https://github.com/capacitor-community/http/issues?q=author%3Astonewoodman" title="Bug reports">🐛</a></td>
|
|
205
|
+
<td align="center"><a href="https://github.com/mghcs87"><img src="https://avatars.githubusercontent.com/u/17180632?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Héctor Cruz</b></sub></a><br /><a href="https://github.com/capacitor-community/http/issues?q=author%3Amghcs87" title="Bug reports">🐛</a></td>
|
|
206
|
+
</tr>
|
|
207
|
+
<tr>
|
|
208
|
+
<td align="center"><a href="https://github.com/patrickbussmann"><img src="https://avatars.githubusercontent.com/u/15617021?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Patrick Bußmann</b></sub></a><br /><a href="https://github.com/capacitor-community/http/commits?author=patrickbussmann" title="Code">💻</a></td>
|
|
209
|
+
</tr>
|
|
210
|
+
</table>
|
|
211
|
+
|
|
212
|
+
<!-- markdownlint-restore -->
|
|
213
|
+
<!-- prettier-ignore-end -->
|
|
214
|
+
|
|
215
|
+
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
|
216
|
+
|
|
217
|
+
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="GradleMigrationSettings" migrationVersion="1" />
|
|
4
|
+
<component name="GradleSettings">
|
|
5
|
+
<option name="linkedExternalProjectsSettings">
|
|
6
|
+
<GradleProjectSettings>
|
|
7
|
+
<option name="testRunner" value="PLATFORM" />
|
|
8
|
+
<option name="distributionType" value="DEFAULT_WRAPPED" />
|
|
9
|
+
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
|
10
|
+
<option name="gradleJvm" value="1.8" />
|
|
11
|
+
<option name="modules">
|
|
12
|
+
<set>
|
|
13
|
+
<option value="$PROJECT_DIR$" />
|
|
14
|
+
<option value="$PROJECT_DIR$/../node_modules/@capacitor/android/capacitor" />
|
|
15
|
+
</set>
|
|
16
|
+
</option>
|
|
17
|
+
<option name="resolveModulePerSourceSet" value="false" />
|
|
18
|
+
<option name="useQualifiedModuleNames" value="true" />
|
|
19
|
+
</GradleProjectSettings>
|
|
20
|
+
</option>
|
|
21
|
+
</component>
|
|
22
|
+
</project>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="RemoteRepositoriesConfiguration">
|
|
4
|
+
<remote-repository>
|
|
5
|
+
<option name="id" value="central" />
|
|
6
|
+
<option name="name" value="Maven Central repository" />
|
|
7
|
+
<option name="url" value="https://repo1.maven.org/maven2" />
|
|
8
|
+
</remote-repository>
|
|
9
|
+
<remote-repository>
|
|
10
|
+
<option name="id" value="jboss.community" />
|
|
11
|
+
<option name="name" value="JBoss Community repository" />
|
|
12
|
+
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
|
|
13
|
+
</remote-repository>
|
|
14
|
+
<remote-repository>
|
|
15
|
+
<option name="id" value="MavenRepo" />
|
|
16
|
+
<option name="name" value="MavenRepo" />
|
|
17
|
+
<option name="url" value="https://repo.maven.apache.org/maven2/" />
|
|
18
|
+
</remote-repository>
|
|
19
|
+
<remote-repository>
|
|
20
|
+
<option name="id" value="BintrayJCenter" />
|
|
21
|
+
<option name="name" value="BintrayJCenter" />
|
|
22
|
+
<option name="url" value="https://jcenter.bintray.com/" />
|
|
23
|
+
</remote-repository>
|
|
24
|
+
<remote-repository>
|
|
25
|
+
<option name="id" value="Google" />
|
|
26
|
+
<option name="name" value="Google" />
|
|
27
|
+
<option name="url" value="https://dl.google.com/dl/android/maven2/" />
|
|
28
|
+
</remote-repository>
|
|
29
|
+
</component>
|
|
30
|
+
</project>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: androidx.activity:activity:1.2.0@aar">
|
|
3
|
+
<ANNOTATIONS>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/058d3d8b4ecacbac5eed6698f0b867a2/jetified-activity-1.2.0/annotations.zip!/" />
|
|
5
|
+
</ANNOTATIONS>
|
|
6
|
+
<CLASSES>
|
|
7
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/058d3d8b4ecacbac5eed6698f0b867a2/jetified-activity-1.2.0/jars/classes.jar!/" />
|
|
8
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/058d3d8b4ecacbac5eed6698f0b867a2/jetified-activity-1.2.0/res" />
|
|
9
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/058d3d8b4ecacbac5eed6698f0b867a2/jetified-activity-1.2.0/AndroidManifest.xml" />
|
|
10
|
+
</CLASSES>
|
|
11
|
+
<JAVADOC />
|
|
12
|
+
<SOURCES>
|
|
13
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/androidx.activity/activity/1.2.0/db99858022040027c637fdf623d4db4d7823e60b/activity-1.2.0-sources.jar!/" />
|
|
14
|
+
</SOURCES>
|
|
15
|
+
</library>
|
|
16
|
+
</component>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: androidx.annotation:annotation:1.1.0">
|
|
3
|
+
<CLASSES>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation/1.1.0/e3a6fb2f40e3a3842e6b7472628ba4ce416ea4c8/annotation-1.1.0.jar!/" />
|
|
5
|
+
</CLASSES>
|
|
6
|
+
<JAVADOC>
|
|
7
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation/1.1.0/408af38ec57369afe3fd6466e1c4bfdd5f15fc92/annotation-1.1.0-javadoc.jar!/" />
|
|
8
|
+
</JAVADOC>
|
|
9
|
+
<SOURCES>
|
|
10
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation/1.1.0/8b7bdc00eb4d998bfbc76767b098620990f2a805/annotation-1.1.0-sources.jar!/" />
|
|
11
|
+
</SOURCES>
|
|
12
|
+
</library>
|
|
13
|
+
</component>
|
package/android/.idea/libraries/Gradle__androidx_annotation_annotation_experimental_1_0_0_aar.xml
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: androidx.annotation:annotation-experimental:1.0.0@aar">
|
|
3
|
+
<CLASSES>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/257179ec940acce9d9b9b9069652d215/jetified-annotation-experimental-1.0.0/jars/classes.jar!/" />
|
|
5
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/257179ec940acce9d9b9b9069652d215/jetified-annotation-experimental-1.0.0/res" />
|
|
6
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/257179ec940acce9d9b9b9069652d215/jetified-annotation-experimental-1.0.0/AndroidManifest.xml" />
|
|
7
|
+
</CLASSES>
|
|
8
|
+
<JAVADOC />
|
|
9
|
+
<SOURCES>
|
|
10
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation-experimental/1.0.0/2408f6cb8f31ffabdd88e1365f82914c251e44dc/annotation-experimental-1.0.0-sources.jar!/" />
|
|
11
|
+
</SOURCES>
|
|
12
|
+
</library>
|
|
13
|
+
</component>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: androidx.appcompat:appcompat:1.2.0@aar">
|
|
3
|
+
<ANNOTATIONS>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/a16db5b44425ecffd4781fb791b0f708/appcompat-1.2.0/annotations.zip!/" />
|
|
5
|
+
</ANNOTATIONS>
|
|
6
|
+
<CLASSES>
|
|
7
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/a16db5b44425ecffd4781fb791b0f708/appcompat-1.2.0/jars/classes.jar!/" />
|
|
8
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/a16db5b44425ecffd4781fb791b0f708/appcompat-1.2.0/res" />
|
|
9
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/a16db5b44425ecffd4781fb791b0f708/appcompat-1.2.0/AndroidManifest.xml" />
|
|
10
|
+
</CLASSES>
|
|
11
|
+
<JAVADOC />
|
|
12
|
+
<SOURCES>
|
|
13
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/androidx.appcompat/appcompat/1.2.0/13e8ff89631c2e101eb6bddd12c2fb4bbd74b15d/appcompat-1.2.0-sources.jar!/" />
|
|
14
|
+
</SOURCES>
|
|
15
|
+
</library>
|
|
16
|
+
</component>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: androidx.appcompat:appcompat-resources:1.2.0@aar">
|
|
3
|
+
<CLASSES>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/980692226c1ccbca5d66fbb4efeabccb/jetified-appcompat-resources-1.2.0/jars/classes.jar!/" />
|
|
5
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/980692226c1ccbca5d66fbb4efeabccb/jetified-appcompat-resources-1.2.0/res" />
|
|
6
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/980692226c1ccbca5d66fbb4efeabccb/jetified-appcompat-resources-1.2.0/AndroidManifest.xml" />
|
|
7
|
+
</CLASSES>
|
|
8
|
+
<JAVADOC />
|
|
9
|
+
<SOURCES>
|
|
10
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/androidx.appcompat/appcompat-resources/1.2.0/9c8b428f65a329eeff4f6abe14a44931b12ef3f2/appcompat-resources-1.2.0-sources.jar!/" />
|
|
11
|
+
</SOURCES>
|
|
12
|
+
</library>
|
|
13
|
+
</component>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: androidx.arch.core:core-common:2.1.0">
|
|
3
|
+
<CLASSES>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/androidx.arch.core/core-common/2.1.0/b3152fc64428c9354344bd89848ecddc09b6f07e/core-common-2.1.0.jar!/" />
|
|
5
|
+
</CLASSES>
|
|
6
|
+
<JAVADOC />
|
|
7
|
+
<SOURCES>
|
|
8
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/androidx.arch.core/core-common/2.1.0/80ac2d7c8e6400ce2fbc663cd1a7e1cbef38c4b8/core-common-2.1.0-sources.jar!/" />
|
|
9
|
+
</SOURCES>
|
|
10
|
+
</library>
|
|
11
|
+
</component>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: androidx.arch.core:core-runtime:2.1.0@aar">
|
|
3
|
+
<CLASSES>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/1cfd2abfffba474819c6ba886bdc15c5/core-runtime-2.1.0/jars/classes.jar!/" />
|
|
5
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/1cfd2abfffba474819c6ba886bdc15c5/core-runtime-2.1.0/res" />
|
|
6
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/1cfd2abfffba474819c6ba886bdc15c5/core-runtime-2.1.0/AndroidManifest.xml" />
|
|
7
|
+
</CLASSES>
|
|
8
|
+
<JAVADOC />
|
|
9
|
+
<SOURCES>
|
|
10
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/androidx.arch.core/core-runtime/2.1.0/f19886651c9946b39f83d8c184fd0e2ce9f43c16/core-runtime-2.1.0-sources.jar!/" />
|
|
11
|
+
</SOURCES>
|
|
12
|
+
</library>
|
|
13
|
+
</component>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: androidx.collection:collection:1.1.0">
|
|
3
|
+
<CLASSES>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/androidx.collection/collection/1.1.0/1f27220b47669781457de0d600849a5de0e89909/collection-1.1.0.jar!/" />
|
|
5
|
+
</CLASSES>
|
|
6
|
+
<JAVADOC />
|
|
7
|
+
<SOURCES>
|
|
8
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/androidx.collection/collection/1.1.0/bae67b0019fbb38498198fcc2d0282a340b71c5b/collection-1.1.0-sources.jar!/" />
|
|
9
|
+
</SOURCES>
|
|
10
|
+
</library>
|
|
11
|
+
</component>
|
package/android/.idea/libraries/Gradle__androidx_coordinatorlayout_coordinatorlayout_1_1_0_aar.xml
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: androidx.coordinatorlayout:coordinatorlayout:1.1.0@aar">
|
|
3
|
+
<ANNOTATIONS>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/1ebdab2cccca905a3cd28bb608703327/coordinatorlayout-1.1.0/annotations.zip!/" />
|
|
5
|
+
</ANNOTATIONS>
|
|
6
|
+
<CLASSES>
|
|
7
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/1ebdab2cccca905a3cd28bb608703327/coordinatorlayout-1.1.0/jars/classes.jar!/" />
|
|
8
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/1ebdab2cccca905a3cd28bb608703327/coordinatorlayout-1.1.0/res" />
|
|
9
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/1ebdab2cccca905a3cd28bb608703327/coordinatorlayout-1.1.0/AndroidManifest.xml" />
|
|
10
|
+
</CLASSES>
|
|
11
|
+
<JAVADOC />
|
|
12
|
+
<SOURCES>
|
|
13
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/androidx.coordinatorlayout/coordinatorlayout/1.1.0/a15529ac349d76a872ae5ef42b84c320c456cd7f/coordinatorlayout-1.1.0-sources.jar!/" />
|
|
14
|
+
</SOURCES>
|
|
15
|
+
</library>
|
|
16
|
+
</component>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: androidx.core:core:1.3.2@aar">
|
|
3
|
+
<ANNOTATIONS>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/bb0a4130469d497b23ef939932e09df9/core-1.3.2/annotations.zip!/" />
|
|
5
|
+
</ANNOTATIONS>
|
|
6
|
+
<CLASSES>
|
|
7
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/bb0a4130469d497b23ef939932e09df9/core-1.3.2/jars/classes.jar!/" />
|
|
8
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/bb0a4130469d497b23ef939932e09df9/core-1.3.2/res" />
|
|
9
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/bb0a4130469d497b23ef939932e09df9/core-1.3.2/AndroidManifest.xml" />
|
|
10
|
+
</CLASSES>
|
|
11
|
+
<JAVADOC />
|
|
12
|
+
<SOURCES>
|
|
13
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/androidx.core/core/1.3.2/71dd65cb480e8e7f9110edb28eb4930d709e551b/core-1.3.2-sources.jar!/" />
|
|
14
|
+
</SOURCES>
|
|
15
|
+
</library>
|
|
16
|
+
</component>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: androidx.cursoradapter:cursoradapter:1.0.0@aar">
|
|
3
|
+
<CLASSES>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/aace0d5da73d2c817f12bb96d6698e5c/cursoradapter-1.0.0/jars/classes.jar!/" />
|
|
5
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/aace0d5da73d2c817f12bb96d6698e5c/cursoradapter-1.0.0/res" />
|
|
6
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/aace0d5da73d2c817f12bb96d6698e5c/cursoradapter-1.0.0/AndroidManifest.xml" />
|
|
7
|
+
</CLASSES>
|
|
8
|
+
<JAVADOC />
|
|
9
|
+
<SOURCES>
|
|
10
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/androidx.cursoradapter/cursoradapter/1.0.0/1e323083b41c31fd4d45510dfce50614963c3c6c/cursoradapter-1.0.0-sources.jar!/" />
|
|
11
|
+
</SOURCES>
|
|
12
|
+
</library>
|
|
13
|
+
</component>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: androidx.customview:customview:1.0.0@aar">
|
|
3
|
+
<CLASSES>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/223ae8e78f23f48ba5d96a1dcabe1834/customview-1.0.0/jars/classes.jar!/" />
|
|
5
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/223ae8e78f23f48ba5d96a1dcabe1834/customview-1.0.0/res" />
|
|
6
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/223ae8e78f23f48ba5d96a1dcabe1834/customview-1.0.0/AndroidManifest.xml" />
|
|
7
|
+
</CLASSES>
|
|
8
|
+
<JAVADOC />
|
|
9
|
+
<SOURCES>
|
|
10
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/androidx.customview/customview/1.0.0/61f6a717d144dff3a6bda413d9abeeb2bca71581/customview-1.0.0-sources.jar!/" />
|
|
11
|
+
</SOURCES>
|
|
12
|
+
</library>
|
|
13
|
+
</component>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: androidx.drawerlayout:drawerlayout:1.0.0@aar">
|
|
3
|
+
<ANNOTATIONS>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/cb2cdf934d3d3e0441b52d1dc3cb2e6a/drawerlayout-1.0.0/annotations.zip!/" />
|
|
5
|
+
</ANNOTATIONS>
|
|
6
|
+
<CLASSES>
|
|
7
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/cb2cdf934d3d3e0441b52d1dc3cb2e6a/drawerlayout-1.0.0/jars/classes.jar!/" />
|
|
8
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/cb2cdf934d3d3e0441b52d1dc3cb2e6a/drawerlayout-1.0.0/res" />
|
|
9
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/cb2cdf934d3d3e0441b52d1dc3cb2e6a/drawerlayout-1.0.0/AndroidManifest.xml" />
|
|
10
|
+
</CLASSES>
|
|
11
|
+
<JAVADOC />
|
|
12
|
+
<SOURCES>
|
|
13
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/androidx.drawerlayout/drawerlayout/1.0.0/9ecd4ecb7da215ba4c5c3e00bf8d290dad6f2bc5/drawerlayout-1.0.0-sources.jar!/" />
|
|
14
|
+
</SOURCES>
|
|
15
|
+
</library>
|
|
16
|
+
</component>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: androidx.fragment:fragment:1.3.0@aar">
|
|
3
|
+
<ANNOTATIONS>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/1c7f1e8f7dcb331ab6928cbccca4c71a/fragment-1.3.0/annotations.zip!/" />
|
|
5
|
+
</ANNOTATIONS>
|
|
6
|
+
<CLASSES>
|
|
7
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/1c7f1e8f7dcb331ab6928cbccca4c71a/fragment-1.3.0/jars/classes.jar!/" />
|
|
8
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/1c7f1e8f7dcb331ab6928cbccca4c71a/fragment-1.3.0/res" />
|
|
9
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/1c7f1e8f7dcb331ab6928cbccca4c71a/fragment-1.3.0/AndroidManifest.xml" />
|
|
10
|
+
</CLASSES>
|
|
11
|
+
<JAVADOC />
|
|
12
|
+
<SOURCES>
|
|
13
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/androidx.fragment/fragment/1.3.0/e2e5c7bd6eec5b6afd45cba414e34aa05e8e10b0/fragment-1.3.0-sources.jar!/" />
|
|
14
|
+
</SOURCES>
|
|
15
|
+
</library>
|
|
16
|
+
</component>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: androidx.interpolator:interpolator:1.0.0@aar">
|
|
3
|
+
<CLASSES>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/c4e2469658fdd8801a5306110b0915fc/interpolator-1.0.0/jars/classes.jar!/" />
|
|
5
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/c4e2469658fdd8801a5306110b0915fc/interpolator-1.0.0/res" />
|
|
6
|
+
<root url="file://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/c4e2469658fdd8801a5306110b0915fc/interpolator-1.0.0/AndroidManifest.xml" />
|
|
7
|
+
</CLASSES>
|
|
8
|
+
<JAVADOC />
|
|
9
|
+
<SOURCES>
|
|
10
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/androidx.interpolator/interpolator/1.0.0/fefd5e3cbc479b6b4a9532d05688a1e659e8d3d2/interpolator-1.0.0-sources.jar!/" />
|
|
11
|
+
</SOURCES>
|
|
12
|
+
</library>
|
|
13
|
+
</component>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<component name="libraryTable">
|
|
2
|
+
<library name="Gradle: androidx.lifecycle:lifecycle-common:2.3.0">
|
|
3
|
+
<CLASSES>
|
|
4
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/androidx.lifecycle/lifecycle-common/2.3.0/fc466261d52f4433863642fb40d12441ae274a98/lifecycle-common-2.3.0.jar!/" />
|
|
5
|
+
</CLASSES>
|
|
6
|
+
<JAVADOC />
|
|
7
|
+
<SOURCES>
|
|
8
|
+
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/androidx.lifecycle/lifecycle-common/2.3.0/36a4f870521a07778cf045be0274793c6298ec6/lifecycle-common-2.3.0-sources.jar!/" />
|
|
9
|
+
</SOURCES>
|
|
10
|
+
</library>
|
|
11
|
+
</component>
|