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

[DO NOT MERGE] Nim-Status: iOS/Android support #10936

Closed
wants to merge 7 commits into from

Conversation

vitvly
Copy link
Contributor

@vitvly vitvly commented Jul 10, 2020

Depends on status-im/nim-status#44 (only because it's behind master for now)

Overview

nim-status is a wrapper around status-go. Currently status-go is transformed into something that can be consumed by Android/iOS with help of gomobile (https://github.com/golang/go/wiki/Mobile). In this PR, gomobile outputs are replaced by 2 libs (static/shared) - libstatus and libnim_status, compiled from status-go and nim-status respectively.

To that end, 2 new derivations are added to nix/status-go - shared (for status-go builds) and nim-status (for nim-status builds).

Huge thanks to @jakubgs for hand-holding during Nix travails.

@vitvly vitvly self-assigned this Jul 10, 2020
@status-im-auto
Copy link
Member

status-im-auto commented Jul 10, 2020

Jenkins Builds

Click to see older builds (242)
Commit #️⃣ Finished (UTC) Duration Platform Result
adbd7e1 #1 2020-07-10 09:58:28 ~3 min ios 📄log
✔️ adbd7e1 #1 2020-07-10 10:07:39 ~12 min android 📦apk 📲
✔️ adbd7e1 #1 2020-07-10 10:10:17 ~15 min android-e2e 📦apk 📲
9d4e1d6 #2 2020-07-22 14:08:27 ~23 sec ios 📄log
9d4e1d6 #2 2020-07-22 14:08:28 ~25 sec android 📄log
9d4e1d6 #2 2020-07-22 14:08:36 ~36 sec android-e2e 📄log
3923a5e #3 2020-07-22 15:00:09 ~15 sec android-e2e 📄log
3923a5e #3 2020-07-22 15:00:11 ~13 sec ios 📄log
3923a5e #3 2020-07-22 15:00:13 ~17 sec android 📄log
c383752 #4 2020-08-06 16:00:44 ~14 sec android-e2e 📄log
c383752 #4 2020-08-06 16:00:46 ~14 sec android 📄log
c383752 #4 2020-08-06 16:00:48 ~15 sec ios 📄log
e271091 #5 2020-08-10 11:15:16 ~18 sec ios 📄log
e271091 #5 2020-08-10 11:15:17 ~22 sec android 📄log
e271091 #5 2020-08-10 11:15:20 ~25 sec android-e2e 📄log
9a8231c #6 2020-08-10 14:16:05 ~15 sec android-e2e 📄log
9a8231c #6 2020-08-10 14:16:15 ~23 sec android 📄log
9a8231c #6 2020-08-10 14:16:19 ~26 sec ios 📄log
dabc7fe #7 2020-08-10 16:14:47 ~13 sec android 📄log
dabc7fe #7 2020-08-10 16:14:49 ~17 sec android-e2e 📄log
dabc7fe #7 2020-08-10 16:14:50 ~15 sec ios 📄log
7d822b7 #8 2020-08-18 11:12:32 ~14 sec android-e2e 📄log
7d822b7 #8 2020-08-18 11:12:33 ~13 sec android 📄log
7d822b7 #8 2020-08-18 11:12:50 ~28 sec ios 📄log
f28b595 #9 2020-08-18 12:56:23 ~17 sec android 📄log
f28b595 #9 2020-08-18 12:56:24 ~15 sec ios 📄log
f28b595 #9 2020-08-18 12:56:30 ~18 sec android-e2e 📄log
701009b #10 2020-08-18 13:14:47 ~16 sec android-e2e 📄log
701009b #10 2020-08-18 13:14:48 ~13 sec ios 📄log
701009b #10 2020-08-18 13:14:48 ~14 sec android 📄log
f1492d1 #11 2020-08-18 15:00:38 ~35 sec android-e2e 📄log
f1492d1 #11 2020-08-18 15:00:39 ~31 sec ios 📄log
f1492d1 #11 2020-08-18 15:00:39 ~33 sec android 📄log
cec0722 #12 2020-08-27 14:47:06 ~6 min ios 📄log
cec0722 #12 2020-08-27 14:50:20 ~9 min android-e2e 📄log
cec0722 #12 2020-08-27 14:52:44 ~11 min android 📄log
7a610d8 #13 2020-08-28 10:28:46 ~3 min ios 📄log
8fe680b #14 2020-08-28 10:34:03 ~3 min ios 📄log
8fe680b #14 2020-08-28 10:37:42 ~7 min android 📄log
8fe680b #14 2020-08-28 10:38:41 ~8 min android-e2e 📄log
301a48d #15 2020-08-28 11:24:17 ~3 min ios 📄log
301a48d #15 2020-08-28 11:31:41 ~11 min android-e2e 📄log
301a48d #15 2020-08-28 11:31:41 ~11 min android 📄log
9faadc8 #16 2020-08-28 11:43:13 ~6 min ios 📄log
9faadc8 #16 2020-08-28 11:51:01 ~14 min android 📄log
9faadc8 #16 2020-08-28 11:51:01 ~14 min android-e2e 📄log
6cb7678 #17 2020-09-18 10:36:23 ~17 sec android 📄log
6cb7678 #17 2020-09-18 10:36:23 ~19 sec android-e2e 📄log
6cb7678 #17 2020-09-18 10:36:34 ~26 sec ios 📄log
16d4911 #18 2020-09-18 11:02:20 ~13 sec android 📄log
16d4911 #18 2020-09-18 11:02:21 ~13 sec ios 📄log
16d4911 #18 2020-09-18 11:02:23 ~18 sec android-e2e 📄log
c5fb6d4 #19 2020-09-18 11:07:24 ~11 sec android-e2e 📄log
4c78550 #20 2020-09-18 11:07:37 ~12 sec android-e2e 📄log
4c78550 #20 2020-09-18 11:07:38 ~11 sec android 📄log
4c78550 #20 2020-09-18 11:07:41 ~12 sec ios 📄log
0275b7f #21 2020-09-18 11:09:11 ~12 sec android-e2e 📄log
0275b7f #21 2020-09-18 11:09:13 ~12 sec android 📄log
0275b7f #21 2020-09-18 11:09:17 ~14 sec ios 📄log
1051aab #22 2020-09-18 11:11:08 ~12 sec android-e2e 📄log
1051aab #22 2020-09-18 11:11:10 ~11 sec android 📄log
1051aab #22 2020-09-18 11:11:14 ~14 sec ios 📄log
3dfaab7 #23 2020-09-18 11:11:26 ~11 sec android-e2e 📄log
3dfaab7 #23 2020-09-18 11:11:28 ~11 sec android 📄log
3dfaab7 #23 2020-09-18 11:11:31 ~12 sec ios 📄log
6bb39cc #24 2020-09-18 12:23:52 ~4 min ios 📄log
2ee61f8 #25 2020-09-18 12:33:11 ~6 min ios 📄log
2ee61f8 #25 2020-09-18 12:34:34 ~8 min android-e2e 📄log
2ee61f8 #25 2020-09-18 12:35:09 ~8 min android 📄log
1010bf1 #26 2020-09-20 12:01:16 ~4 min ios 📄log
1010bf1 #26 2020-09-20 12:07:35 ~11 min android 📄log
1010bf1 #26 2020-09-20 12:07:43 ~11 min android-e2e 📄log
0701736 #27 2020-09-20 12:14:26 ~4 min ios 📄log
0701736 #27 2020-09-20 12:21:58 ~11 min android 📄log
0701736 #27 2020-09-20 12:21:59 ~11 min android-e2e 📄log
53329cb #28 2020-09-21 14:03:29 ~3 min ios 📄log
53329cb #28 2020-09-21 14:10:49 ~11 min android 📄log
53329cb #28 2020-09-21 14:10:49 ~11 min android-e2e 📄log
6577f37 #29 2020-09-22 11:17:47 ~3 min ios 📄log
✔️ 6577f37 #29 2020-09-22 11:26:54 ~12 min android 📦apk 📲
✔️ 6577f37 #29 2020-09-22 11:27:07 ~13 min android-e2e 📦apk 📲
cc1bd3e #30 2020-09-23 15:24:09 ~4 min ios 📄log
✔️ cc1bd3e #30 2020-09-23 15:34:38 ~14 min android-e2e 📦apk 📲
✔️ cc1bd3e #30 2020-09-23 15:34:43 ~14 min android 📦apk 📲
d0db222 #31 2020-09-23 20:25:51 ~3 min ios 📄log
✔️ d0db222 #31 2020-09-23 20:37:38 ~15 min android-e2e 📦apk 📲
✔️ d0db222 #31 2020-09-23 20:37:49 ~15 min android 📦apk 📲
690d690 #32 2020-09-29 12:25:27 ~4 min ios 📄log
326085a #33 2020-09-29 12:34:07 ~6 min ios 📄log
✔️ 326085a #33 2020-09-29 12:40:14 ~13 min android 📦apk 📲
✔️ 326085a #33 2020-09-29 12:41:54 ~14 min android-e2e 📦apk 📲
405df3e #34 2020-09-29 16:45:27 ~8 min ios 📄log
✔️ 405df3e #34 2020-09-29 16:49:56 ~13 min android 📦apk 📲
✔️ 405df3e #34 2020-09-29 16:50:03 ~13 min android-e2e 📦apk 📲
e142ea9 #35 2020-09-29 17:11:21 ~9 min ios 📄log
✔️ e142ea9 #35 2020-09-29 17:16:25 ~14 min android 📦apk 📲
✔️ e142ea9 #35 2020-09-29 17:17:17 ~14 min android-e2e 📦apk 📲
✔️ b55c571 #36 2020-09-29 19:10:59 ~12 min android-e2e 📦apk 📲
✔️ b55c571 #36 2020-09-29 19:11:12 ~12 min android 📦apk 📲
✔️ b55c571 #36 2020-09-29 19:14:08 ~15 min ios 📦ipa 📲
✔️ 1d67939 #37 2020-09-30 07:47:36 ~13 min ios 📦ipa 📲
✔️ 1d67939 #37 2020-09-30 07:47:42 ~13 min android-e2e 📦apk 📲
✔️ 1d67939 #37 2020-09-30 07:47:43 ~13 min android 📦apk 📲
✔️ 797b108 #38 2020-09-30 08:10:51 ~12 min android-e2e 📦apk 📲
✔️ 797b108 #38 2020-09-30 08:11:23 ~13 min android 📦apk 📲
✔️ 797b108 #38 2020-09-30 08:12:33 ~14 min ios 📦ipa 📲
✔️ 08e6085 #39 2020-10-06 13:43:36 ~12 min android-e2e 📦apk 📲
✔️ 08e6085 #39 2020-10-06 13:43:37 ~12 min android 📦apk 📲
✔️ 08e6085 #39 2020-10-06 13:47:26 ~16 min ios 📦ipa 📲
✔️ f5cdc06 #40 2020-10-06 15:42:50 ~14 min android-e2e 📦apk 📲
✔️ f5cdc06 #40 2020-10-06 15:43:04 ~14 min android 📦apk 📲
✔️ f5cdc06 #40 2020-10-06 15:47:07 ~18 min ios 📦ipa 📲
✔️ 5d2790b #41 2020-10-07 08:39:51 ~13 min android-e2e 📦apk 📲
✔️ 5d2790b #41 2020-10-07 08:39:58 ~13 min android 📦apk 📲
✔️ 5d2790b #41 2020-10-07 08:42:07 ~16 min ios 📦ipa 📲
5cf8c5a #42 2020-10-07 15:36:57 ~2 min android 📄log
5cf8c5a #42 2020-10-07 15:37:24 ~3 min android-e2e 📄log
✔️ 5cf8c5a #42 2020-10-07 15:52:32 ~18 min ios 📦ipa 📲
✔️ 9094f82 #43 2020-10-07 18:10:26 ~14 min android 📦apk 📲
✔️ 9094f82 #43 2020-10-07 18:10:29 ~14 min android-e2e 📦apk 📲
✔️ 9094f82 #43 2020-10-07 18:19:08 ~23 min ios 📦ipa 📲
✔️ f3b7053 #44 2020-10-07 18:11:34 ~14 min android-e2e 📦apk 📲
✔️ f3b7053 #44 2020-10-07 18:11:46 ~14 min android 📦apk 📲
f3b7053 #44 2020-10-07 18:12:53 ~15 min ios 📄log
✔️ f3b7053 #45 2020-10-07 18:58:34 ~17 min ios 📦ipa 📲
2de6430 #46 2020-10-13 08:20:07 ~2 min ios 📄log
2de6430 #45 2020-10-13 08:20:33 ~3 min android 📄log
2de6430 #45 2020-10-13 08:20:33 ~3 min android-e2e 📄log
9e15efe #46 2020-10-13 08:23:06 ~2 min android-e2e 📄log
9e15efe #46 2020-10-13 08:23:25 ~2 min android 📄log
✔️ 9e15efe #47 2020-10-13 08:31:38 ~11 min ios 📦ipa 📲
66820df #47 2020-10-13 08:46:50 ~3 min android-e2e 📄log
66820df #47 2020-10-13 08:46:52 ~3 min android 📄log
✔️ 66820df #48 2020-10-13 08:58:41 ~15 min ios 📦ipa 📲
915fe10 #48 2020-10-13 13:16:23 ~3 min android-e2e 📄log
915fe10 #48 2020-10-13 13:16:53 ~3 min android 📄log
915fe10 #49 2020-10-13 13:22:21 ~9 min ios 📄log
f4ee8f5 #50 2020-10-13 13:52:31 ~9 min ios 📄log
f4ee8f5 #49 2020-10-13 13:53:56 ~10 min android 📄log
f4ee8f5 #49 2020-10-13 14:03:03 ~20 min android-e2e 📄log
b81cfa1 #50 2020-10-13 13:59:39 ~3 min android-e2e 📄log
b81cfa1 #50 2020-10-13 14:05:05 ~8 min android 📄log
b81cfa1 #51 2020-10-13 14:05:44 ~9 min ios 📄log
a30feb4 #51 2020-10-13 14:04:58 ~3 min android-e2e 📄log
a30feb4 #51 2020-10-13 14:09:22 ~7 min android 📄log
a30feb4 #52 2020-10-13 14:14:01 ~12 min ios 📄log
49d16dc #52 2020-10-13 14:23:45 ~9 min android-e2e 📄log
49d16dc #52 2020-10-13 14:23:58 ~9 min android 📄log
✔️ 49d16dc #53 2020-10-13 14:29:26 ~14 min ios 📦ipa 📲
45cdaf7 #53 2020-10-13 15:08:23 ~9 min android-e2e 📄log
✔️ 45cdaf7 #54 2020-10-13 15:11:49 ~12 min ios 📦ipa 📲
45cdaf7 #53 2020-10-13 15:15:58 ~17 min android 📄log
64ebfb4 #54 2020-10-13 19:30:55 ~4 min android 📄log
64ebfb4 #54 2020-10-13 19:31:02 ~4 min android-e2e 📄log
✔️ 64ebfb4 #55 2020-10-13 19:37:57 ~11 min ios 📦ipa 📲
cea3eec #55 2020-10-13 20:07:09 ~4 min android-e2e 📄log
cea3eec #55 2020-10-13 20:07:13 ~4 min android 📄log
18045f3 #56 2020-10-14 08:51:00 ~3 min android-e2e 📄log
18045f3 #56 2020-10-14 08:51:09 ~3 min android 📄log
✔️ 18045f3 #57 2020-10-14 09:04:27 ~16 min ios 📦ipa 📲
8aa0ade #57 2020-10-14 09:08:04 ~4 min android 📄log
8aa0ade #57 2020-10-14 09:09:10 ~5 min android-e2e 📄log
✔️ 8aa0ade #58 2020-10-14 09:19:04 ~15 min ios 📦ipa 📲
bd2c89b #58 2020-10-14 09:18:56 ~3 min android 📄log
bd2c89b #58 2020-10-14 09:20:45 ~4 min android-e2e 📄log
✔️ bd2c89b #59 2020-10-14 09:31:11 ~15 min ios 📦ipa 📲
b015bb7 #59 2020-10-14 09:27:06 ~3 min android-e2e 📄log
b015bb7 #59 2020-10-14 09:27:35 ~3 min android 📄log
✔️ b015bb7 #60 2020-10-14 09:36:55 ~12 min ios 📦ipa 📲
387c4a3 #60 2020-10-14 09:37:20 ~3 min android 📄log
387c4a3 #60 2020-10-14 09:37:36 ~3 min android-e2e 📄log
✔️ 387c4a3 #61 2020-10-14 09:45:04 ~11 min ios 📦ipa 📲
ea7d800 #61 2020-10-14 09:58:44 ~4 min android 📄log
ea7d800 #61 2020-10-14 09:58:58 ~4 min android-e2e 📄log
✔️ ea7d800 #62 2020-10-14 10:06:49 ~12 min ios 📦ipa 📲
112fecc #62 2020-10-14 10:10:29 ~4 min android-e2e 📄log
112fecc #62 2020-10-14 10:10:37 ~4 min android 📄log
✔️ 112fecc #63 2020-10-14 10:18:54 ~12 min ios 📦ipa 📲
✔️ bb7bbc5 #64 2020-10-14 11:48:17 ~12 min ios 📦ipa 📲
✔️ bb7bbc5 #63 2020-10-14 11:51:16 ~15 min android-e2e 📦apk 📲
✔️ bb7bbc5 #63 2020-10-14 11:51:24 ~15 min android 📦apk 📲
93c81d0 #64 2020-10-27 11:34:42 ~4 min android 📄log
✔️ 93c81d0 #64 2020-10-27 11:45:04 ~15 min android-e2e 📦apk 📲
✔️ 93c81d0 #65 2020-10-27 11:46:19 ~16 min ios 📦ipa 📲
✔️ 0fcf522 #65 2020-10-27 12:20:14 ~14 min android-e2e 📦apk 📲
✔️ 0fcf522 #65 2020-10-27 12:20:25 ~14 min android 📦apk 📲
✔️ 0fcf522 #66 2020-10-27 12:26:32 ~21 min ios 📦ipa 📲
✔️ c9ac1e7 #66 2020-10-28 15:32:59 ~14 min android 📦apk 📲
✔️ c9ac1e7 #66 2020-10-28 15:33:30 ~14 min android-e2e 📦apk 📲
✔️ c9ac1e7 #67 2020-10-28 15:38:48 ~20 min ios 📦ipa 📲
9bcc39c #68 2020-10-29 13:32:11 ~5 min ios 📄log
9bcc39c #67 2020-10-29 13:32:56 ~5 min android 📄log
9bcc39c #67 2020-10-29 13:32:57 ~6 min android-e2e 📄log
df7e30e #68 2020-10-30 16:12:43 ~3 min android 📄log
df7e30e #68 2020-10-30 16:12:43 ~3 min android-e2e 📄log
df7e30e #69 2020-10-30 16:12:46 ~3 min ios 📄log
422d982 #69 2020-10-30 16:22:30 ~2 min android 📄log
422d982 #70 2020-10-30 16:22:35 ~3 min ios 📄log
422d982 #69 2020-10-30 16:24:46 ~5 min android-e2e 📄log
8115dfc #71 2020-10-30 16:46:05 ~3 min ios 📄log
8115dfc #70 2020-10-30 16:46:13 ~3 min android-e2e 📄log
8115dfc #70 2020-10-30 16:46:13 ~3 min android 📄log
e46d56f #72 2020-10-30 16:53:09 ~3 min ios 📄log
e46d56f #71 2020-10-30 16:53:19 ~3 min android 📄log
e46d56f #71 2020-10-30 16:53:21 ~3 min android-e2e 📄log
8c1333e #73 2020-10-30 17:07:28 ~9 min ios 📄log
8c1333e #72 2020-10-30 17:13:30 ~15 min android-e2e 📄log
8c1333e #72 2020-10-30 17:13:31 ~15 min android 📄log
a136346 #74 2020-10-30 19:30:47 ~6 min ios 📄log
✔️ a136346 #73 2020-10-30 19:36:55 ~12 min android-e2e 📦apk 📲
7288c79 #75 2020-11-02 10:46:54 ~3 min ios 📄log
✔️ 7288c79 #74 2020-11-02 10:55:53 ~12 min android-e2e 📦apk 📲
✔️ 7288c79 #74 2020-11-02 10:56:07 ~12 min android 📦apk 📲
✔️ 8652953 #75 2020-11-02 11:03:03 ~11 min android-e2e 📦apk 📲
✔️ 8652953 #75 2020-11-02 11:03:10 ~11 min android 📦apk 📲
✔️ 8652953 #76 2020-11-02 11:03:54 ~12 min ios 📦ipa 📲
17e7ab0 #76 2020-11-05 13:35:08 ~11 min android-e2e 📄log
17e7ab0 #77 2020-11-05 13:39:02 ~15 min ios 📄log
17e7ab0 #76 2020-11-05 13:39:13 ~15 min android 📄log
e49198e #77 2020-11-05 13:36:02 ~11 min android 📄log
e49198e #77 2020-11-05 13:38:19 ~13 min android-e2e 📄log
e49198e #78 2020-11-05 13:39:14 ~14 min ios 📄log
f6b2751 #78 2020-11-05 14:09:48 ~15 min android-e2e 📄log
f6b2751 #78 2020-11-05 14:09:51 ~15 min android 📄log
✔️ f6b2751 #79 2020-11-05 14:13:17 ~18 min ios 📦ipa 📲
f6b2751 #79 2020-11-05 16:56:51 ~9 min android-e2e 📄log
f6b2751 #79 2020-11-05 16:58:37 ~10 min android 📄log
✔️ dfa9407 #80 2020-11-05 17:49:07 ~13 min android-e2e 📦apk 📲
✔️ dfa9407 #80 2020-11-05 17:49:25 ~13 min android 📦apk 📲
✔️ dfa9407 #80 2020-11-05 17:49:28 ~13 min ios 📦ipa 📲
✔️ 456bdc4 #81 2020-11-05 18:16:20 ~11 min ios 📦ipa 📲
✔️ 456bdc4 #81 2020-11-05 18:17:39 ~12 min android-e2e 📦apk 📲
✔️ 456bdc4 #81 2020-11-05 18:17:50 ~12 min android 📦apk 📲
✔️ afdb9db #82 2020-11-05 18:50:40 ~11 min ios 📦ipa 📲
✔️ afdb9db #82 2020-11-05 18:50:45 ~11 min android 📦apk 📲
✔️ afdb9db #82 2020-11-05 18:50:52 ~11 min android-e2e 📦apk 📲
✔️ 7c9c5c8 #84 2020-11-17 14:42:32 ~11 min android 📦apk 📲
✔️ 7c9c5c8 #83 2020-11-17 14:42:49 ~11 min android-e2e 📦apk 📲
✔️ 7c9c5c8 #83 2020-11-17 14:45:19 ~14 min ios 📦ipa 📲
✔️ 545faff #85 2020-11-19 11:19:08 ~9 min android 📦apk 📲
✔️ 545faff #84 2020-11-19 11:21:18 ~11 min android-e2e 📦apk 📲
✔️ 545faff #84 2020-11-19 11:22:37 ~13 min ios 📦ipa 📲
Commit #️⃣ Finished (UTC) Duration Platform Result
283f4d0 #85 2021-02-12 13:00:07 ~29 sec android-e2e 📄log
283f4d0 #86 2021-02-12 13:00:12 ~34 sec android 📄log
283f4d0 #85 2021-02-12 13:00:13 ~29 sec ios 📄log
dce7c8e #86 2021-02-16 18:12:25 ~14 sec ios 📄log
dce7c8e #87 2021-02-16 18:12:26 ~14 sec android 📄log
dce7c8e #86 2021-02-16 18:12:32 ~21 sec android-e2e 📄log

@vitvly vitvly changed the title Nim-Status: iOS support Nim-Status: iOS/Android support Aug 18, 2020
@jakubgs jakubgs force-pushed the feature/nim-status-ios branch 4 times, most recently from 1051aab to 3dfaab7 Compare September 18, 2020 11:11
@vitvly vitvly force-pushed the feature/nim-status-ios branch 3 times, most recently from 6577f37 to cc1bd3e Compare September 23, 2020 15:19
@vitvly vitvly marked this pull request as ready for review September 29, 2020 16:37
@vitvly vitvly requested review from jakubgs and a team as code owners September 29, 2020 16:37
nix/status-go/default.nix Outdated Show resolved Hide resolved
android/build.gradle Outdated Show resolved Hide resolved
nix/status-go/nim-status/default.nix Outdated Show resolved Hide resolved
nix/status-go/nim-status/default.nix Outdated Show resolved Hide resolved
nix/status-go/default.nix Outdated Show resolved Hide resolved
android/build.gradle Show resolved Hide resolved
nix/status-go/shared/build.nix Outdated Show resolved Hide resolved
nix/status-go/shared/build.nix Outdated Show resolved Hide resolved
else if platform == "androideabi" then "arm "else "arm64"
else
if arch == "386" then "amd64" else
if arch == "arm" then "arm" else "arm64";
Copy link
Member

Choose a reason for hiding this comment

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

Christ...

Copy link
Member

Choose a reason for hiding this comment

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

I was thinking more like:

{
  goArch =
    if isAndroid then (
      if arch == "386" then "386" else
      if platform == "androideabi" then "arm"
      else "arm64"
    ) else if isIOS then (
      if arch == "386" then "amd64" else 
      if arch == "arm" then "arm"
      else "arm64"
    ) else throw "Uknown Platform!";
}

Copy link
Member

Choose a reason for hiding this comment

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

The if platform == "androideabi" then "arm" part makes me worried tho. Every other if is checking arch, but this one is checking platform. Some weird edge case?

Copy link
Member

Choose a reason for hiding this comment

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

The else "arm64" is kinda ugly too. I'd prefer a clear case rather than else.

nix/status-go/shared/build.nix Outdated Show resolved Hide resolved
@status-im-auto
Copy link
Member

61% of end-end tests have passed

Total executed tests: 98
Failed tests: 38
Passed tests: 60
IDs of failed tests: 5406, 6291, 5384, 5783, 5412, 5299, 5386, 6271, 5741, 6290, 5390, 5391, 6272, 5782, 6253, 6305, 6293, 6240, 5338, 5403, 6316, 6249, 5381, 6279, 6226, 5319, 5309, 5350, 5689, 6295, 5758, 6263, 5415, 5356, 5379, 5502, 6237, 5314 

Failed tests (38)

Click to expand
1. test_ens_username_recipient, id: 5406

Device 1: Wait for ConfirmButton to disappear
Device 1: Wait for ConfirmButton

Device 1: 'MultiAccountOnLoginButton' is not found on the screen

Device sessions

2. test_keycard_can_see_all_transactions_in_history, id: 6291

Device 1: Tap on AccountElementButton
Device 1: Tap on TransactionHistoryButton

Device 1: 'TransactionElement' is not found on the screen

Device sessions

3. test_open_transaction_on_etherscan, id: 5384

Device 1: Tap on AccountElementButton
Device 1: Tap on TransactionHistoryButton

Device 1: 'TransactionElement' is not found on the screen

Device sessions

4. test_can_use_purchased_stickers_on_recovered_account, id: 5783

Device 1: Wait for ConfirmButton to disappear
Device 1: Wait for ConfirmButton

Device 1: 'MultiAccountOnLoginButton' is not found on the screen

Device sessions

5. test_insufficient_funds_wallet_positive_balance, id: 5412

Device 1: Scrolling down to AssetText
Device 1: Scrolling down to AssetText

Device 1: 'AssetText' is not found on the screen

Device sessions

6. test_user_can_switch_network, id: 5299

Device 1: Wait for ConfirmButton to disappear
Device 1: Wait for ConfirmButton

Device 1: 'MultiAccountOnLoginButton' is not found on the screen

Device sessions

7. test_public_chat_clear_history, id: 5386

Device 1: Tap on LogoutButton
Device 1: Tap on LogoutButton

Device 1: 'MultiAccountOnLoginButton' is not found on the screen

Device sessions

8. test_add_account_to_multiaccount_instance_seed_phrase, id: 6271

Device 1: Tap on AddAccountGenerateAnAccountButton
Device 1: Wait for AccountElementButton

Device 1: Account was not added

Device sessions

9. test_mobile_data_usage_popup_continue_syncing, id: 5741

Device 1: Looking for an element by accessibility id: 'Wi‑Fi'
Device 1: Looking for an element by text part: 'Sync using mobile data?'

Device 1: No popup about Mobile data is shown

Device sessions

10. test_keycard_fetching_balance_after_offline, id: 6290

Device 1: AssetText is 1970.4856070279 STT
Device 1: Waiting 300 seconds for STT to update

Device 1: Balance is not changed during 300 seconds!

Device sessions

11. test_long_press_delete_clear_all_dapps, id: 5390

Device 1: Tap on LogoutButton
Device 1: Tap on LogoutButton

Device 1: 'MultiAccountOnLoginButton' is not found on the screen

Device sessions

12. test_need_help_section, id: 5391

Device 1: Looking for full text: 'Welcome to Gmail'
Device 1: Click system back button

Device 1: 'RequestFeatureButton' is not found on the screen

Device sessions

13. test_add_account_to_multiaccount_instance_private_key, id: 6272

Device 1: Tap on AddAccountGenerateAnAccountButton
Device 1: Wait for AccountElementButton

Device 1: Account was not added

Device sessions

14. test_install_pack_and_send_sticker, id: 5782

Device 2: Wait for ConfirmButton to disappear
Device 2: Wait for ConfirmButton

Device 2: 'MultiAccountOnLoginButton' is not found on the screen

Device sessions

15. test_send_eth_in_1_1_chat, id: 6253

Device 1: TransactionStatus is Pending
Device 1: TransactionStatus is Pending

Wrong state is shown for outgoing transaction: "Confirmed" is expected, in fact Pending

Device sessions

16. test_image_in_one_to_one_send_save_reply, id: 6305

Device 1: Tap on ShowImagesButton
Device 1: Tap on AllowButton

Device 1: 'FirstElementFromGalleryButton' is not found on the screen

Device sessions

17. test_keycard_send_eth_in_1_1_chat, id: 6293

Device 1: TransactionStatus is Pending
Device 1: TransactionStatus is Pending

Wrong state is shown for outgoing transaction: "Confirmed" is expected, in fact Pending

Device sessions

18. test_restore_account_from_mnemonic_to_keycard, id: 6240

Device 1: Scrolling down to AssetText
Device 1: Scrolling down to AssetText

Device 1: 'AssetText' is not found on the screen

Device sessions

19. test_messaging_in_different_networks, id: 5338

Device 2: Wait for ConfirmButton to disappear
Device 2: Wait for ConfirmButton

Device 2: 'MultiAccountOnLoginButton' is not found on the screen

Device sessions

20. test_start_chat_with_ens, id: 5403

Device 1: Wait for ConfirmButton to disappear
Device 1: Wait for ConfirmButton

Device 1: 'MultiAccountOnLoginButton' is not found on the screen

Device sessions

21. test_send_audio_message_with_push_notification_check, id: 6316

Device 1: Tap on AudioMessageButton
Device 1: Tap on AllowButton

Device 1: 'RecordAudioButton' is not found on the screen

Device sessions

22. test_keycard_send_transaction_from_daap, id: 6249

Device 1: Scrolling down to AssetText
Device 1: Scrolling down to AssetText

Device 1: 'AssetText' is not found on the screen

Device sessions

23. test_user_can_see_all_own_assets_after_account_recovering, id: 5381

Device 1: Wait for ConfirmButton to disappear
Device 1: Wait for ConfirmButton

Device 1: 'MultiAccountOnLoginButton' is not found on the screen

Device sessions

24. test_send_eth_to_ens_in_chat, id: 6279

Device 1: TransactionStatus is Pending
Device 1: TransactionStatus is Pending

Wrong state is shown for outgoing transaction to ENS: "Confirmed" is expected, in fact Pending

Device sessions

25. test_ens_and_nickname_in_public_and_1_1_chats, id: 6226

Device 1: Wait for ConfirmButton to disappear
Device 1: Wait for ConfirmButton

Device 1: 'MultiAccountOnLoginButton' is not found on the screen

Device sessions

26. test_long_press_to_delete_chat, id: 5319

Device 1: Tap on LogoutButton
Device 1: Tap on LogoutButton

Device 1: 'MultiAccountOnLoginButton' is not found on the screen

Device sessions

27. test_send_transaction_from_daap, id: 5309

Device 1: Scrolling down to AssetText
Device 1: Scrolling down to AssetText

Device 1: 'AssetText' is not found on the screen

Device sessions

28. test_send_token_with_7_decimals, id: 5350

Device 1: Wait for ETHroAssetButtonInSelectAssetBottomSheet
Device 1: ETHroAssetButtonInSelectAssetBottomSheet element not found

Device 1: 'ADIAssetButton' is not found on the screen

Device sessions

29. test_add_new_keycard_account_and_login, id: 5689

Device 1: =========================================================================
Device 1: Check that can login with keycard account

Device 1: 'MultiAccountOnLoginButton' is not found on the screen

Device sessions

30. test_keycard_send_eth_to_ens, id: 6295

Device 1: TransactionStatus is Pending
Device 1: TransactionStatus is Pending

Wrong state is shown for outgoing transaction to ENS: "Confirmed" is expected, in fact Pending

Device sessions

31. test_can_recover_keycard_account_card_pairing, id: 5758

Device 1: Scrolling down to AssetText
Device 1: Scrolling down to AssetText

Device 1: 'AssetText' is not found on the screen

Device sessions

32. test_request_and_receive_stt_in_1_1_chat_offline, id: 6263

Device 2: =========================================================================
Device 2: Check that transaction message is fetched from offline and sign transaction

Device 2: 'MultiAccountOnLoginButton' is not found on the screen

Device sessions

33. test_password_in_logcat_sign_in, id: 5415

Device 1: Tap on LogoutButton
Device 1: Tap on LogoutButton

Device 1: 'MultiAccountOnLoginButton' is not found on the screen

Device sessions

34. test_switch_users_and_add_new_account, id: 5356

Device 1: Tap on LogoutButton
Device 1: Wait for OkButton

Device 1: 'YourKeysMoreIcon' is not found on the screen

Device sessions

35. test_home_view, id: 5379

Device 1: Tap on LogoutButton
Device 1: Tap on LogoutButton

Device 1: 'MultiAccountOnLoginButton' is not found on the screen

Device sessions

36. test_can_add_existing_ens, id: 5502

Device 1: Wait for ConfirmButton to disappear
Device 1: Wait for ConfirmButton

Device 1: 'MultiAccountOnLoginButton' is not found on the screen

Device sessions

37. test_fetching_balance_after_offline, id: 6237

Transaction #5, amount is 8.15251e-13
{'blockNumber': '8825577', 'timeStamp': '1601989425', 'hash': '0x8e179bb53bcefe97257d69f797f93b8d56322cd7fda7759fcf437a0d5b79892f', 'nonce': '3358', 'blockHash': '0x59c80156fc95987d517b313e1bd758e0917a5c9503015128e48e87a768b76fa8', 'from': '0x061fae3dd75beab5855f584837ca0c0a8e84f5c1', 'contractAddress': '0xe639e24346d646e927f323558e6e0031bfc93581', 'to': '0xf184747445c3b85ceb147dfb136067cb93d95f1d', 'value': '815251', 'tokenName': 'Adi Test Token', 'tokenSymbol': 'ADI', 'tokenDecimal': '7', 'transactionIndex': '20', 'gas': '44010', 'gasPrice': '32000000000', 'gasUsed': '36675', 'cumulativeGasUsed': '1203984', 'input': 'deprecated', 'confirmations': '303'}

Transaction with amount 0.006144247 is not found in list of transactions, address is f184747445c3B85CEb147DfB136067CB93d95F1D

Device sessions

38. test_can_see_all_transactions_in_history, id: 5314

Device 1: Tap on AccountElementButton
Device 1: Tap on TransactionHistoryButton

Device 1: 'TransactionElement' is not found on the screen

Device sessions

Passed tests (60)

Click to expand
1. test_request_public_key_status_test_daap, id: 5397
Device sessions

2. test_open_public_chat_using_deep_link, id: 5396
Device sessions

3. test_offline_status, id: 5326
Device sessions

4. test_open_chat_by_pasting_public_key, id: 5304
Device sessions

5. test_back_forward_buttons_browsing_website, id: 5321
Device sessions

6. test_password_in_logcat_creating_account, id: 5414
Device sessions

7. test_mobile_data_usage_settings, id: 6229
Device sessions

8. test_open_google_com_via_open_dapp, id: 5320
Device sessions

9. test_logcat_backup_recovery_phrase, id: 5419
Device sessions

10. test_unread_messages_counter_public_chat, id: 5360
Device sessions

11. test_send_two_transactions_one_after_another_in_dapp, id: 5744
Device sessions

12. test_add_and_remove_contact_with_nickname_from_public_chat, id: 5332
Device sessions

13. test_wallet_set_up, id: 5335
Device sessions

14. test_timestamp_in_chats, id: 5385
Device sessions

15. test_delete_chats_via_delete_button, id: 5387
Device sessions

16. test_decline_transactions_in_1_1_chat_push_notification_changing_state, id: 6265
Device sessions

17. test_fetch_more_history_in_empty_chat, id: 6205
Device sessions

18. test_push_notification_1_1_chat, id: 6283
Device sessions

19. test_add_to_contacts, id: 5316
Device sessions

20. test_dapps_permissions, id: 5738
Device sessions

21. test_transaction_wrong_password_wallet, id: 5408
Device sessions

22. test_offline_messaging_1_1_chat, id: 5310
Device sessions

23. test_text_message_1_1_chat, id: 5305
Device sessions

24. test_pair_devices_sync_one_to_one_contacts_public_chat, id: 5762
Device sessions

25. test_send_emoji, id: 5328
Device sessions

26. test_copy_and_paste_messages, id: 5317
Device sessions

27. test_add_account_to_multiaccount_instance_generate_new, id: 6224
Device sessions

28. test_send_eth_from_wallet_to_address, id: 5308
Device sessions

29. test_logcat_recovering_account, id: 5366
Device sessions

30. test_offline_add_new_group_chat_member, id: 3998
Device sessions

31. test_connection_is_secure, id: 5402
Device sessions

32. test_keycard_sign_message_from_daap, id: 6251
Device sessions

33. test_onboarding_screen_when_requesting_tokens_for_recovered_account, id: 5677
Device sessions

34. test_keycard_send_eth_from_wallet_to_address, id: 6289
Device sessions

35. test_keycard_send_two_transactions_one_after_another_in_dapp, id: 6288
Device sessions

36. test_add_and_delete_watch_only_account_to_multiaccount_instance, id: 6244
Device sessions

37. test_open_blocked_site, id: 6210
Device sessions

38. test_refresh_button_browsing_app_webview, id: 5354
Device sessions

39. test_public_chat_messaging, id: 5313
Device sessions

40. test_pass_phrase_validation, id: 5363
Device sessions

41. test_sign_message_from_daap, id: 5342
Device sessions

42. test_recover_account_from_new_user_seedphrase, id: 6296
Device sessions

43. test_send_and_open_links, id: 5373
Device sessions

44. test_manage_assets, id: 5341
Device sessions

45. test_share_contact_code_and_wallet_address, id: 5323
Device sessions

46. test_send_transaction_with_custom_token, id: 6208
Device sessions

47. test_redirect_to_public_chat_tapping_tag_message, id: 5675
Device sessions

48. test_block_user_from_public_chat, id: 5786
Device sessions

49. test_create_new_group_chat, id: 3994
Device sessions

50. test_account_recovery_with_uppercase_recovery_phrase, id: 5394
Device sessions

51. test_mobile_data_usage_popup_stop_syncing, id: 6228
Device sessions

52. test_send_non_english_message_to_newly_added_contact, id: 5315
Device sessions

53. test_contact_profile_view, id: 5382
Device sessions

54. test_keycard_send_two_transactions_in_batch_in_dapp, id: 6287
Device sessions

55. test_reactions_to_message_in_chats, id: 6315
Device sessions

56. test_send_two_transactions_in_batch_in_dapp, id: 5743
Device sessions

57. test_filters_from_daap, id: 5353
Device sessions

58. test_login_with_new_account, id: 5312
Device sessions

59. test_log_level_and_fleet, id: 5368
Device sessions

60. test_copy_contact_code_and_wallet_address, id: 5375
Device sessions

@cammellos
Copy link
Contributor

@siphiuel could you rebase against develop and re-run e2e tests please once the build is ready? (go to projects -> Pipelien for Qa -> Move issue from e2e column to another column and back to e2e will trigger them)

https://github.com/status-im/status-react/projects/7

Thank you!

url = "https://ftp.pcre.org/pub/pcre/pcre-8.44.tar.gz";
sha256 = "0a3pnhzhd8wipmqq9dcn3phb494hkn47pxqsf8skj3xxyd5gvjmf";

};
Copy link
Member

