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.14.0] Merge into Develop #307

Open
wants to merge 55 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
ad6ac60
🚀[Release v2.11.1 071024] Merge into Main (#246)
kcw-grunt Oct 8, 2024
dcb363e
🚀[Release v2.12.2 20241118] Merge into Main (#273)
kcw-grunt Nov 21, 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
893649d
🚀[Release v2.12.4 20241130] Merge into Main (#285)
kcw-grunt Dec 4, 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
f3a6d9d
fix: just close the FragmentRequestAmount if refreshAddress return fa…
andhikayuana Dec 14, 2024
91da760
feat: implement basic AppsFlyer SDK (#297)
andhikayuana Dec 14, 2024
1114865
version and code bump (#294)
kcw-grunt Dec 15, 2024
39d6fdd
feat: Implement Firebase Cloud Messaging & In-app Messaging (#296)
andhikayuana Dec 19, 2024
247cd06
AAdd tests BRConstants MockK+JUnit4 (#300)
josikie Dec 19, 2024
2ce1e2f
fix: fix User unable to set preferred local fiat currency (#299)
andhikayuana Dec 19, 2024
e7c9ad4
🚀[Release v2.13.0] Merge into Main (#301)
kcw-grunt Dec 19, 2024
f29900c
🦺[Techdebt] chore refactor add circle c ienv (#295)
kcw-grunt Dec 19, 2024
59540fb
Introducing a new KeyStoreManager to handle BRKeyStore related (#291)
andhikayuana Dec 19, 2024
cc1cf62
fix: fix crash android.os.NetworkOnMainThreadException: onPublishTxAu…
andhikayuana Dec 20, 2024
e2cd5ec
Update NotificationHandlerTest.kt (#303)
kcw-grunt Dec 20, 2024
1209365
Updated the README.md (#304)
kcw-grunt Dec 21, 2024
b70ac96
feat: support arabic language (#305)
andhikayuana Dec 21, 2024
fb7e1e5
code and version bump
kcw-grunt Dec 21, 2024
5113776
Moved Arabic location in List
kcw-grunt Dec 21, 2024
28ab598
renamed config workflow
kcw-grunt Dec 21, 2024
18183ae
Update config.yml
kcw-grunt Dec 21, 2024
8af6e24
resolved conflicts
kcw-grunt Dec 21, 2024
0034f00
resolved conflict
kcw-grunt Dec 21, 2024
b457c2f
removed example test
kcw-grunt Dec 21, 2024
6a7e8a5
code bump
kcw-grunt Dec 21, 2024
8f40256
Test
kcw-grunt Dec 22, 2024
6b17e92
removed tabs
kcw-grunt Dec 22, 2024
79e12d8
remvoed more tabs
kcw-grunt Dec 22, 2024
5d7e9e6
found the tab
kcw-grunt Dec 22, 2024
7a213ca
comment out test
kcw-grunt Dec 22, 2024
12bea30
fix config?
kcw-grunt Dec 22, 2024
4e7eefb
remvoed tab
kcw-grunt Dec 22, 2024
63a08e1
found tab
kcw-grunt Dec 22, 2024
b2eb9d6
added indent
kcw-grunt Dec 22, 2024
7c1101b
wipe configs
kcw-grunt Dec 22, 2024
1031350
Test
kcw-grunt Dec 22, 2024
efc8fd6
removed tabs
kcw-grunt Dec 22, 2024
bd0ef60
remvoed more tabs
kcw-grunt Dec 22, 2024
cb93f22
found the tab
kcw-grunt Dec 22, 2024
7160a63
comment out test
kcw-grunt Dec 22, 2024
6e2753a
fix config?
kcw-grunt Dec 22, 2024
6119928
remvoed tab
kcw-grunt Dec 22, 2024
744e247
found tab
kcw-grunt Dec 22, 2024
fffd5f2
added indent
kcw-grunt Dec 22, 2024
225799b
wipe configs
kcw-grunt Dec 22, 2024
ed1e34e
code bump
kcw-grunt Dec 21, 2024
d8bacf2
Restored config
kcw-grunt Dec 22, 2024
34c51e8
Merge branch 'release/v2.14.0' of https://github.com/litecoin-foundat…
kcw-grunt Dec 22, 2024
8ca741b
fixed config
kcw-grunt Dec 22, 2024
daf9a23
removed lwdata
kcw-grunt Dec 22, 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
27 changes: 27 additions & 0 deletions .circleci/circle_env.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/usr/bin/env bash

function copyEnvironmentVariablesToGradleProperties {
DIR="$(pwd)"
GRADLE_PROPERTIES=${DIR}"/gradle.properties"
export GRADLE_PROPERTIES
echo "Gradle Properties should exist at $GRADLE_PROPERTIES"

if [[ ! -f "$GRADLE_PROPERTIES" ]]; then
echo "Gradle Properties does not exist"

echo "Creating Gradle Properties file..."
touch $GRADLE_PROPERTIES

echo "Writing keys to gradle.properties..."
echo "RELEASE_KEYSTORE_FILE=$RELEASE_KEYSTORE_FILE" >> ${GRADLE_PROPERTIES}
echo "RELEASE_KEYSTORE_PASSWORD=$RELEASE_KEYSTORE_PASSWORD" >> ${GRADLE_PROPERTIES}
echo "RELEASE_KEY_ALIAS=$RELEASE_KEY_ALIAS" >> ${GRADLE_PROPERTIES}
echo "RELEASE_KEY_PASSWORD=$RELEASE_KEY_PASSWORD" >> ${GRADLE_PROPERTIES}
fi
}



function fetchKeystore {
sudo gpg --passphrase ${RELEASE_KEYSTORE_ENCRYPTION_KEY} --pinentry-mode loopback -o "app/$RELEASE_KEYSTORE_FILE" -d "upload-binary/$RELEASE_KEYSTORE_FILE.gpg"
}
50 changes: 39 additions & 11 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,53 @@
# See: https://circleci.com/docs/2.0/configuration-reference
version: 2.1

orbs:
android: circleci/android@3.0.2

# 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
all-unit-tests:
executor:
name: android/android_docker
resource_class: large
tag: 2024.07.1-ndk
steps:
- checkout
- run:
name: "Say hello"
command: "echo Hello, World!"
name: "litewallet-android unit test setup..."
command: "echo Building tests for litewallet-android! && ls"
- run:
name: "Initialize submodules"
command: "git submodule init && git submodule update --init --recursive"
- 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: "Export google-services.json to env"
command: echo 'export $GOOGLE_SERVICES_JSON="$GOOGLE_SERVICES_JSON"' >> $BASH_ENV
- run:
name: "decode $GOOGLE_SERVICES_JSON to 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
- all-unit-tests
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,6 @@ app/src/litewalletDebug/google-services.json
/app/debug/google-services.json
/.idea/dictionaries/grunt.xml
androidTestResultsUserPreferences.xml
.idea/deploymentTargetSelector.xml
.idea/inspectionProfiles/Project_Default.xml
/app/upload-binary/*
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
[submodule "app/src/main/jni/loafwallet-core"]
path = app/src/main/jni/loafwallet-core
url = https://github.com/litecoin-foundation/loafwallet-core.git
[submodule "litewallet-data"]
path = litewallet-data
url = https://github.com/gruntsoftware/litewallet-data.git
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so we put the google-services.json and the release.keystore here? @kcw-grunt

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.

47 changes: 0 additions & 47 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,52 +33,5 @@ Simplicity and ease-of-use is **Litewallet**'s core design principle. A simple r
- import [password protected](https://github.com/bitcoin/bips/blob/master/bip-0038.mediawiki) paper wallets
- ["payment protocol"](https://github.com/bitcoin/bips/blob/master/bip-0070.mediawiki) payee identity certification


## Localization

**Litewallet** is available in the following languages:

- Chinese (Simplified and traditional)
- Danish
- Dutch
- English
- French
- German
- Indonesian
- Italian
- Japanese
- Korean
- Portuguese
- Russian
- Spanish
- Swedish

---
## Litewallet Development:
[![GitHub issues](https://img.shields.io/github/issues/litecoin-foundation/loafwallet-android?style=plastic)](https://github.com/litecoin-foundation/loafwallet-android/issues)
[![GitHub pull requests](https://img.shields.io/github/issues-pr/litecoin-foundation/loafwallet-android?color=00ff00&style=plastic)](https://github.com/litecoin-foundation/loafwallet-android/pulls)


### Prerequisites

1. Android Studio (min version Arctic Fox 2020.3.1 patch 3)
2. NDK version r24
3. Java 8

### Building & Developing Litewallet for Android:

1. Clone this repo & update submodules
```bash
$ git clone git@github.com:litecoin-foundation/litewallet-android.git
$ git submodule init
$ git submodule update --init --recursive
```
2. Open the project with Android Studio
3. Go to SDK Manager and download the latest SDK Platforms and SDK Tools
4. Build -> Rebuild Project

### Litewallet Team:
* [Development Code of Conduct](https://github.com/litecoin-foundation/litewallet/blob/master/DEVELOPMENT.md)
---
**Litecoin** source code is available at https://github.com/litecoin-project/litecoin

3 changes: 3 additions & 0 deletions app/.idea/.gitignore

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

1 change: 1 addition & 0 deletions app/.idea/.name

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

23 changes: 23 additions & 0 deletions app/.idea/appInsightsSettings.xml

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

Loading