feat: separate prettier from eslint

This commit is contained in:
Rainer Killinger
2023-01-11 13:25:18 +01:00
committed by Thea Schöbl
parent 939fb6ef0f
commit a88d000ccd
381 changed files with 17952 additions and 38411 deletions

View File

@@ -12,11 +12,10 @@ After calling `ionic cordova build android` the gradle version is not set correc
#### Solution
* Go to folder `APP_FOLDER/platforms/android/cordova/lib/builders/`
* Open file `GradleBuilder.js` and change gradle version to `gradle-4.6-all.zip`
in line `var distributionUrl = process.env['CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL'] ||
'https\\://services.gradle.org/distributions/gradle-4.1-all.zip';`
* Repeat this for file `StudioBuilder.js`
- Go to folder `APP_FOLDER/platforms/android/cordova/lib/builders/`
- Open file `GradleBuilder.js` and change gradle version to `gradle-4.6-all.zip`
in line `var distributionUrl = process.env['CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL'] || 'https\\://services.gradle.org/distributions/gradle-4.1-all.zip';`
- Repeat this for file `StudioBuilder.js`
#### Problem
@@ -33,13 +32,13 @@ npx cap sync android
[more here](https://stackoverflow.com/questions/62195760/ionic-capacitor-build-cannot-find-symbol-android-support-v4-app-activitycompat)
### Run platform iOS
#### Problem
Currently, the iOS project build with cordova uses the old build system.
The command `ionic cordova run ios` runs into the error `/platforms/ios/build/emulator/StApps.app/Info.plist
file not found.`
Currently, the iOS project build with cordova uses the old build system.
The command `ionic cordova run ios` runs into the error `/platforms/ios/build/emulator/StApps.app/Info.plist file not found.`
#### Solution
#### Solution
* Either use the command: `ionic cordova emulate ios -- --buildFlag="-UseModernBuildSystem=0"`
* Or open the iOS project in Xcode and change build system in workspace settings to `Lagacy Build System`. Then the normal run command works also.
- Either use the command: `ionic cordova emulate ios -- --buildFlag="-UseModernBuildSystem=0"`
- Or open the iOS project in Xcode and change build system in workspace settings to `Lagacy Build System`. Then the normal run command works also.