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

[#6596] Add a component to access local camera #7328

Merged

Conversation

tbenr
Copy link
Contributor

@tbenr tbenr commented Jan 23, 2019

fixes #6596

  • camera/qr-code event which starts camera to scan qr codes. It manages success scan, user cancel and permission denied.
  • camera/picture will be the event which should let the user choose to
    • peek a photo from "gallery"
    • shoot a picture with "camera"

extension example:

https://status-im.github.io/pluto/try.html?hash=QmTu4fjZmNEa6PSRpPPz9qoxq24uK9XQnJFZQg3LQ7avv4

https://get.status.im/extension/ipfs@QmTu4fjZmNEa6PSRpPPz9qoxq24uK9XQnJFZQg3LQ7avv4

@status-github-bot
Copy link

status-github-bot bot commented Jan 23, 2019

Pull Request Checklist

  • Have you updated the documentation, if impacted (e.g. docs.status.im)?

@status-im-auto
Copy link
Member

status-im-auto commented Jan 23, 2019

Jenkins Builds

Click to see older builds (87)
Commit #️⃣ Finished (UTC) Duration Platform Result
7b7d053 #1 2019-01-23 10:06:53 ~22 sec android 📄 log
7b7d053 #1 2019-01-23 10:06:54 ~18 sec ios 📄 log
7b7d053 #1 2019-01-23 10:06:54 ~24 sec android-e2e 📄 log
7b7d053 #1 2019-01-23 10:06:56 ~23 sec ios-e2e 📄 log
7b7d053 #1 2019-01-23 10:07:05 ~26 sec macos 📄 log
7b7d053 #1 2019-01-23 10:07:08 ~29 sec linux 📄 log
7b7d053 #1 2019-01-23 10:07:13 ~31 sec windows 📄 log
✔️ 3cda41e #2 2019-01-23 10:55:53 ~14 min android-e2e 📦 apk
✔️ 3cda41e #2 2019-01-23 10:56:26 ~15 min android 📦 apk
✔️ 842caee #3 2019-01-23 11:04:15 ~19 min macos 📦 dmg
✔️ 842caee #3 2019-01-23 11:04:56 ~20 min ios-e2e 📦 pkg
✔️ 842caee #3 2019-01-23 11:05:02 ~20 min ios 📦 ipa
✔️ d55fb38 #4 2019-01-23 16:13:14 ~14 min macos 📦 dmg
✔️ d55fb38 #4 2019-01-23 16:14:16 ~15 min ios 📦 ipa
✔️ d55fb38 #4 2019-01-23 16:14:16 ~15 min ios-e2e 📦 pkg
✔️ d55fb38 #4 2019-01-23 16:18:46 ~20 min windows 📦 exe
✔️ 91b33dc #5 2019-01-23 18:55:28 ~13 min ios-e2e 📦 pkg
✔️ 91b33dc #5 2019-01-23 18:56:27 ~14 min ios 📦 ipa
✔️ 91b33dc #5 2019-01-23 18:56:57 ~14 min macos 📦 dmg
91b33dc #5 2019-01-23 20:27:35 ~1 hr 45 min linux 📄 log
91b33dc #5 2019-01-23 20:27:57 ~1 hr 46 min android-e2e 📄 log
✔️ 91b33dc #5 2019-01-23 20:50:59 ~2 hr 8 min windows 📦 exe
✔️ 91b33dc #5 2019-01-23 20:52:41 ~2 hr 10 min android 📦 apk
✔️ 82ba8e5 #6 2019-01-24 19:21:15 ~14 min macos 📦 dmg
✔️ 82ba8e5 #6 2019-01-24 19:22:11 ~15 min android 📦 apk
82ba8e5 #6 2019-01-24 19:23:27 ~16 min ios-e2e 📄 log
✔️ 82ba8e5 #6 2019-01-24 19:25:03 ~17 min ios 📦 ipa
✔️ 82ba8e5 #6 2019-01-24 19:31:57 ~24 min linux 📦 App
82ba8e5 #6 2019-01-24 19:33:20 ~26 min android-e2e 📄 log
✔️ 82ba8e5 #6 2019-01-24 19:34:39 ~27 min windows 📦 exe
463e04c #7 2019-01-26 12:19:31 ~5 min ios-e2e 📄 log
463e04c #7 2019-01-26 12:20:07 ~5 min macos 📄 log
463e04c #7 2019-01-26 12:20:13 ~5 min ios 📄 log
463e04c #7 2019-01-26 12:22:19 ~8 min android 📄 log
463e04c #7 2019-01-26 12:22:36 ~8 min linux 📄 log
463e04c #7 2019-01-26 12:22:55 ~8 min android-e2e 📄 log
463e04c #7 2019-01-26 12:23:06 ~8 min windows 📄 log
bb3b384 #8 2019-01-26 12:34:35 ~5 min macos 📄 log
bb3b384 #8 2019-01-26 12:34:37 ~5 min ios 📄 log
bb3b384 #8 2019-01-26 12:34:42 ~5 min ios-e2e 📄 log
bb3b384 #8 2019-01-26 12:37:47 ~8 min linux 📄 log
bb3b384 #8 2019-01-26 12:37:48 ~8 min android 📄 log
bb3b384 #8 2019-01-26 12:38:05 ~8 min android-e2e 📄 log
bb3b384 #8 2019-01-26 12:38:29 ~8 min windows 📄 log
bb3b384 #9 2019-01-29 15:09:47 ~11 min android-e2e 📄 log
945fb50 #9 2019-01-31 18:22:19 ~24 sec android 📄 log
945fb50 #9 2019-01-31 18:22:20 ~19 sec linux 📄 log
945fb50 #10 2019-01-31 18:22:20 ~27 sec android-e2e 📄 log
945fb50 #9 2019-01-31 18:22:21 ~17 sec macos 📄 log
945fb50 #9 2019-01-31 18:22:21 ~23 sec ios 📄 log
945fb50 #9 2019-01-31 18:22:22 ~25 sec ios-e2e 📄 log
945fb50 #9 2019-01-31 18:22:24 ~17 sec windows 📄 log
d979ea0 #10 2019-01-31 18:33:50 ~5 min ios 📄 log
d979ea0 #10 2019-01-31 18:34:37 ~5 min macos 📄 log
d979ea0 #10 2019-01-31 18:34:49 ~6 min ios-e2e 📄 log
d979ea0 #11 2019-01-31 18:36:15 ~7 min android-e2e 📄 log
d979ea0 #10 2019-01-31 18:36:34 ~8 min android 📄 log
d979ea0 #10 2019-01-31 18:37:04 ~8 min windows 📄 log
d979ea0 #10 2019-01-31 18:38:49 ~10 min linux 📄 log
✔️ 240226a #11 2019-02-01 10:09:41 ~14 min ios-e2e 📦 pkg
✔️ 240226a #11 2019-02-01 10:11:40 ~16 min macos 📦 dmg
✔️ 240226a #11 2019-02-01 10:12:23 ~16 min ios 📦 ipa
✔️ 240226a #12 2019-02-01 10:13:47 ~18 min android-e2e 📦 apk
✔️ 240226a #11 2019-02-01 10:13:53 ~18 min android 📦 apk
✔️ 240226a #11 2019-02-01 10:15:19 ~19 min windows 📦 exe
✔️ 240226a #11 2019-02-01 10:17:59 ~22 min linux 📦 App
✔️ 5d7370e #12 2019-02-06 13:15:25 ~14 min ios-e2e 📦 pkg
✔️ 5d7370e #12 2019-02-06 13:15:48 ~14 min macos 📦 dmg
✔️ 5d7370e #12 2019-02-06 13:16:37 ~15 min ios 📦 ipa
✔️ 5d7370e #13 2019-02-06 13:16:55 ~16 min android-e2e 📦 apk
✔️ 5d7370e #12 2019-02-06 13:17:05 ~16 min android 📦 apk
✔️ 5d7370e #12 2019-02-06 13:21:00 ~19 min windows 📦 exe
✔️ 5d7370e #12 2019-02-06 13:22:02 ~20 min linux 📦 App
8829888 #14 2019-02-07 14:08:22 ~14 sec android-e2e 📄 log
8829888 #13 2019-02-07 14:08:24 ~14 sec android 📄 log
8829888 #13 2019-02-07 14:08:30 ~14 sec ios 📄 log
8829888 #13 2019-02-07 14:08:30 ~11 sec linux 📄 log
8829888 #13 2019-02-07 14:08:34 ~20 sec ios-e2e 📄 log
8829888 #13 2019-02-07 14:08:35 ~13 sec macos 📄 log
8829888 #13 2019-02-07 14:08:50 ~24 sec windows 📄 log
✔️ e4d3023 #14 2019-02-07 14:31:52 ~15 min ios 📦 ipa
✔️ e4d3023 #14 2019-02-07 14:33:02 ~17 min ios-e2e 📦 pkg
✔️ e4d3023 #15 2019-02-07 14:33:14 ~17 min android-e2e 📦 apk
✔️ e4d3023 #14 2019-02-07 14:33:17 ~17 min macos 📦 dmg
✔️ e4d3023 #14 2019-02-07 14:36:37 ~20 min linux 📦 App
✔️ e4d3023 #14 2019-02-07 14:37:18 ~21 min android 📦 apk
✔️ e4d3023 #14 2019-02-07 14:40:44 ~24 min windows 📦 exe
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 0fbfc24 #15 2019-02-07 22:24:19 ~15 min ios-e2e 📦 pkg
✔️ 0fbfc24 #15 2019-02-07 22:24:26 ~15 min android 📦 apk
✔️ 0fbfc24 #15 2019-02-07 22:24:27 ~15 min macos 📦 dmg
✔️ 0fbfc24 #15 2019-02-07 22:25:46 ~17 min ios 📦 ipa
✔️ 0fbfc24 #16 2019-02-07 22:26:03 ~17 min android-e2e 📦 apk
✔️ 0fbfc24 #15 2019-02-07 22:27:58 ~19 min windows 📦 exe
✔️ 0fbfc24 #15 2019-02-07 22:36:35 ~27 min linux 📦 App
✔️ 255b39b #16 2019-02-08 17:29:46 ~15 min ios-e2e 📦 pkg
✔️ 255b39b #16 2019-02-08 17:29:48 ~15 min ios 📦 ipa
✔️ 255b39b #17 2019-02-08 17:32:34 ~17 min android-e2e 📦 apk
✔️ 255b39b #16 2019-02-08 17:32:42 ~17 min macos 📦 dmg
✔️ 255b39b #16 2019-02-08 17:34:54 ~20 min android 📦 apk
✔️ 255b39b #16 2019-02-08 17:35:12 ~20 min windows 📦 exe
✔️ 255b39b #16 2019-02-08 17:36:16 ~21 min linux 📦 App
✔️ 255b39b #17 2019-02-11 09:54:18 ~17 min android 📦 apk

@status-im-auto
Copy link
Member

Jenkins Builds

Commit #️⃣ Finished (UTC) Duration Platform Result
7b7d053 #1 2019-01-23 10:06:53 ~22 sec android 📄 build log
7b7d053 #1 2019-01-23 10:06:54 ~18 sec ios 📄 build log

@status-im-auto
Copy link
Member

Jenkins Builds

Commit #️⃣ Finished (UTC) Duration Platform Result
7b7d053 #1 2019-01-23 10:06:53 ~22 sec android 📄 build log
7b7d053 #1 2019-01-23 10:06:54 ~18 sec ios 📄 build log
7b7d053 #1 2019-01-23 10:06:54 ~24 sec android-e2e 📄 build log

@tbenr tbenr force-pushed the Add-a-component-to-access-local-camera branch 3 times, most recently from d55fb38 to 91b33dc Compare January 23, 2019 18:41
@jeluard
Copy link
Contributor

jeluard commented Jan 24, 2019

@tbenr Great start! Looks nice!
The ultimate test would be to have an image from camera sent to IPFS, then displayed in an image component. All from extension :)

