Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚀[Release v2.13.0] Merge into Main #301

Merged
merged 25 commits into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
8599cc4
🚀[Release v2.11.1 071024] Merge into Develop (#245)
kcw-grunt Oct 7, 2024
88a0fc3
Added Fiat feature, and FCM for push notifications (#247)
josikie Oct 10, 2024
ec48627
Tech debt/add af sdk (#248)
kcw-grunt Oct 10, 2024
ead2d92
Techdebt/refactor brevents syncmarkers (#254)
kcw-grunt Oct 23, 2024
aaffb34
Techdebt/ fixed send issue add syncing measurements (#255)
kcw-grunt Nov 1, 2024
8fddb76
Techdebt/test refactor cruft removal (#250)
kcw-grunt Nov 1, 2024
11d5f25
fix: [#152] make sure using Fragment, FragmentManager and FragmentTra…
andhikayuana Nov 8, 2024
1c1e19c
fix: [#126] the issue came from FragmentBalanceSeedReminder.fetchSeed…
andhikayuana Nov 12, 2024
0382744
fix: [#264] add null checking for BRKeyStore.removeAliasAndFiles (#270)
andhikayuana Nov 15, 2024
94cc612
fix: [#265] add null checking, migrate viewpage… (#271)
andhikayuana Nov 15, 2024
a11b19a
🚀[Release v2.12.2 20241118] Merge into Develop (#272)
kcw-grunt Nov 18, 2024
734575b
revert minSDkVersion to 29 (#276)
kcw-grunt Nov 19, 2024
aedf585
fix: [#258] avoid OOM with cache the result of opsAll, previously cal…
andhikayuana Nov 21, 2024
342ae91
fix: [#266] add null checking and default value based on iOS since ge…
andhikayuana Nov 21, 2024
cfc463b
fix: [#274] fixing locale on android 14 and setup test using junit & …
andhikayuana Nov 25, 2024
e15e5a4
chore: [#126] simplify exception handling at BRKeyStore._getData and …
andhikayuana Nov 28, 2024
1407df0
Techdebt/remove auth prompt (#256)
kcw-grunt Nov 30, 2024
7e2c42a
🚀[Release v2.12.4 20241130] Merge into Develop (#286)
kcw-grunt Dec 2, 2024
e5611ca
Added abilities to copy transaction id by click the transaction id (#…
josikie Dec 7, 2024
771c9ae
version and code bump
kcw-grunt Dec 8, 2024
d6ee1f7
Unit Test(s) Migration (#287)
andhikayuana Dec 12, 2024
7b5a20d
feat: remote config feature toggle (#293)
andhikayuana Dec 12, 2024
c9b7bb9
version and code bump
kcw-grunt Dec 12, 2024
44108f7
Merge branch 'main' into release/v2.13.0
kcw-grunt Dec 19, 2024
1eb1301
Update .gitignore
kcw-grunt Dec 19, 2024
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
46 changes: 36 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,51 @@
# See: https://circleci.com/docs/2.0/configuration-reference
version: 2.1

orbs:
android: circleci/[email protected]

# Define a job to be invoked later in a workflow.
# See: https://circleci.com/docs/2.0/configuration-reference/#jobs
jobs:
say-hello:
# Specify the execution environment. You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub.
# See: https://circleci.com/docs/2.0/configuration-reference/#docker-machine-macos-windows-executor
docker:
- image: cimg/base:stable
# Add steps to the job
# See: https://circleci.com/docs/2.0/configuration-reference/#steps
unit-test:
executor:
name: android/android_machine
resource_class: large
tag: default
steps:
- checkout
- run:
name: "Say hello"
command: "echo Hello, World!"
command: "echo Hello, World! && ls"
- run:
name: "Default for gradle.properties"
command: "echo \"RELEASE_STORE_FILE=/\nRELEASE_STORE_PASSWORD=\nRELEASE_KEY_ALIAS=\nRELEASE_KEY_PASSWORD=\nandroid.useAndroidX=true\nandroid.enableJetifier=true\" >> gradle.properties && ls && cat gradle.properties"
- run:
name: "Initialize submodule"
command: "git submodule init && git submodule update --init --recursive"
- run:
name: "Copy google-services.json"
command: echo "$GOOGLE_SERVICES_JSON" | base64 --decode > app/google-services.json
- android/restore_gradle_cache
- run:
name: "Execute Unit Test"
command: ./gradlew testLitewalletDebugUnitTest
- android/save_gradle_cache
- run:
name: Save test results
command: |
mkdir -p ~/test-results/junit/
find . -type f -regex ".*/build/test-results/.*xml" -exec cp {} ~/test-results/junit/ \;
when: always
- store_test_results:
path: ~/test-results
- store_artifacts:
path: ~/test-results/junit


# Invoke jobs via workflows
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows
workflows:
say-hello-workflow:
test-and-build:
jobs:
- say-hello
- unit-test
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,5 @@ app/src/litewalletDebug/google-services.json
/.idea/dictionaries/grunt.xml
androidTestResultsUserPreferences.xml
.idea/deploymentTargetSelector.xml
.idea/inspectionProfiles/Project_Default.xml
app/.idea/gradle.xml
3 changes: 3 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

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

51 changes: 27 additions & 24 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,29 +31,30 @@ android {
}
}
assetPacks = [":install_time_asset_pack",":fast_follow_asset_pack_01"]
signingConfigs {
release {
storeFile file(RELEASE_STORE_FILE)
storePassword RELEASE_STORE_PASSWORD
keyAlias RELEASE_KEY_ALIAS
keyPassword RELEASE_KEY_PASSWORD
}
}

Properties props = new Properties()
def propFile = file('../release.properties')
if (propFile.canRead()) {
props.load(new FileInputStream(propFile))

if (props != null && props.containsKey('storeFile') && props.containsKey('storePassword') &&
props.containsKey('keyAlias') && props.containsKey('keyPassword')) {

android.signingConfigs.release.storeFile = file(props['storeFile'])
android.signingConfigs.release.storePassword = props['storePassword']
android.signingConfigs.release.keyAlias = props['keyAlias']
android.signingConfigs.release.keyPassword = props['keyPassword']
}
}
signingConfigs {
release {
storeFile file(RELEASE_STORE_FILE)
storePassword RELEASE_STORE_PASSWORD
keyAlias RELEASE_KEY_ALIAS
keyPassword RELEASE_KEY_PASSWORD
}
}

Properties props = new Properties()
def propFile = file('../release.properties')
if (propFile.canRead()) {
props.load(new FileInputStream(propFile))

if (props != null && props.containsKey('storeFile') && props.containsKey('storePassword') &&
props.containsKey('keyAlias') && props.containsKey('keyPassword')) {

android.signingConfigs.release.storeFile = file(props['storeFile'])
android.signingConfigs.release.storePassword = props['storePassword']
android.signingConfigs.release.keyAlias = props['keyAlias']
android.signingConfigs.release.keyPassword = props['keyPassword']
}
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand All @@ -68,8 +69,8 @@ android {
applicationId = 'com.loafwallet'
minSdkVersion 29
targetSdkVersion 34
versionCode 20241130
versionName "v2.12.4"
versionCode 20241212
versionName "v2.13.0"
multiDexEnabled true
archivesBaseName = "${versionName}(${versionCode})"

Expand Down Expand Up @@ -276,6 +277,7 @@ dependencies {
implementation 'org.json:json:20231013'
implementation 'androidx.navigation:navigation-fragment-ktx:2.7.7'
implementation 'androidx.navigation:navigation-ui-ktx:2.7.7'
implementation 'androidx.test.ext:junit-ktx:1.2.1'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'junit:junit:4.12'
androidTestImplementation('androidx.test.espresso:espresso-core:3.5.1')
Expand Down Expand Up @@ -322,6 +324,7 @@ dependencies {
implementation 'com.google.firebase:firebase-crashlytics'
implementation 'com.google.firebase:firebase-crashlytics-ndk'
implementation('com.google.firebase:firebase-iid:21.1.0')
implementation("com.google.firebase:firebase-config-ktx")

// push notifications
implementation 'com.google.firebase:firebase-messaging:23.4.0'
Expand Down
81 changes: 0 additions & 81 deletions app/src/androidTest/java/com/litewallet/PaperKeyTests.java

This file was deleted.

Loading