Skip to content

Commit

Permalink
use capacitor core http
Browse files Browse the repository at this point in the history
  • Loading branch information
bastyen committed May 25, 2023
1 parent 4ee53db commit 34fa035
Show file tree
Hide file tree
Showing 11 changed files with 537 additions and 909 deletions.
3 changes: 3 additions & 0 deletions capacitor.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ const config: CapacitorConfig = {
webDir: 'www',
bundledWebRuntime: false,
plugins: {
CapacitorHttp: {
enabled: false
},
SplashScreen: {
launchAutoHide: false
},
Expand Down
11 changes: 11 additions & 0 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ platforms:
<package android:name="com.suricate" />
</queries>
</manifest>
- file: AndroidManifest.xml
target: manifest/application
attrs:
android:usesCleartextTraffic: true

ios:
targets:
App:
Expand All @@ -39,3 +45,8 @@ platforms:
entries:
- UIBackgroundModes:
- location

- replace: true
entries:
- NSAppTransportSecurity:
- NSAllowsArbitraryLoads: true
Loading

0 comments on commit 34fa035

Please sign in to comment.