-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
280 additions
and
165 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#Thu Oct 21 16:14:56 CEST 2021 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-all.zip | ||
distributionPath=wrapper/dists | ||
zipStorePath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
distributionSha256Sum=a8da5b02437a60819cad23e10fc7e9cf32bcb57029d9cb277e26eeff76ce014b | ||
distributionSha256Sum=e6d864e3b5bc05cc62041842b306383fc1fefcec359e70cebb1d470a6094ca82 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,19 @@ | ||
ext { | ||
minSdkVersion = 21 | ||
compileSdkVersion = 31 | ||
targetSdkVersion = 31 | ||
androidxActivityVersion = '1.2.0' | ||
androidxAppCompatVersion = '1.3.1' | ||
androidxCoordinatorLayoutVersion = '1.1.0' | ||
androidxCoreVersion = '1.3.2' | ||
androidxFragmentVersion = '1.3.0' | ||
minSdkVersion = 22 | ||
compileSdkVersion = 32 | ||
targetSdkVersion = 32 | ||
androidxActivityVersion = '1.4.0' | ||
androidxAppCompatVersion = '1.4.2' | ||
androidxCoordinatorLayoutVersion = '1.2.0' | ||
androidxCoreVersion = '1.8.0' | ||
androidxFragmentVersion = '1.4.1' | ||
androidxExifinterfaceVersion = '1.3.3' | ||
androidxMaterialVersion = '1.4.0' | ||
androidxMaterialVersion = '1.6.1' | ||
junitVersion = '4.13.2' | ||
androidxTestCoreVersion = '1.4.0' | ||
androidxJunitVersion = '1.1.3' | ||
androidxEspressoCoreVersion = '3.4.0' | ||
cordovaAndroidVersion = '7.0.0' | ||
cordovaAndroidVersion = '10.1.1' | ||
coreSplashScreenVersion = '1.0.0-rc01' | ||
androidxWebkitVersion = '1.4.0' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ WORKDIR /app | |
RUN yarn global add [email protected] @capacitor/[email protected] @capacitor/[email protected] && yarn cache clean --force && yarn global add n && n 16.13.1 | ||
|
||
# Install app dependencies, using wildcard if package-lock exists and copy capacitor configs and ionic configs | ||
COPY package.json yarn.lock apply-diagnostic-modules.js capacitor.config.ts ionic.config.json /app/ | ||
COPY package.json yarn.lock apply-diagnostic-modules.js fix-qrscanner-gradle.js capacitor.config.ts ionic.config.json /app/ | ||
|
||
# install dependencies | ||
# run ionic android build | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// a workaround for cordova-diagnostic-plugin: the plugin ignores Capacitor config setting and installs all its features | ||
|
||
const fs = require('fs') | ||
const path = require('path') | ||
|
||
const rootdir = '' | ||
const qrscannerGradle = path.join(rootdir, 'node_modules/cordova-plugin-qrscanner-11/src/android/qrscanner.gradle') | ||
|
||
const configFiles = [qrscannerGradle] | ||
|
||
function replaceDeprecated(configFile) { | ||
fs.readFile(configFile, 'utf8', function(err, data) { | ||
if (err) { | ||
return console.log(err) | ||
} | ||
|
||
const result = data.replaceAll('compile', 'implementation') | ||
fs.writeFile(configFile, result, 'utf8', function(err) { | ||
if (err) { | ||
console.log(err) | ||
} | ||
}) | ||
}) | ||
} | ||
|
||
configFiles.forEach(configFile => replaceDeprecated(configFile)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.