mobile: update cordova project for browser

This commit is contained in:
2024-10-02 17:11:20 +02:00
parent f420a6232a
commit 17e4bea438
5 changed files with 2332 additions and 1234 deletions

View File

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8'?> <?xml version='1.0' encoding='utf-8'?>
<widget id="net.dariogenga.fecharts" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0" xmlns:android="http://schemas.android.com/apk/res/android"> <widget id="net.dariogenga.fecharts" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>FE Charts</name> <name>FE Charts</name>
<description> <description>
Fire Emblem Charts is a mobile application that allows you to view the statistics of the characters in the game Fire Emblem Three Houses in the form of graphics. Fire Emblem Charts is a mobile application that allows you to view the statistics of the characters in the game Fire Emblem Three Houses in the form of graphics.
@ -8,8 +8,7 @@
Apache Cordova Team Apache Cordova Team
</author> </author>
<content src="index.html" /> <content src="index.html" />
<plugin name="cordova-plugin-whitelist" spec="1" /> <access origin="https://odari.ch" />
<access origin="*" />
<allow-intent href="http://*/*" /> <allow-intent href="http://*/*" />
<allow-intent href="https://*/*" /> <allow-intent href="https://*/*" />
<allow-intent href="tel:*" /> <allow-intent href="tel:*" />
@ -60,4 +59,4 @@
<icon src="icons/ios/Icon-172.png" height="172" width="172" /> <icon src="icons/ios/Icon-172.png" height="172" width="172" />
<icon src="icons/ios/Icon-180.png" height="180" width="180" /> <icon src="icons/ios/Icon-180.png" height="180" width="180" />
</platform> </platform>
</widget> </widget>

3538
mobile/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -14,26 +14,20 @@
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"cordova-android": "^8.1.0", "cordova-android": "^8.1.0",
"cordova-browser": "^6.0.0", "cordova-plugin-device": "^2.0.3"
"cordova-ios": "^5.1.1",
"cordova-plugin-device": "^2.0.3",
"cordova-plugin-network-information": "^2.0.2",
"cordova-plugin-splashscreen": "^5.0.3"
}, },
"devDependencies": { "devDependencies": {
"cordova-plugin-whitelist": "^1.3.4" "cordova-browser": "^7.0.0",
"cordova-plugin-network-information": "^3.0.0"
}, },
"cordova": { "cordova": {
"plugins": { "plugins": {
"cordova-plugin-whitelist": {},
"cordova-plugin-device": {}, "cordova-plugin-device": {},
"cordova-plugin-network-information": {}, "cordova-plugin-network-information": {}
"cordova-plugin-splashscreen": {}
}, },
"platforms": [ "platforms": [
"android", "browser",
"ios", "android"
"browser"
] ]
} }
} }

View File

@ -13,6 +13,7 @@
<meta name="msapplication-tap-highlight" content="no"> <meta name="msapplication-tap-highlight" content="no">
<title>Fire Emblem Charts</title> <title>Fire Emblem Charts</title>
<link rel="icon" type="image/x-icon" href="img/logo.png">
<link rel="stylesheet" href="framework7/css/framework7.bundle.min.css"> <link rel="stylesheet" href="framework7/css/framework7.bundle.min.css">
<link rel="stylesheet" href="css/icons.css"> <link rel="stylesheet" href="css/icons.css">
<link rel="stylesheet" href="css/app.css"> <link rel="stylesheet" href="css/app.css">

View File

@ -27,7 +27,7 @@
<p> <p>
Fire Emblem Charts is a mobile application that allows you to view the statistics of the Fire Emblem Charts is a mobile application that allows you to view the statistics of the
characters in the game Fire Emblem Three Houses in the form of graphics.<br> characters in the game Fire Emblem Three Houses in the form of graphics.<br>
<a class="link external" href="https://github.com/dario-cfpt/FE_Charts/">Source code</a> <a class="link external" href="https://git.odari.ch/dario.genga/FE_Charts">Source code</a>
</p> </p>
</section> </section>
<section> <section>