Skip to content
This repository has been archived by the owner on Oct 15, 2023. It is now read-only.

[DRAFT PR - DO NOT MERGE] Features add, bugs fixes & ajout d'EcoleDirecte partie 4 #120

Merged
merged 139 commits into from
Jun 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
139 commits
Select commit Hold shift + click to select a range
798998e
suppression double importation
LeGeek01 Apr 8, 2023
c71ff62
Merge branch 'service/ecoledirecte' of https://github.com/LeMaitre452…
LeGeek01 Apr 8, 2023
8794849
refix double importation...
LeGeek01 Apr 8, 2023
f41c006
Merge branch 'PapillonApp:development' into service/ecoledirecte
LeGeek01 Apr 8, 2023
a46cafb
Merge branch 'PapillonApp:development' into service/ecoledirecte
LeGeek01 Apr 8, 2023
479c35c
Merge branch 'PapillonApp:development' into service/ecoledirecte
LeMaitre4523 Apr 11, 2023
357fd3f
update xml2js to resolve a security vulnerability (https://github.com…
LeGeek01 Apr 12, 2023
7d45304
Merge branch 'PapillonApp:development' into service/ecoledirecte
LeMaitre4523 Apr 12, 2023
2c9bdc8
Merge branch 'service/ecoledirecte' of https://github.com/LeMaitre452…
LeGeek01 Apr 12, 2023
cd1c5ef
add promise return & server connected state for ED
LeGeek01 Apr 12, 2023
ca916de
Merge branch 'PapillonApp:development' into service/ecoledirecte
LeMaitre4523 Apr 12, 2023
80b0e2e
Merge branch 'PapillonApp:development' into service/ecoledirecte
LeMaitre4523 Apr 14, 2023
e2c40e6
Fix congés - ed timetable
LeMaitre4523 Apr 14, 2023
f6590f8
Add periods - getToken function - ed
LeMaitre4523 Apr 15, 2023
a5add01
Fix grades per periods
LeMaitre4523 Apr 15, 2023
df44a1e
Fix homeworks
LeMaitre4523 Apr 15, 2023
cb8179c
Remove log - getEDPeriods
LeMaitre4523 Apr 15, 2023
76cd998
changePeriod function - ed
LeMaitre4523 Apr 15, 2023
d7d594d
Fix 2 + ajout d'une erreur - notes ed
LeMaitre4523 Apr 16, 2023
da2fac0
retrait saut le ligne (useless je sais)
LeGeek01 Apr 21, 2023
e8fe95d
définition des variables dans la fonction getedperiods
LeGeek01 Apr 21, 2023
ec321fc
fixs de bugs dans gettoken ed
LeGeek01 Apr 21, 2023
84c40f5
edit returns promise in dateTime Picker getholidays
LeGeek01 Apr 21, 2023
a610dff
rajout de l'erreur entre ( )
LeGeek01 Apr 21, 2023
b367b99
début ajout setups pour nav (router)
LeGeek01 Apr 21, 2023
d08b69f
rajout de loadins & remplacement toasts natifs
LeGeek01 Apr 21, 2023
1138351
création SettingsSetup
LeGeek01 Apr 21, 2023
2ba25d0
Merge branch 'PapillonApp:development' into service/ecoledirecte
LeGeek01 Apr 22, 2023
8332bf8
refix ed periods
LeGeek01 Apr 22, 2023
83b3408
fix get token
LeGeek01 Apr 22, 2023
d46bf1a
fix périodes (encore)
LeGeek01 Apr 23, 2023
908e648
add debug + fix error when no taf (get homeworks)
LeGeek01 Apr 23, 2023
1315999
fix gettoken, encore...
LeGeek01 Apr 23, 2023
886a45c
création de la nav homeworks
LeGeek01 Apr 23, 2023
19bd118
modification du router
LeGeek01 Apr 23, 2023
ee6feda
add console log & ignore id si number (tafitemvue)
LeGeek01 Apr 23, 2023
b9f97ff
rajout d'un message de bêta sur la vue taf
LeGeek01 Apr 23, 2023
dae9277
continue to edit toasts & add param for reboot app
LeGeek01 Apr 23, 2023
bfb815c
commencé à edit les toasts
LeGeek01 Apr 23, 2023
ff2a38c
changePeriod - add promise
LeMaitre4523 Apr 23, 2023
74fb19a
#3 Un devoir ecoledirect peut être marqué comme effectué
camarm-dev Apr 23, 2023
b5eb5c1
fix news
LeGeek01 Apr 28, 2023
cefa25e
fix news in get recap
LeGeek01 Apr 28, 2023
60699e8
remove a weird console log
LeGeek01 Apr 28, 2023
9bc1087
weird changes
LeGeek01 Apr 29, 2023
6d1f764
fix nan when no averages (mark view)
LeGeek01 Apr 29, 2023
94ef00d
fix libelle matiere + others things (getGrades)
LeGeek01 Apr 29, 2023
2ce2f47
add text when no averages available
LeGeek01 Apr 29, 2023
6fbab1d
Merge branch 'development' into service/ecoledirecte
LeGeek01 Apr 29, 2023
defb049
Merge branch 'PapillonApp:development' into service/ecoledirecte
LeGeek01 Apr 29, 2023
47194b5
virgule de merde
LeGeek01 Apr 29, 2023
302fd2f
Merge branch 'development' into service/ecoledirecte
LeGeek01 May 6, 2023
42b50a0
update all modules (NODEJS 20 REQUIRED!)
LeGeek01 May 6, 2023
4b99ab6
fix no period when login (cause blank home...)
LeGeek01 May 6, 2023
27cb7fd
changement temps par défaut pour les toasts
LeGeek01 May 6, 2023
8cde81e
finish replace old toasts & delete unused vars
LeGeek01 May 6, 2023
df37432
little fix
LeGeek01 May 6, 2023
f884dd3
delete unused vars
LeGeek01 May 6, 2023
99101dc
delete unused vars
LeGeek01 May 6, 2023
e02fffb
comment unused vars
LeGeek01 May 6, 2023
2132314
delete & comment unused vars
LeGeek01 May 6, 2023
75a4c2c
delete unused vars
LeGeek01 May 6, 2023
34feb0a
delete unused vars
LeGeek01 May 6, 2023
3dea1b0
delete unused vars
LeGeek01 May 6, 2023
d2052ad
delete unused vars
LeGeek01 May 6, 2023
2151f56
delete unused vars
LeGeek01 May 6, 2023
cfc4731
delete unused vars
LeGeek01 May 6, 2023
bad14f3
delete unused vars
LeGeek01 May 6, 2023
2af2537
delete unused vars
LeGeek01 May 6, 2023
164c85c
delete unused vars
LeGeek01 May 6, 2023
807adef
edit reference of schoollife menu in router
LeGeek01 May 6, 2023
0cb0512
moove SchoollifeView.vue file
LeGeek01 May 6, 2023
b42c21c
add SchoollifeSetup.vue
LeGeek01 May 6, 2023
fc91b9a
Merge branch 'PapillonApp:development' into service/ecoledirecte
LeMaitre4523 May 6, 2023
ba76e65
Merge branch 'PapillonApp:development' into service/ecoledirecte
LeMaitre4523 May 7, 2023
340129d
Merge branch 'PapillonApp:development' into service/ecoledirecte
LeGeek01 May 8, 2023
efd8f34
mise à jour des dépendances
LeGeek01 May 11, 2023
2832408
add "type" var in data for schoollife events
LeGeek01 May 11, 2023
6ab65ee
fixs & ajouts dans ed schoollife
LeGeek01 May 11, 2023
8875b9e
add schoollife item view import in schoollife view
LeGeek01 May 11, 2023
5ce41f6
adapt getabsence for the new item schollife event view
LeGeek01 May 11, 2023
e69fe92
Merge branch 'PapillonApp:development' into service/ecoledirecte
LeMaitre4523 May 12, 2023
472d03e
FIX DE CE PUTAIN DE Waiting for connectivity with vue-cli-service...
LeGeek01 May 14, 2023
3228718
Migration vers Capacitor v5
ecnivtwelve May 14, 2023
32085e5
Update the readme file to run the dev build with npm
LeGeek01 May 14, 2023
f34a63e
Merge branch 'PapillonApp:development' into service/ecoledirecte
LeGeek01 May 14, 2023
086bf68
add SchoollifeAbsItemView vue
LeGeek01 May 14, 2023
e187732
Merge branch 'PapillonApp:development' into service/ecoledirecte
LeGeek01 May 14, 2023
430e5be
Merge branch 'PapillonApp:development' into service/ecoledirecte
LeMaitre4523 May 14, 2023
e2c9b41
retrait des avertissements (annotations)
LeGeek01 May 16, 2023
bbf8af6
Merge branch 'PapillonApp:development' into service/ecoledirecte
LeGeek01 May 16, 2023
695519f
retrait d'un console log
LeGeek01 May 18, 2023
577dff0
fix du conflit sur le package lock
LeGeek01 May 18, 2023
000baec
Merge branch 'development' of https://github.com/PapillonApp/Papillon…
LeGeek01 May 18, 2023
8599d3d
revert des commits supprimés
LeGeek01 May 18, 2023
3487708
rebase du fichier MarkView à partir de la branch dev
LeGeek01 May 18, 2023
f754451
annotation & suppression des variables non utilisées
LeGeek01 May 18, 2023
9c60607
Merge remote-tracking branch 'upstream/development' into service/ecol…
LeGeek01 May 23, 2023
f7a2060
update papillon version in package json
LeGeek01 May 23, 2023
2d2d1ca
delete unused vars
LeGeek01 May 23, 2023
98da4cc
add gradesview setup
LeGeek01 May 23, 2023
65052e2
edit the route to grade views
LeGeek01 May 23, 2023
07b35e1
update package lock
LeGeek01 May 23, 2023
0524386
delete a unused var
LeGeek01 May 23, 2023
d2e15e9
fix waiting token when failure
LeGeek01 May 23, 2023
84f676b
Merge branch 'PapillonApp:development' into service/ecoledirecte
LeMaitre4523 May 24, 2023
a8f9d66
Merge branch 'PapillonApp:development' into service/ecoledirecte
LeGeek01 May 25, 2023
88bd4f4
Merge branch 'PapillonApp:development' into service/ecoledirecte
LeGeek01 May 27, 2023
575695b
ajout du plugin http capacitor
LeGeek01 May 27, 2023
fa639ad
nouvelle série de màj des modules
LeGeek01 May 27, 2023
85763e6
update capacitor to v5
LeGeek01 May 27, 2023
695ca3d
add bypass rules no-var and prefer-const
LeGeek01 May 27, 2023
248e4d4
enable the http plugin
LeGeek01 May 27, 2023
f9d91ec
fix bug onglet vie scolaire
LeGeek01 May 28, 2023
456e175
Merge branch 'PapillonApp:development' into service/ecoledirecte
LeMaitre4523 May 28, 2023
ed705b9
Merge branch 'PapillonApp:development' into service/ecoledirecte
LeMaitre4523 May 29, 2023
f8e78e1
Merge branch 'development' into service/ecoledirecte
LeGeek01 Jun 8, 2023
88558a2
add empty div at bottom nav menu to display full options
LeGeek01 Jun 8, 2023
b407f63
enable capacitorhttp
LeGeek01 Jun 8, 2023
eadb07a
séries de mises à jour
LeGeek01 Jun 8, 2023
efa149f
update android build files
LeGeek01 Jun 8, 2023
fdba919
changement de package pour la navbar native
LeGeek01 Jun 8, 2023
861317f
change package nav bar
LeGeek01 Jun 8, 2023
d25410d
delete unused var
LeGeek01 Jun 8, 2023
8d6f83d
Merge remote-tracking branch 'origin/capacitor-v5' into development
lucas-luchack Jun 8, 2023
42c97f1
disable capacitor http
LeGeek01 Jun 8, 2023
3b555a7
update android build files
LeGeek01 Jun 8, 2023
626386e
move the empty div
LeGeek01 Jun 8, 2023
dcf3a2d
🔥 Make possible alpha deployment
lucas-luchack Jun 8, 2023
b71c01b
Merge remote-tracking branch 'upstream/development' into service/ecol…
LeGeek01 Jun 8, 2023
41f9d55
upgrade capacitor v5
LeGeek01 Jun 8, 2023
d8affda
🥑 Fix lock file
lucas-luchack Jun 8, 2023
c8c2915
🟢 Capacitor v5 fix - Test deploy on Android
lucas-luchack Jun 8, 2023
dcf572a
🐛 Fix dependencies import
lucas-luchack Jun 8, 2023
4c3d0c8
🟥 Fix ESLINT detected errors
lucas-luchack Jun 8, 2023
998990f
Merge remote-tracking branch 'upstream/development' into service/ecol…
LeGeek01 Jun 8, 2023
f479396
fix onglet notes qui ne marche plus
LeGeek01 Jun 8, 2023
c35187f
fix affichage popup explicatif moyenne +/-
LeGeek01 Jun 8, 2023
3dec4c3
Merge branch 'PapillonApp:development' into service/ecoledirecte
LeGeek01 Jun 11, 2023
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: 3 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ module.exports = {
'vue/no-deprecated-slot-attribute': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-var-requires': 0,
"prefer-const": 0,
"no-var": 0,
"vue/no-reserved-component-names": 0
},
overrides: [
{
Expand Down
129 changes: 125 additions & 4 deletions .github/workflows/app_deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ on:
branches:
- master
- beta
workflow_dispatch:
inputs:
deploy_type:
description: 'Type of deployment'
required: true
default: 'alpha'

jobs:
initialize:
Expand Down Expand Up @@ -32,7 +38,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20
cache: npm

- name: Get deploy type
Expand All @@ -54,6 +60,7 @@ jobs:


deploy_android:
if: ${{ inputs.deploy_type != 'alpha' }}
needs: initialize
runs-on: macos-latest
steps:
Expand Down Expand Up @@ -96,7 +103,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20
cache: npm

- name: Setup dependencies
Expand Down Expand Up @@ -173,6 +180,7 @@ jobs:


deploy_ios:
if: ${{ inputs.deploy_type != 'alpha' }}
needs: initialize
runs-on: macos-latest
steps:
Expand All @@ -184,7 +192,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20
cache: npm

- name: Init XCode SDK
Expand Down Expand Up @@ -301,6 +309,7 @@ jobs:


summary_and_release:
if: ${{ inputs.deploy_type != 'alpha' }}
needs: [initialize, deploy_android, deploy_ios]
runs-on: macos-latest
steps:
Expand Down Expand Up @@ -369,4 +378,116 @@ jobs:
echo "" >> $GITHUB_STEP_SUMMARY
echo "---" >> $GITHUB_STEP_SUMMARY
echo "Fin de rapport de déploiement" >> $GITHUB_STEP_SUMMARY
echo "(c) 2023 - PapillonApp" >> $GITHUB_STEP_SUMMARY
echo "(c) 2023 - PapillonApp" >> $GITHUB_STEP_SUMMARY

deploy_alpha:
if: ${{ inputs.deploy_type == 'alpha' }}
needs: initialize
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Setup Java
run: |
brew tap AdoptOpenJDK/openjdk
brew install --cask adoptopenjdk15

echo "JAVA_HOME=$(/usr/libexec/java_home -v 15)" >> $GITHUB_ENV
echo ${{ env.JAVA_HOME }}
java -version

- name: Setup Android CLI
run: |
brew install --cask android-commandlinetools
sdkmanager --update
set +o pipefail

yes | sdkmanager --licenses
yes | sdkmanager --install "platform-tools"
yes | sdkmanager --install "build-tools;33.0.1"
yes | sdkmanager --install "platforms;android-33"

sdkmanager --list_installed
set -o pipefail

- name: Setup Android Builder
run: |
echo "ANDROID_HOME=$(brew --prefix)/share/android-commandlinetools" >> $GITHUB_ENV
echo "ANDROID_SDK_ROOT=$(brew --prefix)/share/android-commandlinetools" >> $GITHUB_ENV
echo "APP_VERSION_CODE=${{ needs.initialize.outputs.VERSION_CODE }}" >> $GITHUB_ENV
echo "APP_VERSION_NUMBER=${{ needs.initialize.outputs.VERSION_NUMBER }}" >> $GITHUB_ENV
chmod +x ./android/gradlew;

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20
cache: npm

- name: Setup dependencies
run: |
npm i -g @ionic/cli
npm i --prefer-offline --no-audit

- name: Update release canal
uses: maxgfr/github-change-json@main
with:
path: "package.json"
key: "canal"
value: ${{ needs.initialize.outputs.DEPLOY_TYPE }}

- name: Update version number
uses: maxgfr/github-change-json@main
with:
path: "package.json"
key: "version"
value: ${{ needs.initialize.outputs.VERSION_NUMBER }}

- name: Ionic Capacitor Sync
run: |
ionic capacitor sync android --prod

- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.2
bundler-cache: true

- name: Cache bundle dependencies
uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: ${{ runner.os }}-gems-

- name: Decrypt Android keys
run: sh ./.github/scripts/decrypt_android_keys.sh
env:
KEYS_SECRET_PASSPHRASE: ${{ secrets.KEYS_SECRET_PASSPHRASE }}

- name: Export Data to Fastlane
run: |
echo "KEY_STORE=$GITHUB_WORKSPACE/android/fastlane/logi12-prnplus.jks" >> $GITHUB_ENV
echo "KEY_STORE_PASSWORD=${{ secrets.KEY_STORE_PASSWORD}}" >> $GITHUB_ENV
echo "KEY_ALIAS=${{ secrets.KEY_ALIAS }}" >> $GITHUB_ENV
echo "KEY_PASSWORD=${{ secrets.KEY_PASSWORD }}" >> $GITHUB_ENV
echo "PLAY_CREDENTIALS_JSON=$GITHUB_WORKSPACE/android/fastlane/play_store.json" >> $GITHUB_ENV
echo "GRADLE_FILE=$GITHUB_WORKSPACE/android/app/build.gradle" >> $GITHUB_ENV

- name: Download bundle dependencies
run: |
gem install bundler:2.0.2
bundle config path vendor/bundle
bundle install
bundle exec gem install "fastlane-plugin-versioning_android"
working-directory: android/fastlane

- name: Build and deploy
run: |
echo "LC_ALL=fr_FR.UTF-8" >> $GITHUB_ENV
echo "LANG=fr_FR.UTF-8" >> $GITHUB_ENV
bundle exec fastlane alpha
working-directory: android/fastlane
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,21 +98,21 @@ To get a local copy up and running follow these simple steps.
First, grab a copy of this repo and install the needed dependencies to run Papillon locally.

```sh
npm install -g @ionic/cli
npm i
```

### Installation

*PS: In an older version of this file, you had to install the `@ionic/cli` package. This package is no longer needed, and if you installed it only for Papillon, you can remove it with `npm uninstall -g @ionic/cli`.*
*We removed it to fix a bug with "Waiting for connectivity with vue-cli-service" message which was CPU intensive.*
To run papillon, simply run
```sh
ionic serve
npm run serve
```

To build papillon, you need **Android Studio** or *Xcode** installed.
Android SDK or Xcode command line tools needs to be configured. All the prerequisites for building are available on https://capacitorjs.com/docs/getting-started/environment-setup
```sh
ionic build
npm run build
LeGeek01 marked this conversation as resolved.
Show resolved Hide resolved
npx cap sync
# then build using Android Studio or Xcode
```
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.

5 changes: 5 additions & 0 deletions android/.idea/jarRepositories.xml

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

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

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

5 changes: 3 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
apply plugin: 'com.android.application'

android {
namespace "plus.pronote.app"
compileSdkVersion rootProject.ext.compileSdkVersion
defaultConfig {
applicationId "plus.pronote.app"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1000
versionName "5.0.15"
versionCode 1885
versionName '5.8.2'
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
aaptOptions {
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
Expand Down
6 changes: 3 additions & 3 deletions android/app/capacitor.build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

android {
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
}

Expand All @@ -28,7 +28,7 @@ dependencies {
implementation project(':capacitor-status-bar')
implementation project(':capacitor-toast')
implementation project(':capawesome-capacitor-file-picker')
implementation project(':hugotomazi-capacitor-navigation-bar')
implementation project(':mauricewegner-capacitor-navigation-bar')
implementation project(':transistorsoft-capacitor-background-fetch')
implementation project(':capacitor-android-shortcuts')
implementation project(':capacitor-calendar')
Expand Down
2 changes: 1 addition & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="plus.pronote.app">
<manifest xmlns:android="http://schemas.android.com/apk/res/android" >
<application
android:enableOnBackInvokedCallback="true"
android:allowBackup="true"
Expand Down
4 changes: 2 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.3.1'
classpath 'com.google.gms:google-services:4.3.13'
classpath 'com.android.tools.build:gradle:8.0.0'
classpath 'com.google.gms:google-services:4.3.15'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
4 changes: 2 additions & 2 deletions android/capacitor.settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ project(':capacitor-toast').projectDir = new File('../node_modules/@capacitor/to
include ':capawesome-capacitor-file-picker'
project(':capawesome-capacitor-file-picker').projectDir = new File('../node_modules/@capawesome/capacitor-file-picker/android')

include ':hugotomazi-capacitor-navigation-bar'
project(':hugotomazi-capacitor-navigation-bar').projectDir = new File('../node_modules/@hugotomazi/capacitor-navigation-bar/android')
include ':mauricewegner-capacitor-navigation-bar'
project(':mauricewegner-capacitor-navigation-bar').projectDir = new File('../node_modules/@mauricewegner/capacitor-navigation-bar/android')

include ':transistorsoft-capacitor-background-fetch'
project(':transistorsoft-capacitor-background-fetch').projectDir = new File('../node_modules/@transistorsoft/capacitor-background-fetch/android')
Expand Down
17 changes: 17 additions & 0 deletions android/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,23 @@ begin
)
end

lane :alpha do
build()

supply(
track: 'alpha',
package_name: ENV['APP_PACKAGE_NAME'],
version_code: ENV['APP_VERSION_CODE'],
release_status: "draft",
aab: "#{AAB_LOCATION}",
skip_upload_images: true,
skip_upload_metadata: true,
skip_upload_changelogs: true,
skip_upload_screenshots: true,
skip_upload_apk: true,
json_key: ENV['PLAY_CREDENTIALS_JSON']
)

lane :test do
desc("Build and deploy for test (Android) | It doesn't send app to play store")

Expand Down
3 changes: 1 addition & 2 deletions android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,4 @@ org.gradle.jvmargs=-Xmx1536m
# Android operating system, and which are packaged with your app's APK
# https://developer.android.com/topic/libraries/support-library/androidx-rn
android.useAndroidX=true
# Automatically convert third-party libraries to use AndroidX
android.enableJetifier=true

2 changes: 1 addition & 1 deletion android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
16 changes: 8 additions & 8 deletions android/variables.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ ext {
minSdkVersion = 22
compileSdkVersion = 33
targetSdkVersion = 33
androidxActivityVersion = '1.6.1'
androidxAppCompatVersion = '1.4.2'
androidxActivityVersion = '1.7.0'
androidxAppCompatVersion = '1.6.1'
androidxCoordinatorLayoutVersion = '1.2.0'
androidxCoreVersion = '1.8.0'
androidxFragmentVersion = '1.4.1'
coreSplashScreenVersion = '1.0.0-rc01'
androidxWebkitVersion = '1.4.0'
androidxCoreVersion = '1.10.0'
androidxFragmentVersion = '1.5.6'
coreSplashScreenVersion = '1.0.0'
androidxWebkitVersion = '1.6.1'
junitVersion = '4.13.2'
androidxJunitVersion = '1.1.3'
androidxEspressoCoreVersion = '3.4.0'
androidxJunitVersion = '1.1.5'
androidxEspressoCoreVersion = '3.5.1'
cordovaAndroidVersion = '10.1.1'
}
10 changes: 6 additions & 4 deletions capacitor.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,13 @@ const config: CapacitorConfig = {
Keyboard: {
resize: KeyboardResize.Ionic,
},
"CapacitorHttp": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alors c'est bien mais moi y'a plein de trucs qui marchaient pas quand je l'ai fait. Tu peux lire #114 stp?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ça pose zéro problème en web, mais sur mobile si.

"enabled": false
}
},
/* server: {
url: "http://192.168.1.22:8100",
cleartext: true
}, */
/*server : {
url: "http://localhost:8100/" // Address of the server running locally
LeGeek01 marked this conversation as resolved.
Show resolved Hide resolved
},*/
};

export default config;
Loading