Skip to content

Commit

Permalink
Setup for new alpha Release
Browse files Browse the repository at this point in the history
- Removed Account Module
- Setup default profile
  • Loading branch information
niyajali committed Jun 14, 2024
1 parent 00af309 commit 3c2cedd
Show file tree
Hide file tree
Showing 41 changed files with 100,513 additions and 319 deletions.
75 changes: 41 additions & 34 deletions .github/workflows/Build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ jobs:
timeout-minutes: 360

steps:
- name: Enable KVM group perms
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
ls /dev/kvm
- name: Checkout
uses: actions/checkout@v4

Expand Down Expand Up @@ -73,40 +80,40 @@ jobs:
disable_globbing: true
commit_message: "🤖 Updates baselines for Dependency Guard"

# - name: Run all local screenshot tests (Roborazzi)
# id: screenshotsverify
# continue-on-error: true
# run: ./gradlew verifyRoborazziDemoDebug
#
# - name: Prevent pushing new screenshots if this is a fork
# id: checkfork_screenshots
# continue-on-error: false
# if: steps.screenshotsverify.outcome == 'failure' && github.event.pull_request.head.repo.full_name != github.repository
# run: |
# echo "::error::Screenshot tests failed, please create a PR in your fork first." && exit 1
#
# # Runs if previous job failed
# - name: Generate new screenshots if verification failed and it's a PR
# id: screenshotsrecord
# if: steps.screenshotsverify.outcome == 'failure' && github.event_name == 'pull_request'
# run: |
# ./gradlew recordRoborazziDemoDebug
#
# - name: Push new screenshots if available
# uses: stefanzweifel/git-auto-commit-action@v5
# if: steps.screenshotsrecord.outcome == 'success'
# with:
# file_pattern: '*/*.png'
# disable_globbing: true
# commit_message: "🤖 Updates screenshots"

# # Run local tests after screenshot tests to avoid wrong UP-TO-DATE. TODO: Ignore screenshots.
# - name: Run local tests and create report
# if: always()
# run: ./gradlew testDemoDebug :lint:test
# # Replace task exclusions with `-Pandroidx.baselineprofile.skipgeneration` when
# # https://android-review.googlesource.com/c/platform/frameworks/support/+/2602790 landed in a
# # release build
# - name: Run all local screenshot tests (Roborazzi)
# id: screenshotsverify
# continue-on-error: true
# run: ./gradlew verifyRoborazziDemoDebug
#
# - name: Prevent pushing new screenshots if this is a fork
# id: checkfork_screenshots
# continue-on-error: false
# if: steps.screenshotsverify.outcome == 'failure' && github.event.pull_request.head.repo.full_name != github.repository
# run: |
# echo "::error::Screenshot tests failed, please create a PR in your fork first." && exit 1
#
# # Runs if previous job failed
# - name: Generate new screenshots if verification failed and it's a PR
# id: screenshotsrecord
# if: steps.screenshotsverify.outcome == 'failure' && github.event_name == 'pull_request'
# run: |
# ./gradlew recordRoborazziDemoDebug
#
# - name: Push new screenshots if available
# uses: stefanzweifel/git-auto-commit-action@v5
# if: steps.screenshotsrecord.outcome == 'success'
# with:
# file_pattern: '*/*.png'
# disable_globbing: true
# commit_message: "🤖 Updates screenshots"

# # Run local tests after screenshot tests to avoid wrong UP-TO-DATE. TODO: Ignore screenshots.
# - name: Run local tests and create report
# if: always()
# run: ./gradlew testDemoDebug :lint:test
# # Replace task exclusions with `-Pandroidx.baselineprofile.skipgeneration` when
# # https://android-review.googlesource.com/c/platform/frameworks/support/+/2602790 landed in a
# # release build

