diff --git a/.gitignore b/.gitignore index d61489d..5de9767 100644 --- a/.gitignore +++ b/.gitignore @@ -104,4 +104,26 @@ dist .tern-port # Other -.idea/ \ No newline at end of file +.idea/ + +## twa +build.gradle +gradle.properties +gradlew +gradlew.bat +gradle/ +.gradle/ +local.properties +app/ +build/ +gradle/wrapper/gradle-wrapper.jar +gradle/wrapper/gradle-wrapper.properties +android.keystore +android/ +app-release-bundle.aab +app-release-signed.apk +app-release-signed.apk.idsig +app-release-unsigned-aligned.apk +manifest-checksum.txt +settings.gradle +store_icon.png \ No newline at end of file diff --git a/android-192.png b/android-192.png new file mode 100644 index 0000000..5df371d Binary files /dev/null and b/android-192.png differ diff --git a/android-512.png b/android-512.png new file mode 100644 index 0000000..7928d9d Binary files /dev/null and b/android-512.png differ diff --git a/manifest.webmanifest b/manifest.webmanifest index 379ddbb..ee39e42 100644 --- a/manifest.webmanifest +++ b/manifest.webmanifest @@ -1,8 +1,21 @@ { "name": "Pronote+", - "start_url": "/", + "start_url": "https://v3.pronote.plus", "display": "standalone", - "scope": "/*", + "theme_color": "#000000", + "background_color": "#2BA873", "orientation": "portrait", - "lang": "fr-FR" + "lang": "fr-FR", + "icons": [ + { + "src": "./android-192.png", + "type": "image/png", + "sizes": "192x192" + }, + { + "src": "./android-512.png", + "type": "image/png", + "sizes": "512x512" + } + ] } \ No newline at end of file diff --git a/twa-manifest.json b/twa-manifest.json new file mode 100644 index 0000000..175fc57 --- /dev/null +++ b/twa-manifest.json @@ -0,0 +1,41 @@ +{ + "packageId": "plus.pronote.v3.twa", + "host": "v3.pronote.plus", + "name": "Pronote+", + "launcherName": "Pronote+", + "display": "fullscreen", + "themeColor": "#F9F9F9", + "navigationColor": "#000000", + "navigationColorDark": "#000000", + "navigationDividerColor": "#000000", + "navigationDividerColorDark": "#000000", + "backgroundColor": "#2BA873", + "enableNotifications": true, + "startUrl": "/", + "iconUrl": "https://v3.pronote.plus/android-512.png", + "splashScreenFadeOutDuration": 1, + "signingKey": { + "path": "C:\\Users\\vince\\OneDrive\\Documents\\GitHub\\Papillon\\android.keystore", + "alias": "android" + }, + "appVersionName": "3", + "appVersionCode": 3, + "shortcuts": [], + "generatorApp": "bubblewrap-cli", + "webManifestUrl": "https://v3.pronote.plus/manifest.webmanifest", + "fallbackType": "customtabs", + "features": {}, + "alphaDependencies": { + "enabled": false + }, + "enableSiteSettingsShortcut": true, + "isChromeOSOnly": false, + "isMetaQuest": false, + "fullScopeUrl": "https://v3.pronote.plus/", + "minSdkVersion": 19, + "orientation": "portrait", + "fingerprints": [], + "additionalTrustedOrigins": [], + "retainedBundles": [], + "appVersion": "3" +} \ No newline at end of file