Choose a reason for hiding this comment

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

Why can't we use pkgs.pcre.src?

url = "https://www.openssl.org/source/openssl-1.1.1h.tar.gz";
sha256 = "5c9ca8774bd7b03e5784f26ae9e9e6d749c9da2438545077e6b3d755a06595d9";

};
Copy link
Member

Choose a reason for hiding this comment

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

Why can't we use pkgs.openssl.src?

@churik
Copy link
Member

churik commented Nov 9, 2020

ISSUE 2 Crash on IOS when tapping "Generate keys" on nightly build from PR branch

Made nightly builds from 'feature/nim-status-ios'
App is crashed at attempt to create multiaccount
ezgif com-gif-maker (3)

StatusIm-201109-122725-afdb9d-nightly.ipa_2020_11_9_15_42_49.log

ISSUE 3 Can't build IOS release build

Build: https://ci.status.im/job/status-react/job/combined/job/mobile-ios/8357/console

16:11:13  [15:11:12]: Exit status: 
16:11:13  +------------------------------------+-------------------------------------------------------------+
16:11:13  |                                           Lane Context                                           |
16:11:13  +------------------------------------+-------------------------------------------------------------+
16:11:13  | PLATFORM_NAME                      | ios                                                         |
16:11:13  | LANE_NAME                          | ios release                                                 |
16:11:13  | KEYCHAIN_PATH                      | ~/Library/Keychains/adhoc_1604934507.625528.keychain-db     |
16:11:13  | SIGH_PROFILE_TYPE                  | app-store                                                   |
16:11:13  | MATCH_PROVISIONING_PROFILE_MAPPING | {"im.status.ethereum"=>"match AppStore im.status.ethereum"} |

