-
Notifications
You must be signed in to change notification settings - Fork 83
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
Uniffi demo holder #1058
Uniffi demo holder #1058
Conversation
2239bd1
to
04b8f20
Compare
uniffi_aries_vcx/demo/app/src/main/java/org/hyperledger/ariesvcx/AppDemoController.kt
Outdated
Show resolved
Hide resolved
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1058 +/- ##
=====================================
Coverage 0.05% 0.05%
=====================================
Files 471 471
Lines 24009 24009
Branches 4306 4306
=====================================
Hits 13 13
Misses 23995 23995
Partials 1 1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
1201804
to
a1fad5b
Compare
6618551
to
d32da29
Compare
uniffi_aries_vcx/demo/app/src/main/java/org/hyperledger/ariesvcx/HolderScreen.kt
Outdated
Show resolved
Hide resolved
uniffi_aries_vcx/demo/app/src/main/java/org/hyperledger/ariesvcx/AppDemoController.kt
Outdated
Show resolved
Hide resolved
uniffi_aries_vcx/demo/app/src/main/java/org/hyperledger/ariesvcx/HolderScreen.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some comments above, most just clean up stuff.
Also a general note: try to ensure that Kotlin calls into rust/uniffi are done within Dispatchers.IO
. i.e. ..launch(Dispatchers.IO) {.. }
For instance, processOfferRequest
is launching with viewModelScope.launch
, but you'd want to launch with .launch(Dispatchers.IO)
. If you don't do this, then the Uniffi/rust calls are going to block the main UI thread, which is what causes UI freezes etc
ef1287e
to
fb08cb4
Compare
Signed-off-by: Swapnil Tripathi <[email protected]>
Signed-off-by: Swapnil Tripathi <[email protected]>
Signed-off-by: Swapnil Tripathi <[email protected]>
Signed-off-by: Swapnil Tripathi <[email protected]>
Signed-off-by: Swapnil Tripathi <[email protected]>
Signed-off-by: Swapnil Tripathi <[email protected]>
Signed-off-by: Swapnil Tripathi <[email protected]>
Signed-off-by: Swapnil Tripathi <[email protected]>
No description provided.