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

feat: move all storage to rust #780

Merged
merged 34 commits into from
Jul 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
ff7b100
FEAT: MFP sled database for android
Slesarew Jun 10, 2021
0af4120
feat: network db handling utils
Slesarew Jun 10, 2021
1216f4a
docs: signing and parsing modules documentation
Slesarew Jun 10, 2021
5b4c3dc
fix: gitignore to ignore temporary db files in db handling tests
Slesarew Jun 11, 2021
ce4fdeb
refactor: move network specs constants to rust side
Slesarew Jun 11, 2021
d3ee2e4
fix: gitignore typo
Slesarew Jun 11, 2021
c15da16
fix: gitignoring properly
Slesarew Jun 11, 2021
8ee12d9
test: cleanup db tests locations
Slesarew Jun 11, 2021
65590f8
feat: part of bridge to access new network specs storage from RN
Slesarew Jun 11, 2021
b064d79
refactor: organize all cards and errors in transaction parsing into e…
Slesarew Jun 14, 2021
f9d94f9
feat: network selector queries db. And some cleanup.
Slesarew Jun 14, 2021
d84ac61
test: add test feature to show all payload info cards
Slesarew Jun 15, 2021
012319f
feat: MWP metadata signing app example
Slesarew Jun 15, 2021
8f60697
feat: MWP fetch and show derivations for given seed and network
Slesarew Jun 16, 2021
33007e8
feat: removed RN data storages; app loads and fetches some data - MWP
Slesarew Jun 16, 2021
e7ad3b9
feat: prepare fetched metadata for signing and save to db instead of …
Slesarew Jun 21, 2021
b4f0c5c
feat: account creation in db and signed metadata checks
Slesarew Jun 22, 2021
9b7a2f1
feat: generate metadata qr codes; also bridge Rust to RN
Slesarew Jun 22, 2021
b0b46d2
feat: load type specs and some refactor
Slesarew Jun 24, 2021
951c40b
feat: add hw backed key generation section to android
Slesarew Jun 24, 2021
838cc05
fix: gitignore
Slesarew Jun 28, 2021
7806686
feat: automatic fetch chainspecs
Slesarew Jun 28, 2021
9596728
fix: create new seed
Slesarew Jun 28, 2021
8826374
fix: mwp address list screen
Slesarew Jun 29, 2021
8c79a64
feat: replace ethsign with XSalsa20Poly1305; just to save this state …
Slesarew Jun 29, 2021
5a79561
feat: native credential-only unlock screen for Android (defunct)
Slesarew Jul 1, 2021
8d623f5
fix: unhang app on auth
Slesarew Jul 1, 2021
2dc750b
feat: HW keys for android (auth screen freezes thread, WIP)
Slesarew Jul 1, 2021
30a42f1
fix: proper thread locks for biometric prompt (Android)
Slesarew Jul 2, 2021
5bb9106
fix: fetch all seed names
Slesarew Jul 2, 2021
1838f4c
feat: add seed button
Slesarew Jul 5, 2021
c69916c
feat: POC identity cards render
Slesarew Jul 5, 2021
877328e
fix: recover seed now works similar to create seed
Slesarew Jul 5, 2021
5b10f6e
feat: general look for identity cards
Slesarew Jul 5, 2021
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
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -87,5 +87,6 @@ android/app/bin

# rust
rust/*/target
rust/*/target
rust/*/target
rust/db_handling/signer_database
rust/db_handling/tests
rust/meta_reading/tests
17 changes: 15 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@ android {
defaultConfig {
applicationId "io.parity.signer"
multiDexEnabled true
minSdkVersion 24
minSdkVersion 30
missingDimensionStrategy 'react-native-camera', 'general'
targetSdkVersion 29
targetSdkVersion 30
versionCode 4602
versionName "4.6.2"
ndk {
Expand Down Expand Up @@ -212,6 +212,19 @@ dependencies {
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0"
implementation 'com.android.support:multidex:1.0.3'

implementation "androidx.security:security-crypto:1.0.0"

// For Identity Credential APIs
implementation "androidx.security:security-identity-credential:1.0.0-alpha02"

// For App Authentication APIs
implementation "androidx.security:security-app-authenticator:1.0.0-alpha02"

// For App Authentication API testing
androidTestImplementation "androidx.security:security-app-authenticator:1.0.0-alpha01"
implementation "androidx.biometric:biometric:1.1.0"


if (enableHermes) {
def hermesPath = "../../node_modules/hermes-engine/android/";
debugImplementation files(hermesPath + "hermes-debug.aar")
Expand Down
2 changes: 1 addition & 1 deletion android/app/src/debug/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<uses-permission android:name="android.permission.INTERNET" />
<application android:usesCleartextTraffic="true" tools:targetApi="29" tools:ignore="GoogleAppIndexingWarning" />
<application android:usesCleartextTraffic="true" tools:targetApi="30" tools:ignore="GoogleAppIndexingWarning" />
</manifest>
Loading