- name: Build all build type and flavor permutations
run: ./gradlew :app:assemble
Expand Down
52 changes: 52 additions & 0 deletions .run/Generate Baseline Profile.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Generate Baseline Profile" type="AndroidBaselineProfileRunConfigurationType" factoryName="Android Baseline Profile Configuration Factory">
<module name="PoposRoom.app" />
<option name="generateAllVariants" value="true" />
<option name="CLEAR_LOGCAT" value="false" />
<option name="SHOW_LOGCAT_AUTOMATICALLY" value="false" />
<option name="TARGET_SELECTION_MODE" value="SHOW_DIALOG" />
<option name="SELECTED_CLOUD_MATRIX_CONFIGURATION_ID" value="-1" />
<option name="SELECTED_CLOUD_MATRIX_PROJECT_ID" value="" />
<option name="DEBUGGER_TYPE" value="Auto" />
<Auto>
<option name="USE_JAVA_AWARE_DEBUGGER" value="false" />
<option name="SHOW_STATIC_VARS" value="true" />
<option name="WORKING_DIR" value="" />
<option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" />
<option name="SHOW_OPTIMIZED_WARNING" value="true" />
<option name="ATTACH_ON_WAIT_FOR_DEBUGGER" value="false" />
<option name="DEBUG_SANDBOX_SDK" value="false" />
</Auto>
<Hybrid>
<option name="USE_JAVA_AWARE_DEBUGGER" value="false" />
<option name="SHOW_STATIC_VARS" value="true" />
<option name="WORKING_DIR" value="" />
<option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" />
<option name="SHOW_OPTIMIZED_WARNING" value="true" />
<option name="ATTACH_ON_WAIT_FOR_DEBUGGER" value="false" />
<option name="DEBUG_SANDBOX_SDK" value="false" />
</Hybrid>
<Java>
<option name="ATTACH_ON_WAIT_FOR_DEBUGGER" value="false" />
<option name="DEBUG_SANDBOX_SDK" value="false" />
</Java>
<Native>
<option name="USE_JAVA_AWARE_DEBUGGER" value="false" />
<option name="SHOW_STATIC_VARS" value="true" />
<option name="WORKING_DIR" value="" />
<option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" />
<option name="SHOW_OPTIMIZED_WARNING" value="true" />
<option name="ATTACH_ON_WAIT_FOR_DEBUGGER" value="false" />
<option name="DEBUG_SANDBOX_SDK" value="false" />
</Native>
<Profilers>
<option name="ADVANCED_PROFILING_ENABLED" value="false" />
<option name="STARTUP_PROFILING_ENABLED" value="false" />
<option name="STARTUP_CPU_PROFILING_ENABLED" value="false" />
<option name="STARTUP_CPU_PROFILING_CONFIGURATION_NAME" value="Java/Kotlin Method Sample (legacy)" />
<option name="STARTUP_NATIVE_MEMORY_PROFILING_ENABLED" value="false" />
<option name="NATIVE_MEMORY_SAMPLE_RATE_BYTES" value="2048" />
</Profilers>
<method v="2" />
</configuration>
</component>
5 changes: 3 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ plugins {
alias(libs.plugins.androidx.baselineprofile)
alias(libs.plugins.roborazzi)
alias(libs.plugins.sentry)
alias(libs.plugins.compiler.report)
id("com.google.android.gms.oss-licenses-plugin")
id("com.google.android.libraries.mapsplatform.secrets-gradle-plugin")
}
Expand Down Expand Up @@ -221,8 +222,8 @@ secrets {
}