@tbenr
Copy link
Contributor Author

tbenr commented Jan 24, 2019

@jeluard we are on the way to reach that! :)

@tbenr tbenr force-pushed the Add-a-component-to-access-local-camera branch 2 times, most recently from 82ba8e5 to 463e04c Compare January 26, 2019 12:14
@tbenr tbenr changed the title [WIP #6596] Add a component to access local camera [#6596] Add a component to access local camera Jan 26, 2019
@tbenr tbenr force-pushed the Add-a-component-to-access-local-camera branch from 463e04c to bb3b384 Compare January 26, 2019 12:29
@tbenr
Copy link
Contributor Author

tbenr commented Jan 26, 2019

there are 2 things that can be improved:

  • intercept "cancel" event when user goes to image gallery to peek a photo. I don't know how to get this feedback from image-picker when the user goes back without actually choose a photo. HERE

  • add a couple of hardcoded window titles in the translation files. (how can be done? just adding in translations/en.json ?

src/status_im/extensions/camera.cljs Outdated Show resolved Hide resolved
src/status_im/extensions/views.cljs Outdated Show resolved Hide resolved
src/status_im/extensions/views.cljs Outdated Show resolved Hide resolved
@jeluard
Copy link
Contributor

jeluard commented Jan 29, 2019

@tbenr When you get a chance, can you comment on @flexsurfer points?

@tbenr
Copy link
Contributor Author

tbenr commented Jan 29, 2019

@jeluard @flexsurfer sure, i'm currently away for work. Tomorrow I should have the time to answer and apply changes

@tbenr tbenr force-pushed the Add-a-component-to-access-local-camera branch from bb3b384 to 945fb50 Compare January 31, 2019 18:21
@tbenr tbenr force-pushed the Add-a-component-to-access-local-camera branch from 945fb50 to d979ea0 Compare January 31, 2019 18:28
@jeluard
Copy link
Contributor

jeluard commented Feb 1, 2019

@tbenr Build is failing. I can see at least one warning: Use of undeclared Var status-im.extensions.views/pick-or-take-picture-list-selection at line 43

@tbenr
Copy link
Contributor Author

tbenr commented Feb 1, 2019

@jeluard I'll check ASAP, locally I don't get this error..

@tbenr
Copy link
Contributor Author

tbenr commented Feb 7, 2019

@Serhy I fixed both issues.

@statustestbot
Copy link

98% of end-end tests have passed

Total executed tests: 58
Failed tests: 1
Passed tests: 57

Failed tests (1)

Click to expand
1. test_user_can_switch_network

Device 1: Wait for CreateAccountButton
Device 1: Wait for PasswordInput

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

Device sessions

Passed tests (57)

Click to expand
1. test_create_account
Device sessions

2. test_filters_from_daap
Device sessions

3. test_copy_and_paste_messages
Device sessions

4. test_send_transaction_from_daap
Device sessions

5. test_request_and_receive_tokens_in_1_1_chat
Device sessions

6. test_delete_cut_and_paste_messages
Device sessions

7. test_deploy_contract_from_daap
Device sessions

8. test_offline_login
Device sessions

9. test_pass_phrase_validation
Device sessions

10. test_public_chat_messaging
Device sessions

11. test_password_in_logcat_sign_in
Device sessions

12. test_set_profile_picture
Device sessions

13. test_text_message_1_1_chat
Device sessions

14. test_add_to_contacts
Device sessions

15. test_unread_messages_counter_1_1_chat
Device sessions

16. test_logcat_send_transaction_from_daap
Device sessions

17. test_onboarding_screen_when_requesting_tokens_for_new_account
Device sessions

18. test_logcat_send_transaction_from_wallet
Device sessions

19. test_send_token_with_7_decimals
Device sessions

20. test_modify_transaction_fee_values
Device sessions

21. test_token_with_more_than_allowed_decimals
Device sessions

22. test_send_eth_from_wallet_to_address
Device sessions

23. test_send_transaction_details_in_1_1_chat
Device sessions

24. test_manage_assets
Device sessions

25. test_wallet_set_up
Device sessions

26. test_logcat_send_transaction_in_1_1_chat
Device sessions

27. test_request_and_receive_eth_in_1_1_chat
Device sessions

28. test_swipe_to_delete_public_chat
Device sessions

29. test_passphrase_whitespaces_ignored_while_recovering_access
Device sessions

30. test_send_emoji
Device sessions

31. test_add_contact_by_pasting_public_key
Device sessions

32. test_logcat_recovering_account
Device sessions

33. test_messaging_in_different_networks
Device sessions

34. test_send_tokens_in_1_1_chat
Device sessions

35. test_network_mismatch_for_send_request_commands
Device sessions

36. test_logcat_sign_message_from_daap
Device sessions

37. test_swipe_to_delete_1_1_chat
Device sessions

38. test_switch_users_and_add_new_account
Device sessions

39. test_send_stt_from_wallet
Device sessions

40. test_send_eth_in_1_1_chat
Device sessions

41. test_login_with_new_account
Device sessions

42. test_send_eth_from_wallet_to_contact
Device sessions

43. test_add_contact_from_public_chat
Device sessions

44. test_send_request_not_enabled_tokens
Device sessions

45. test_send_message_to_newly_added_contact
Device sessions

46. test_password_in_logcat_creating_account
Device sessions

47. test_backup_recovery_phrase
Device sessions

48. test_offline_status
Device sessions

49. test_open_google_com_via_open_dapp
Device sessions

50. test_unread_messages_counter_public_chat
Device sessions

51. test_sign_message_from_daap
Device sessions

52. test_user_can_remove_profile_picture
Device sessions

53. test_share_contact_code_and_wallet_address
Device sessions

54. test_request_eth_in_wallet
Device sessions

55. test_refresh_button_browsing_app_webview
Device sessions

56. test_backup_recovery_phrase_warning_from_wallet
Device sessions

57. test_recover_account
Device sessions

@statustestbot
Copy link

100% of end-end tests have passed

Total executed tests: 1
Failed tests: 0
Passed tests: 1

Passed tests (1)

Click to expand
1. test_user_can_switch_network
Device sessions

@Serhy
Copy link
Contributor

Serhy commented Feb 8, 2019

@tbenr right, both issues are fixed.
One small issue left: we need to handle cases when user will try to add non-image in /camerapicture. When selecting items from Gallery, both iOS and Android sort Videos and Images under the same Gallery folder (other file extensions like .apk, .pdf, .doc which could be found elsewhere - are disabled for selection). However, in case of selecting video files (which are available in Gallery) /camerapicture fires an null is not an object (evaluating 's.cljs$core$IFn$_invoke$arity$1') error:

Taking as expected behaviour of User Profile image selection: Open Status -> Profile -> tap EDIT -> choose userpic from device Gallery. In a case of selecting video format file we "ignore" it, - i.e. nothing is updated on userpic.
@jeluard is that right? Should we handle Video files selection from Gallery when using /camerapicture in a way we handle user_image selection now?

Preconditions

Record video with default device Camera app

Reproduction:

  • Open Status and create new account
  • Add a new contact to start 1-1 chat with
  • Install https://get.status.im/extension/ipfs@QmTu4fjZmNEa6PSRpPPz9qoxq24uK9XQnJFZQg3LQ7avv4 extention
  • Navigate to 1-1 chat -> select /camerapicture command -> enter 0 -> tap 'Send' button
  • Select Gallery -> Video file recorded
    Actual result: screenshot 2019-02-08 at 14 47 39
02-08 14:23:04.791   492  2442 V MediaPlayerService: Create new media retriever from pid 10141
02-08 14:23:04.971 10141 10196 D skia    : --- SkImageDecoder::Factory returned null
02-08 14:23:04.971 10141 10196 I System.out: 1
02-08 14:23:04.971 10141 10196 D skia    : --- SkImageDecoder::Factory returned null
02-08 14:23:04.981 10141 10195 D ReactNativeJS: DEBUG [status-im.utils.image-processing:27] - Resized error:  Unable to load source image from path
02-08 14:23:04.981  3076 16523 D NfcService: call the applyRouting
02-08 14:23:04.981 10141 10195 D ReactNativeJS: DEBUG [status-im.utils.handlers:34] - Handling re-frame event:  :extensions/camera-error
02-08 14:23:04.981 10141 10195 I ReactNativeJS: PRETTY PRINTED EXCEPTION
02-08 14:23:04.981 10141 10195 I ReactNativeJS: 
02-08 14:23:04.981 10141 10195 I ReactNativeJS: ***
02-08 14:23:04.981 10141 10195 I ReactNativeJS: NAME: "TypeError"
02-08 14:23:04.981 10141 10195 I ReactNativeJS: MESSAGE: null is not an object (evaluating 's.cljs$core$IFn$_invoke$arity$1')
02-08 14:23:04.981 10141 10195 I ReactNativeJS: 
02-08 14:23:04.981 10141 10195 I ReactNativeJS: index.android.bundle:12:7470656
02-08 14:23:04.981 10141 10195 I ReactNativeJS: index.android.bundle:12:7470738
02-08 14:23:04.981 10141 10195 I ReactNativeJS: index.android.bundle:12:1761481
02-08 14:23:04.981 10141 10195 I ReactNativeJS: invoke_interceptor_fn@index.android.bundle:12:1691787
02-08 14:23:04.981 10141 10195 I ReactNativeJS: invoke_interceptors@index.android.bundle:12:1692088
02-08 14:23:04.981 10141 10195 I ReactNativeJS: execute@index.android.bundle:12:1694537
02-08 14:23:04.981 10141 10195 I ReactNativeJS: handle@index.android.bundle:12:1702950
02-08 14:23:04.981 10141 10195 I ReactNativeJS: re_frame$router$IEventQueue$_process_1st_event_in_queue$arity$1@index.android.bundle:12:1730035
02-08 14:23:04.981 10141 10195 I ReactNativeJS: re_frame$router$IEventQueue$_run_queue$arity$1@index.android.bundle:12:1715020
02-08 14:23:04.981 10141 10195 I ReactNativeJS: index.android.bundle:12:1718200
02-08 14:23:04.981 10141 10195 I ReactNativeJS: re_frame$router$IEventQueue$_fsm_trigger$arity$3@index.android.bundle:12:1722411
02-08 14:23:04.981 10141 10195 I ReactNativeJS: index.android.bundle:12:1716322
02-08 14:23:04.981 10141 10195 I ReactNativeJS: index.android.bundle:24:1801
02-08 14:23:04.981 10141 10195 I ReactNativeJS: k@index.android.bundle:24:643
02-08 14:23:04.981 10141 10195 I ReactNativeJS: q@index.android.bundle:24:1007
02-08 14:23:04.981 10141 10195 I ReactNativeJS: callImmediates@index.android.bundle:24:3202
02-08 14:23:04.981 10141 10195 I ReactNativeJS: value@index.android.bundle:19:2904
02-08 14:23:04.981 10141 10195 I ReactNativeJS: index.android.bundle:19:1377
02-08 14:23:04.981 10141 10195 I ReactNativeJS: value@index.android.bundle:19:2621
02-08 14:23:04.981 10141 10195 I ReactNativeJS: value@index.android.bundle:19:1347
02-08 14:23:04.981 10141 10195 I ReactNativeJS: [native code]
02-08 14:23:04.981 10141 10195 I ReactNativeJS: value@index.android.bundle:19:1282
02-08 14:23:04.981 10141 10195 I ReactNativeJS: [native code]
02-08 14:23:04.981 10141 10195 I ReactNativeJS: 
02-08 14:23:04.981 10141 10195 I ReactNativeJS: ***

@jeluard
Copy link
Contributor

jeluard commented Feb 8, 2019

@tbenr @Serhy Good point we want to filter selection so that only images can be picked up somehow

@tbenr
Copy link
Contributor Author

tbenr commented Feb 8, 2019

@Serhy @jeluard yes I understand.. I think for now we should we can ignore videos.. they could be too big to be handled in the current implementation..

@tbenr
Copy link
Contributor Author

tbenr commented Feb 8, 2019

ok, let me implement some filtering on peek.. or at least ignore\notify to user.

@jeluard
Copy link
Contributor

jeluard commented Feb 8, 2019

@tbenr Right! Maybe there could be a fixed set of approved mime type that could be overridden by the event user?
Sorry for the added work..

@tbenr tbenr force-pushed the Add-a-component-to-access-local-camera branch from 0fbfc24 to 255b39b Compare February 8, 2019 17:14
@tbenr
Copy link
Contributor Author

tbenr commented Feb 8, 2019

@jeluard @Serhy Now photo picker shows only photos (on profile image too).
I fixed also the error handling which was causing the error.

I have doubts on managing video too, it may open to different things to manage: different camera setup and maybe resizing\encoding...

@jeluard
Copy link
Contributor

jeluard commented Feb 8, 2019

@tbenr Thanks again ! We can leave video for another bounty I guess .. :D

@tbenr
Copy link
Contributor Author

tbenr commented Feb 9, 2019

@jeluard 👍 also 'cause I'd like to concentrate on map component which is driving me crazy :-D

@statustestbot
Copy link

98% of end-end tests have passed

Total executed tests: 58
Failed tests: 1
Passed tests: 57

Failed tests (1)

Click to expand
1. test_login_with_new_account

Device 1: Tap on SignInButton
Device 1: Wait for HomeButton

User is not logged in

Device sessions

Passed tests (57)

Click to expand
1. test_create_account
Device sessions

2. test_user_can_switch_network
Device sessions

3. test_filters_from_daap
Device sessions

4. test_copy_and_paste_messages
Device sessions

5. test_send_transaction_from_daap
Device sessions

6. test_request_and_receive_tokens_in_1_1_chat
Device sessions

7. test_delete_cut_and_paste_messages
Device sessions

8. test_deploy_contract_from_daap
Device sessions

9. test_offline_login
Device sessions

10. test_pass_phrase_validation
Device sessions

11. test_public_chat_messaging
Device sessions

12. test_password_in_logcat_sign_in
Device sessions

13. test_set_profile_picture
Device sessions

14. test_text_message_1_1_chat
Device sessions

15. test_add_to_contacts
Device sessions

16. test_unread_messages_counter_1_1_chat
Device sessions

17. test_logcat_send_transaction_from_daap
Device sessions

18. test_onboarding_screen_when_requesting_tokens_for_new_account
Device sessions

19. test_logcat_send_transaction_from_wallet
Device sessions

20. test_send_token_with_7_decimals
Device sessions

21. test_modify_transaction_fee_values
Device sessions

22. test_token_with_more_than_allowed_decimals
Device sessions

23. test_send_eth_from_wallet_to_address
Device sessions

24. test_send_transaction_details_in_1_1_chat
Device sessions

25. test_manage_assets
Device sessions

26. test_wallet_set_up
Device sessions

27. test_logcat_send_transaction_in_1_1_chat
Device sessions

28. test_request_and_receive_eth_in_1_1_chat
Device sessions

29. test_swipe_to_delete_public_chat
Device sessions

30. test_passphrase_whitespaces_ignored_while_recovering_access
Device sessions

31. test_send_emoji
Device sessions

32. test_add_contact_by_pasting_public_key
Device sessions

33. test_logcat_recovering_account
Device sessions

34. test_messaging_in_different_networks
Device sessions

35. test_send_tokens_in_1_1_chat
Device sessions

36. test_network_mismatch_for_send_request_commands
Device sessions

37. test_logcat_sign_message_from_daap
Device sessions

38. test_swipe_to_delete_1_1_chat
Device sessions

39. test_switch_users_and_add_new_account
Device sessions

40. test_send_stt_from_wallet
Device sessions

41. test_send_eth_in_1_1_chat
Device sessions

42. test_send_eth_from_wallet_to_contact
Device sessions

43. test_add_contact_from_public_chat
Device sessions

44. test_send_request_not_enabled_tokens
Device sessions

45. test_send_message_to_newly_added_contact
Device sessions

46. test_password_in_logcat_creating_account
Device sessions

47. test_backup_recovery_phrase
Device sessions

48. test_offline_status
Device sessions

49. test_open_google_com_via_open_dapp
Device sessions

50. test_unread_messages_counter_public_chat
Device sessions

51. test_sign_message_from_daap
Device sessions

52. test_user_can_remove_profile_picture
Device sessions

53. test_share_contact_code_and_wallet_address
Device sessions

54. test_request_eth_in_wallet
Device sessions

55. test_refresh_button_browsing_app_webview
Device sessions

56. test_backup_recovery_phrase_warning_from_wallet
Device sessions

57. test_recover_account
Device sessions

@statustestbot
Copy link

100% of end-end tests have passed

Total executed tests: 58
Failed tests: 0
Passed tests: 58

Passed tests (58)

Click to expand
1. test_create_account
Device sessions

2. test_user_can_switch_network
Device sessions

3. test_filters_from_daap
Device sessions

4. test_copy_and_paste_messages
Device sessions

5. test_send_transaction_from_daap
Device sessions

6. test_request_and_receive_tokens_in_1_1_chat
Device sessions

7. test_delete_cut_and_paste_messages
Device sessions

8. test_deploy_contract_from_daap
Device sessions

9. test_offline_login
Device sessions

10. test_pass_phrase_validation
Device sessions

11. test_public_chat_messaging
Device sessions

12. test_password_in_logcat_sign_in
Device sessions

13. test_set_profile_picture
Device sessions

14. test_text_message_1_1_chat
Device sessions

15. test_add_to_contacts
Device sessions

16. test_unread_messages_counter_1_1_chat
Device sessions

17. test_logcat_send_transaction_from_daap
Device sessions

18. test_onboarding_screen_when_requesting_tokens_for_new_account
Device sessions

19. test_logcat_send_transaction_from_wallet
Device sessions

20. test_send_token_with_7_decimals
Device sessions

21. test_modify_transaction_fee_values
Device sessions

22. test_token_with_more_than_allowed_decimals
Device sessions

23. test_send_eth_from_wallet_to_address
Device sessions

24. test_send_transaction_details_in_1_1_chat
Device sessions

25. test_manage_assets
Device sessions

26. test_wallet_set_up
Device sessions

27. test_logcat_send_transaction_in_1_1_chat
Device sessions

28. test_request_and_receive_eth_in_1_1_chat
Device sessions

29. test_swipe_to_delete_public_chat
Device sessions

30. test_passphrase_whitespaces_ignored_while_recovering_access
Device sessions

31. test_send_emoji
Device sessions

32. test_add_contact_by_pasting_public_key
Device sessions

33. test_logcat_recovering_account
Device sessions

34. test_messaging_in_different_networks
Device sessions

35. test_send_tokens_in_1_1_chat
Device sessions

36. test_network_mismatch_for_send_request_commands
Device sessions

37. test_logcat_sign_message_from_daap
Device sessions

38. test_swipe_to_delete_1_1_chat
Device sessions

39. test_switch_users_and_add_new_account
Device sessions

40. test_send_stt_from_wallet
Device sessions

41. test_send_eth_in_1_1_chat
Device sessions

42. test_login_with_new_account
Device sessions

43. test_send_eth_from_wallet_to_contact
Device sessions

44. test_add_contact_from_public_chat
Device sessions

45. test_send_request_not_enabled_tokens
Device sessions

46. test_send_message_to_newly_added_contact
Device sessions

47. test_password_in_logcat_creating_account
Device sessions

48. test_backup_recovery_phrase
Device sessions

49. test_offline_status
Device sessions

50. test_open_google_com_via_open_dapp
Device sessions

51. test_unread_messages_counter_public_chat
Device sessions

52. test_sign_message_from_daap
Device sessions

53. test_user_can_remove_profile_picture
Device sessions

54. test_share_contact_code_and_wallet_address
Device sessions

55. test_request_eth_in_wallet
Device sessions

56. test_refresh_button_browsing_app_webview
Device sessions

57. test_backup_recovery_phrase_warning_from_wallet
Device sessions

58. test_recover_account
Device sessions

@Serhy
Copy link
Contributor

Serhy commented Feb 11, 2019

Looks good to me! Thanks a lot, @tbenr for fixes and for your contribution!

@jeluard
Copy link
Contributor

jeluard commented Feb 11, 2019

🎉

Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
@jeluard jeluard force-pushed the Add-a-component-to-access-local-camera branch from 255b39b to 51f6a17 Compare February 11, 2019 10:05
@jeluard jeluard merged commit 51f6a17 into status-im:develop Feb 11, 2019
@tbenr tbenr deleted the Add-a-component-to-access-local-camera branch February 11, 2019 10:13
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.

Add a component to access local camera
7 participants