@churik churik changed the title Nim-Status: iOS/Android support [DO NOT MERGE] Nim-Status: iOS/Android support Nov 10, 2020
@vitvly
Copy link
Contributor Author

vitvly commented Nov 10, 2020

On issue 2 - tried running make release-android BUILD_TYPE=nightly and testing the resulting build, and it worked fine. Maybe some stale build problem on Jenkins.

@churik
Copy link
Member

churik commented Nov 20, 2020

@siphiuel
IOS PR build is crashed on "Generate keys" (nightly builds are fine)
StatusIm-201119-110935-545faf-pr.ipa_2020_11_20_13_0_40.log

@churik
Copy link
Member

churik commented Nov 25, 2020

@siphiuel any updates on this?

@vitvly
Copy link
Contributor Author

vitvly commented Nov 25, 2020

@churik i've updated the nim-status branch with recent changes in that repo's master, and now am integrating it into status-react builds. Once done will push an update here, and check the iOS PR build crash.

@flexsurfer
Copy link
Member

@siphiuel any updates ?

@vitvly
Copy link
Contributor Author

vitvly commented Jan 4, 2021

@flexsurfer will rebase, resolve conflicts, and retest. This is still relevant.

Vitaliy Vlasov added 6 commits February 5, 2021 12:19
Cleanup

Refactoring

Review fixes

Use coreutils inside writeScript

Fix androidToolPathPrefix

nim-make: initial

Common srcRaw; updates to API

Updates to ios build; remove GoStruct references in android's JNI file

Android fix; update nim-status rev

Add openssl

PCRE updates

Updates

Commit

Linking fixes

Include xcodeWrapper in pod-shell (SQLCipher compilation issue)

Disable flipper for ios

Add patchShebangs and nim-status build TODO line

Use fetchgit, custom createNimbleLink script

Use clang

sha256 change

patchShebangs in nim-status src

leaveDotGit,deepClone=false

CC=clang in for nim-status make

sed clang

force clang

force clang

Test

Include pcre.h

Debugging

Debugging 2

Logout crash fix

add [start,stop]LocalNotifications

disable androidNDK switch

Update sha

Add nim_status.nim override

Add shim

Fix shim

Fix Podfile.lock

Use exported [setup,tearDown]ForeignThreadGc fns

Update nim-status

Remove onboarding functions
@vitvly
Copy link
Contributor Author

vitvly commented Feb 26, 2021

Superseded by #11793.

@vitvly vitvly closed this Feb 26, 2021
@jakubgs jakubgs deleted the feature/nim-status-ios branch September 21, 2022 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

6 participants