Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: replace cordova-plugin-advanced-http package #3

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@
"allowList": {
"changeDetectorRef": true,
"iCalendarKey": true,
"iCalendarLink": true
"iCalendarLink": true,
"NativeHttpParams": true
}
}
],
Expand Down
2 changes: 1 addition & 1 deletion android/.idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions android/.idea/migrations.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion android/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

263 changes: 263 additions & 0 deletions android/.idea/other.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions android/app/src/main/res/xml/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
<widget version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<access origin="*" />

<feature name="CordovaHttpPlugin">
<param name="android-package" value="com.silkimen.cordovahttp.CordovaHttpPlugin"/>
</feature>

<feature name="File">
<param name="android-package" value="org.apache.cordova.file.FileUtils"/>
<param name="onload" value="true"/>
Expand Down
4 changes: 0 additions & 4 deletions ios/App/App/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
<widget version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<access origin="*" />

<feature name="CordovaHttpPlugin">
<param name="ios-package" value="CordovaHttpPlugin"/>
</feature>

<feature name="File">
<param name="ios-package" value="CDVFile"/>
<param name="onload" value="true"/>
Expand Down
2 changes: 1 addition & 1 deletion ios/App/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ SPEC CHECKSUMS:
CapacitorStatusBar: 2e4369f99166125435641b1908d05f561eaba6f6
CapawesomeTeamCapacitorFileOpener: 3b92b7d407c6a85e241e77ff081f0dcc4beb86b3
CapawesomeTeamCapacitorNfc: d1c1af83a57d1f385c221a50c894244e116c3160
CordovaPlugins: e46692a88b8b37ca8bd53ae20ee33bbcb18248cd
CordovaPlugins: 1a820855fc3c3adb569ae18eeacc30ab15f1fed8

PODFILE CHECKSUM: baa07d86309c338c813d17409138037a1834285f

Expand Down
12 changes: 0 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@
"@ngneat/elf-entities": "5.0.0",
"@ngneat/elf-persist-state": "1.2.0",
"buffer": "6.0.3",
"cordova-plugin-advanced-http": "3.2.2",
"cordova-plugin-file": "6.0.2",
"date-fns": "3.3.1",
"hammerjs": "2.0.8",
Expand Down
2 changes: 0 additions & 2 deletions src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { RouteReuseStrategy } from '@angular/router';
import { CoreModule, GlobalErrorHandlerService } from '@app/core';
import { SharedModule } from '@app/shared';
import { File } from '@awesome-cordova-plugins/file/ngx';
import { HTTP } from '@awesome-cordova-plugins/http/ngx';
import { IonicModule, IonicRouteStrategy, isPlatform } from '@ionic/angular';
import { register as registerSwiper } from 'swiper/element/bundle';
import { AppRoutingModule } from './app-routing.module';
Expand All @@ -32,7 +31,6 @@ registerSwiper();
],
providers: [
File,
HTTP,
{ provide: RouteReuseStrategy, useClass: IonicRouteStrategy },
{
provide: ErrorHandler,
Expand Down
Loading