Comments (4)
Hello!
We have no plans to update this plugin to support Capacitor v4, rather our efforts have been focused on building out the new official HTTP plugin. While I don't have any official timeline I can share, it is well underway!
from http.
I'm not sure if the official Http plugin will work with 4.0, or if will just be built into the Capacitor runtime itself. There were a few ideas bounced back and forth when I was still on the team. I could release another version based on #275 if the official plugin won't support 4.0, but rather 4.1+. Any insights on this @dallastjames?
from http.
We use this plugin using capacitor v4 successfully. We had to patch the min iOS version however. Otherwise it works great!
Heres the patchfile:
diff --git a/CapacitorCommunityHttp.podspec b/CapacitorCommunityHttp.podspec
index c6d63200fd261e4b6fac8ef4a920013ae89a3590..55a39a0a95a860c50ff3ea652038699311bedaf1 100644
--- a/CapacitorCommunityHttp.podspec
+++ b/CapacitorCommunityHttp.podspec
@@ -11,7 +11,7 @@ Pod::Spec.new do |s|
s.author = package['author']
s.source = { git: package['repository']['url'], tag: s.version.to_s }
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
- s.ios.deployment_target = '12.0'
+ s.ios.deployment_target = '13.0'
s.dependency 'Capacitor'
s.swift_version = '5.1'
end
diff --git a/ios/Podfile b/ios/Podfile
index c0c11bda69005b23ad445551a1580d875e357ffd..95bd006cb57d21e930cf1d9d8adeb016c9131658 100644
--- a/ios/Podfile
+++ b/ios/Podfile
@@ -1,4 +1,4 @@
-platform :ios, '12.0'
+platform :ios, '13.0'
def capacitor_pods
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
from http.
The official HTTP plugin was added in Capacitor 4.3, and there is a now outdated release for this plugin, so I'm closing this issue.
from http.
Related Issues (20)
- if http is not maintained, then what is the recommended plugin? HOT 2
- Allow fragments to be parsed as JSON in response data
- Could not cast value of type '__NSCFNumber' (0x10881b608) to 'NSString' (0x1f473fc40). HOT 1
- Allow WebDAV HTTP methods
- Sending request on background HOT 2
- Setup custom values in header not work.
- Request to https domain fails with SSLHandshakeException. HOT 5
- cannot overwrite default request headers on ios
- JSONException on device when getting a primitive value, e.g. number
- [feat] support metadata for uploadFile HOT 1
- downloadFile method not working correctly on Android
- Http progress listener has serious performance issue on Android HOT 3
- Cannot get cookies in the response
- iOS and Android handle form-uurlencoded requests differently HOT 2
- How to write interceptor in capacitor http HOT 1
- https url is not hitting with http-community in IONIC React. HOT 1
- setCookie: "errorMessage":"Must provide value"
- Capacitor 4 : Http urls not working (only https) HOT 2
- Unable to open asset URL on Android
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from http.