Skip to content

Commit

Permalink
feat: add android
Browse files Browse the repository at this point in the history
  • Loading branch information
oriolagobat committed Nov 20, 2023
1 parent 9359803 commit bdda9a2
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 23 deletions.
4 changes: 2 additions & 2 deletions app/capacitor.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { CapacitorConfig } from '@capacitor/cli';

const config: CapacitorConfig = {
appId: 'io.ionic.starter',
appName: 'app',
appId: 'online.refuapp.admin',
appName: 'RefuApp Admin',
webDir: 'www',
server: {
androidScheme: 'https'
Expand Down
12 changes: 12 additions & 0 deletions app/capacitor.config.ts.back
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { CapacitorConfig } from '@capacitor/cli';

const config: CapacitorConfig = {
appId: 'io.ionic.starter',
appName: 'app',
webDir: 'www',
server: {
androidScheme: 'https'
}
};

export default config;
19 changes: 14 additions & 5 deletions app/package-lock.json

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

27 changes: 14 additions & 13 deletions app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,23 @@
"@angular/platform-browser": "^16.0.0",
"@angular/platform-browser-dynamic": "^16.0.0",
"@angular/router": "^16.0.0",
"@capacitor/android": "^5.5.1",
"@capacitor/app": "5.0.6",
"@capacitor/core": "5.5.0",
"@capacitor/camera": "^5.0.7",
"@capacitor/core": "^5.5.0",
"@capacitor/device": "^5.0.6",
"@capacitor/haptics": "5.0.6",
"@capacitor/keyboard": "5.0.6",
"@capacitor/preferences": "^5.0.6",
"@capacitor/status-bar": "5.0.6",
"@ionic/angular": "^7.0.0",
"@ngx-translate/core": "^15.0.0",
"@ngx-translate/http-loader": "^8.0.0",
"@types/uuid": "^9.0.5",
"ionicons": "^7.0.0",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"zone.js": "~0.13.0",
"@capacitor/preferences": "^5.0.6",
"@types/uuid": "^9.0.5",
"@capacitor/camera": "^5.0.7",
"@capacitor/device": "^5.0.6",
"@ngx-translate/core": "^15.0.0",
"@ngx-translate/http-loader": "^8.0.0"
"zone.js": "~0.13.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "^16.0.0",
Expand All @@ -53,7 +54,7 @@
"@angular/cli": "^16.0.0",
"@angular/compiler-cli": "^16.0.0",
"@angular/language-service": "^16.0.0",
"@capacitor/cli": "5.5.0",
"@capacitor/cli": "^5.5.1",
"@ionic/angular-toolkit": "^9.0.0",
"@types/jasmine": "~4.3.0",
"@types/node": "^12.11.1",
Expand All @@ -63,6 +64,7 @@
"eslint-plugin-import": "2.22.1",
"eslint-plugin-jsdoc": "30.7.6",
"eslint-plugin-prefer-arrow": "1.2.2",
"husky": "^8.0.3",
"jasmine-core": "~4.6.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "~6.4.0",
Expand All @@ -71,12 +73,11 @@
"karma-coverage-istanbul-reporter": "~3.0.2",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.0.0",
"ts-node": "^8.3.0",
"typescript": "~5.0.2",
"husky": "^8.0.3",
"lint-staged": "^15.0.1",
"prettier": "3.0.3",
"ts-pattern": "^5.0.5"
"ts-node": "^8.3.0",
"ts-pattern": "^5.0.5",
"typescript": "~5.0.2"
},
"description": "An Ionic project"
}
5 changes: 2 additions & 3 deletions app/src/app/pages/refuges/refuge-list/refuges-list.page.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,13 @@
<strong> {{refuge.region}} </strong>
</p>
<p>
{{'REFUGES.LIST.CAPACITY' | translate}}<br />
{{'REFUGES.FORM.ALTITUDE.LABEL' | translate}}<br />
<strong>
{{refuge.altitude}} {{'REFUGES.LIST.METRES' | translate}}
</strong>
</p>
<p>
{{'REFUGES.FORM.ALTITUDE.LABEL' | translate}}
<br />
{{'REFUGES.LIST.CAPACITY' | translate}}<br />
<strong
>- {{'REFUGES.LIST.WINTER' | translate}}:
{{refuge.capacity.winter}}
Expand Down

0 comments on commit bdda9a2

Please sign in to comment.