Skip to content

Commit

Permalink
#0000 update file open/share.
Browse files Browse the repository at this point in the history
  • Loading branch information
VRuzhentsov committed Feb 21, 2023
1 parent dca6ad0 commit f5c61fd
Show file tree
Hide file tree
Showing 17 changed files with 332 additions and 52 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

# Signing application keys
*.jks
*.pepk

# misc
.DS_Store
Expand Down
23 changes: 11 additions & 12 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ apply plugin: 'com.android.application'

android {
signingConfigs {
debug {
storeFile file('D:\\Projects\\afu-4-code\\my-keystore.jks')
storePassword System.getenv("KEYSTORE_PASS")
keyAlias 'myalias'
keyPassword System.getenv("KEYSTORE_PASS")
}
// debug {
// storeFile file('D:\\Projects\\afu-4-code\\my-keystore.jks')
// storePassword System.getenv("KEYSTORE_PASS")
// keyAlias 'myalias'
// keyPassword System.getenv("KEYSTORE_PASS")
// }
release {
storeFile file('D:\\Projects\\afu-4-code\\my-keystore.jks')
storePassword System.getenv("KEYSTORE_PASS")
Expand All @@ -20,8 +20,8 @@ android {
applicationId "com.vruzhentsov.afu4code"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 3
versionName "0.0.3"
versionCode 4
versionName "0.0.4"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
aaptOptions {
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
Expand All @@ -35,9 +35,9 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
debug {
signingConfig signingConfigs.release
}
// debug {
// signingConfig signingConfigs.debug
// }
}
}

Expand All @@ -59,7 +59,6 @@ dependencies {
implementation project(':capacitor-cordova-android-plugins')
}


apply from: 'capacitor.build.gradle'

try {
Expand Down
4 changes: 3 additions & 1 deletion android/app/capacitor.build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ android {
apply from: "../capacitor-cordova-android-plugins/cordova.variables.gradle"
dependencies {
implementation project(':capacitor-app')
implementation project(':capacitor-filesystem')
implementation project(':capacitor-haptics')
implementation project(':capacitor-keyboard')
implementation project(':capacitor-share')
implementation project(':capacitor-status-bar')

}

apply from: "../../node_modules/cordova-plugin-ionic/src/android/cordovapluginionic.gradle"

if (hasProperty('postBuildExtras')) {
postBuildExtras()
Expand Down
2 changes: 2 additions & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,6 @@
<!-- Permissions -->

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
</manifest>
14 changes: 10 additions & 4 deletions android/app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
<?xml version='1.0' encoding='utf-8'?>
<resources>
<string name="app_name">AFU-4-code</string>
<string name="title_activity_main">AFU-4-code</string>
<string name="package_name">com.vruzhentsov.afu4code</string>
<string name="custom_url_scheme">com.vruzhentsov.afu4code</string>
<string name="app_name">AFU-4-code</string>
<string name="title_activity_main">AFU-4-code</string>
<string name="package_name">com.vruzhentsov.afu4code</string>
<string name="custom_url_scheme">com.vruzhentsov.afu4code</string>
<string name="ionic_app_id">c9d36f67</string>
<string name="ionic_channel_name">Production</string>
<string name="ionic_update_method">background</string>
<string name="ionic_max_versions">2</string>
<string name="ionic_min_background_duration">30</string>
<string name="ionic_update_api">https://api.ionicjs.com</string>
</resources>
6 changes: 6 additions & 0 deletions android/capacitor.settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,17 @@ project(':capacitor-android').projectDir = new File('../node_modules/@capacitor/
include ':capacitor-app'
project(':capacitor-app').projectDir = new File('../node_modules/@capacitor/app/android')

include ':capacitor-filesystem'
project(':capacitor-filesystem').projectDir = new File('../node_modules/@capacitor/filesystem/android')

include ':capacitor-haptics'
project(':capacitor-haptics').projectDir = new File('../node_modules/@capacitor/haptics/android')

include ':capacitor-keyboard'
project(':capacitor-keyboard').projectDir = new File('../node_modules/@capacitor/keyboard/android')

include ':capacitor-share'
project(':capacitor-share').projectDir = new File('../node_modules/@capacitor/share/android')

include ':capacitor-status-bar'
project(':capacitor-status-bar').projectDir = new File('../node_modules/@capacitor/status-bar/android')
1 change: 1 addition & 0 deletions android/variables.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ ext {
junitVersion = '4.13.2'
androidxJunitVersion = '1.1.3'
androidxEspressoCoreVersion = '3.4.0'
androidxBrowserVersion = '1.4.0'
cordovaAndroidVersion = '10.1.1'
}
3 changes: 2 additions & 1 deletion ionic.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"integrations": {
"capacitor": {}
},
"type": "react"
"type": "react",
"id": "c9d36f67"
}
Loading

0 comments on commit f5c61fd

Please sign in to comment.