dependencies {

implementation(project(":feature:account"))
// Removed for this alpha release
// implementation(project(":feature:account"))
implementation(project(":feature:addonitem"))
implementation(project(":feature:address"))
implementation(project(":feature:cart"))
Expand Down
1 change: 1 addition & 0 deletions app/dependencies/prodReleaseRuntimeClasspath.txt
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ com.google.accompanist:accompanist-drawablepainter:0.32.0
com.google.accompanist:accompanist-navigation-material:0.32.0
com.google.accompanist:accompanist-pager:0.25.1
com.google.accompanist:accompanist-permissions:0.34.0
com.google.accompanist:accompanist-swiperefresh:0.34.0
com.google.accompanist:accompanist-systemuicontroller:0.34.0
com.google.android.datatransport:transport-api:3.1.0
com.google.android.datatransport:transport-backend-cct:3.1.9
Expand Down
Binary file removed app/prod/release/app-prod-release.aab
Binary file not shown.
Binary file not shown.
Binary file not shown.
124 changes: 0 additions & 124 deletions app/prod/release/google-services.json

This file was deleted.

21 changes: 19 additions & 2 deletions app/prod/release/output-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,26 @@
"filters": [],
"attributes": [],
"versionCode": 1,
"versionName": "1.0.0",
"versionName": "1.0.6",
"outputFile": "app-prod-release.apk"
}
],
"elementType": "File"
"elementType": "File",
"baselineProfiles": [
{
"minApi": 28,
"maxApi": 30,
"baselineProfiles": [
"baselineProfiles/1/app-prod-release.dm"
]
},
{
"minApi": 31,
"maxApi": 2147483647,
"baselineProfiles": [
"baselineProfiles/0/app-prod-release.dm"
]
}
],
"minSdkVersionForDexing": 26
}
20 changes: 10 additions & 10 deletions app/prodRelease-badging.txt
Original file line number Diff line number Diff line change
Expand Up @@ -105,19 +105,19 @@ application-label-zh-CN:'Popos'
application-label-zh-HK:'Popos'
application-label-zh-TW:'Popos'
application-label-zu:'Popos'
application-icon-120:'res/mipmap-anydpi-v26/ic_launcher.xml'
application-icon-160:'res/mipmap-anydpi-v26/ic_launcher.xml'
application-icon-240:'res/mipmap-anydpi-v26/ic_launcher.xml'
application-icon-320:'res/mipmap-anydpi-v26/ic_launcher.xml'
application-icon-480:'res/mipmap-anydpi-v26/ic_launcher.xml'
application-icon-640:'res/mipmap-anydpi-v26/ic_launcher.xml'
application-icon-65534:'res/mipmap-anydpi-v26/ic_launcher.xml'
application: label='Popos' icon='res/mipmap-anydpi-v26/ic_launcher.xml'
application-icon-160:'res/mipmap-anydpi-v21/ic_launcher.xml'
application-icon-240:'res/mipmap-anydpi-v21/ic_launcher.xml'
application-icon-320:'res/mipmap-anydpi-v21/ic_launcher.xml'
application-icon-480:'res/mipmap-anydpi-v21/ic_launcher.xml'
application-icon-640:'res/mipmap-anydpi-v21/ic_launcher.xml'
application-icon-65534:'res/mipmap-anydpi-v21/ic_launcher.xml'
application-icon-65535:'res/mipmap-anydpi-v21/ic_launcher.xml'
application: label='Popos' icon='res/mipmap-anydpi-v21/ic_launcher.xml'
launchable-activity: name='com.niyaj.poposroom.MainActivity' label='' icon=''
property: name='android.adservices.AD_SERVICES_CONFIG' resource='res/xml/ga_ad_services_config.xml'
uses-library-not-required:'android.ext.adservices'
uses-library-not-required:'androidx.window.extensions'
uses-library-not-required:'androidx.window.sidecar'
uses-library-not-required:'android.ext.adservices'
feature-group: label=''
uses-feature: name='android.hardware.bluetooth'
uses-implied-feature: name='android.hardware.bluetooth' reason='requested android.permission.BLUETOOTH permission, requested android.permission.BLUETOOTH_ADMIN permission, and targetSdkVersion > 4'
Expand All @@ -132,5 +132,5 @@ other-services
supports-screens: 'small' 'normal' 'large' 'xlarge'
supports-any-density: 'true'
locales: '--_--' 'af' 'am' 'ar' 'as' 'az' 'be' 'bg' 'bn' 'bs' 'ca' 'cs' 'da' 'de' 'el' 'en-AU' 'en-CA' 'en-GB' 'en-IN' 'en-XC' 'es' 'es-US' 'et' 'eu' 'fa' 'fi' 'fr' 'fr-CA' 'gl' 'gu' 'hi' 'hr' 'hu' 'hy' 'in' 'is' 'it' 'iw' 'ja' 'ka' 'kk' 'km' 'kn' 'ko' 'ky' 'lo' 'lt' 'lv' 'mk' 'ml' 'mn' 'mr' 'ms' 'my' 'nb' 'ne' 'nl' 'or' 'pa' 'pl' 'pt' 'pt-BR' 'pt-PT' 'ro' 'ru' 'si' 'sk' 'sl' 'sq' 'sr' 'sr-Latn' 'sv' 'sw' 'ta' 'te' 'th' 'tl' 'tr' 'uk' 'ur' 'uz' 'vi' 'zh-CN' 'zh-HK' 'zh-TW' 'zu'
densities: '120' '160' '240' '320' '480' '640' '65534'
densities: '160' '240' '320' '480' '640' '65534' '65535'
native-code: 'arm64-v8a' 'armeabi-v7a' 'x86' 'x86_64'
Loading

0 comments on commit 3c2cedd

Please sign in to comment.