Closed ulisesmac closed 3 weeks ago
:grey_question: | Commit | :hash: | Finished (UTC) | Duration | Platform | Result |
---|---|---|---|---|---|---|
:heavy_check_mark: | 3fda24b4 | #4 | 2024-10-30 03:28:17 | ~5 min | tests |
:page_facing_up:log |
:heavy_check_mark: | 3fda24b4 | #4 | 2024-10-30 03:30:17 | ~7 min | android |
:robot:apk :calling: |
:heavy_check_mark: | 3fda24b4 | #4 | 2024-10-30 03:32:44 | ~9 min | ios |
:iphone:ipa :calling: |
:heavy_check_mark: | 3fda24b4 | #4 | 2024-10-30 03:35:37 | ~12 min | android-e2e |
:robot:apk :calling: |
:heavy_check_mark: | 276eea2a | #5 | 2024-11-01 14:55:21 | ~4 min | tests |
:page_facing_up:log |
:heavy_check_mark: | 276eea2a | #5 | 2024-11-01 14:58:39 | ~7 min | android-e2e |
:robot:apk :calling: |
:heavy_check_mark: | 276eea2a | #5 | 2024-11-01 14:59:25 | ~8 min | android |
:robot:apk :calling: |
:heavy_check_mark: | 276eea2a | #5 | 2024-11-01 15:00:53 | ~10 min | ios |
:iphone:ipa :calling: |
@qfrank
I saw there're many other methods like create-account-and-login / init-status-go-logging are not using status-backend server yet, but you will update it later right? Because this is just a solution demo draft?
Oh, these methods are already using the status-backend :thinking: the substitution is probably unclear since I wanted to have a low impact in the codebase. We call the status backend when we execute a method from a native module.
Feel free to ping me on Discord if you have more questions.
@ilmotta Pushed new code adding the shadow-cljs config stuff.
If the env var is marked (or the goog-define
is set) as true
the status backend runs. Ofc, it lacks of the proper migration for all the endpoints, we cannot complete the onboarding yet, but I think the code is good enough to be merged.
The only one point that I didn't addresss (since it still has an open discussion) is about the callback added in a promise flow.
We changed the approach to a native implementation
This PR is to show the current progress on the status-backend integration.
Setup
If you are willing to run this PR, these are the steps needed:
adb reverse tcp:<PORT> tcp:<PORT>
This is needed to communicate the app with the back-end running on your computerns
status-backend.config
and definedata-dir-path
with your own.If the app is stuck in a black screen, it means we have no connection with status-backend. Sometimes it crashes while creating a profile, sometimes after those steps. This still is a WIP:
https://github.com/user-attachments/assets/d6645e65-dff2-4763-ba98-7c8ae8cd5e44
Implementation details
Please refer to the ns
status-backend.core
for the main implementation and some REPL commands to play with.Strategy to follow
In order to completely integrate status-backend, we need to port some native modules, see the discussion here.
So this PR is presenting an initial progress that consist of: