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

Connect QA #2813

Open
wants to merge 375 commits into
base: dv/connect_initial
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
375 commits
Select commit Hold shift + click to select a range
a45d5cf
Fix test
shubham1g5 Aug 8, 2024
550d26d
Move autosave preference from developer options to user settings
ctsims Aug 8, 2024
4fd4cee
Add logging when session recovery is identified
ctsims Aug 8, 2024
50ef0b3
Adds logging on user session expiry
shubham1g5 Aug 9, 2024
20104f4
Clear state on user exiting/saving the form
shubham1g5 Aug 9, 2024
ee48781
Show button to re-process quarantine form even for local process erro…
shubham1g5 Aug 12, 2024
20e00aa
Remove unused methods
avazirna Aug 9, 2024
b34b7cb
Remove comment
avazirna Aug 9, 2024
64c6f70
Refactor
avazirna Aug 9, 2024
7bbf4f3
Logs while saving and clearing the interrupted state
shubham1g5 Sep 5, 2024
2e0274f
Clears interruptes state as soon as we are saving a completed form
shubham1g5 Sep 5, 2024
294848f
Do not save read only forms again
shubham1g5 Sep 5, 2024
031978c
Reword Finish to Exit for read only forms
shubham1g5 Sep 5, 2024
658de7d
Add logging around form entry start
avazirna Sep 5, 2024
63c476e
Log when CommCare is terminated
avazirna Sep 13, 2024
ab3025e
Job detail Revamp
Jay13Panchal Sep 18, 2024
8eeb8a5
Translation added
Jay13Panchal Sep 18, 2024
d827345
Merge pull request #2850 from dimagi/updateFix
shubham1g5 Sep 18, 2024
8a01019
Merge pull request #2856 from dimagi/jp/ccct-441-job-detail-screen-re…
OrangeAndGreen Sep 18, 2024
3593774
Merge branch 'connect_qa' of https://github.com/dimagi/commcare-andro…
OrangeAndGreen Sep 18, 2024
9549eef
Merge pull request #2855 from dimagi/jp/ccct-442-delivery-progress-re…
OrangeAndGreen Sep 18, 2024
750c5d3
Changed a couple buttons on delivery progress page to be rounded.
OrangeAndGreen Sep 18, 2024
2eeaa24
Restored code path for secondary phone verification (when clicking ei…
OrangeAndGreen Sep 18, 2024
341d479
Fixed delivery progress message to summarize visits instead of talkin…
OrangeAndGreen Sep 18, 2024
7b599c0
Update model
avazirna Aug 12, 2024
acbce28
Check form record Id when restoring Form index
avazirna Aug 12, 2024
8cc2dbd
Set default state to formRecordId
avazirna Sep 16, 2024
ad2501d
Handle update from previous version of InterruptedFormState model
avazirna Sep 16, 2024
5ad2c02
Add SAVE_UNRECOVERABLE_ERROR SaveStatus for malformed or corrupted fo…
avazirna Sep 18, 2024
cdda600
Quarantine only malformed or corrupted form XML as local processing e…
avazirna Sep 18, 2024
621792e
Revert "Show button to re-process quarantine form even for local proc…
avazirna Sep 18, 2024
4299831
Nit
avazirna Sep 19, 2024
7b57114
Expand SAVE_UNRECOVERABLE_ERROR to other applicable error types
avazirna Sep 19, 2024
afa25ac
Payment screen revamp
Jay13Panchal Sep 19, 2024
f614889
-bug fixes
pm-dimagi Sep 19, 2024
b0f4fbb
Merge pull request #2860 from dimagi/jp/ccct-443-payment-tab-revamp
OrangeAndGreen Sep 19, 2024
e3acf14
Add interruption reason related flag to InterruptedFormState
avazirna Sep 19, 2024
2c3b7bb
Remove exit flag from formSaveCallback
avazirna Sep 16, 2024
3023424
Replace exit flag with sessionExpiredOrSuspended flag
avazirna Sep 19, 2024
37e044e
Save interruption reason flag
avazirna Sep 19, 2024
5a0578a
Merge pull request #2853 from dimagi/ctsims/README_endtoend
ctsims Sep 19, 2024
696a1dc
Merge branch 'connect_qa' of https://github.com/dimagi/commcare-andro…
OrangeAndGreen Sep 19, 2024
905e676
Merge pull request #2849 from dimagi/pm_recovery
OrangeAndGreen Sep 19, 2024
e8ef487
Not showing phone number picker until user focuses on country code or…
OrangeAndGreen Sep 19, 2024
97727b0
-bug fixes
pm-dimagi Sep 19, 2024
06da690
Fixing some defaults for phone number inputs.
OrangeAndGreen Sep 19, 2024
3ef6e12
Merge branch 'connect_qa' of https://github.com/dimagi/commcare-andro…
OrangeAndGreen Sep 19, 2024
29424cf
Merge pull request #2861 from dimagi/pm_connect_ui
OrangeAndGreen Sep 19, 2024
1836d2f
Pass InterruptionFormState to form controller
avazirna Sep 19, 2024
d643cca
Show message when restoring session after session pause
avazirna Sep 19, 2024
312ade0
Add userTriggered flag when saving forms
avazirna Sep 19, 2024
2b994db
Don't show message when auto saving
avazirna Sep 19, 2024
6b935e7
Merged with master branch
devanshhooda Sep 20, 2024
d391818
Refactor connect id screen UI
Jay13Panchal Sep 20, 2024
86031f3
-bug fixes
pm-dimagi Sep 20, 2024
afbaf30
-bug fixes
pm-dimagi Sep 20, 2024
57a5117
Merge pull request #2857 from dimagi/add-form-instance-id-to-interrup…
avazirna Sep 20, 2024
5143df7
Small cleanup. Removed magic number.
OrangeAndGreen Sep 20, 2024
c2be990
Merge pull request #2863 from dimagi/pm_connect_bug
OrangeAndGreen Sep 20, 2024
eaba92b
Nit
avazirna Sep 20, 2024
4fc8813
Merge branch 'connect_qa' of https://github.com/dimagi/commcare-andro…
OrangeAndGreen Sep 20, 2024
52c74b0
Merge pull request #2862 from dimagi/jp/refactor-new-revamp-ui
OrangeAndGreen Sep 20, 2024
c4e407b
Refactor code
Jay13Panchal Sep 20, 2024
10fddb1
Merge branch 'connect_qa' into jp/refactor-new-revamp-ui-2
j13panchal Sep 20, 2024
6d19f7d
Merge pull request #2864 from dimagi/jp/refactor-new-revamp-ui-2
OrangeAndGreen Sep 20, 2024
503c57c
Merge pull request #2859 from dimagi/quarantine-malformed-form-xml-as…
avazirna Sep 20, 2024
8a00380
Updating progress ring in learning progress when learning completed b…
OrangeAndGreen Sep 20, 2024
6e0b486
Removed "not seeing expected progress" label in learning progress, an…
OrangeAndGreen Sep 20, 2024
f054e3a
A little more spacing cleanup for consistency in learn and delivery p…
OrangeAndGreen Sep 20, 2024
4211679
Restored ability to resume registration after being interrupted.
OrangeAndGreen Sep 20, 2024
6c16080
Add option to set logs server URL in Developer Settings
avazirna Sep 17, 2024
91acfd7
Remove key when logs URL is blank
avazirna Sep 17, 2024
dd17c2c
Whitelist logs URL developer option
avazirna Sep 18, 2024
e8b0d85
Set User Deacticate flow in new Revamp
Jay13Panchal Sep 24, 2024
aa56ec2
User deactivate flow in new Ravamp
Jay13Panchal Sep 27, 2024
35e252f
Translation added
Jay13Panchal Sep 27, 2024
296dc38
Refactor
avazirna Sep 27, 2024
68d2504
Merge pull request #2843 from dimagi/2795-custom-translations-for-rep…
devanshhooda Sep 30, 2024
8007c6c
Fixes form navigation due to multiple extras
shubham1g5 Oct 1, 2024
925183b
Resolved comments
Jay13Panchal Oct 2, 2024
84a508f
Merge pull request #2866 from dimagi/jp/user-deactivation-flow-new-re…
OrangeAndGreen Oct 4, 2024
3d74fac
Always launching learn/deliver app immediately after downloading.
OrangeAndGreen Oct 7, 2024
91d68da
Configuring several Connect page titles to match designs in Figma.
OrangeAndGreen Oct 7, 2024
54b21b5
Merge pull request #2868 from dimagi/dv/ccct-492-app-launch
OrangeAndGreen Oct 10, 2024
e59f90e
Merge pull request #2869 from dimagi/dv/ccct-489-page-titles
OrangeAndGreen Oct 10, 2024
b195b3a
Remove Multidex usages
MGaetan89 Oct 11, 2024
a5d743e
-bug fixes in ui
pm-dimagi Oct 14, 2024
8c22c3d
Delivery progress revisit
Jay13Panchal Oct 15, 2024
4b608c0
Delivery list screen UI
Jay13Panchal Oct 16, 2024
76c1f22
Refactor
Jay13Panchal Oct 16, 2024
c974298
Merge pull request #2872 from dimagi/pm_ui_changes
OrangeAndGreen Oct 16, 2024
3445cc4
Set redirection to delivery detail screen
Jay13Panchal Oct 17, 2024
6d3e31c
Set-up custom classes
Jay13Panchal Oct 17, 2024
c1e5264
Handle button UI
Jay13Panchal Oct 17, 2024
fab4b13
Merge branch 'connect_qa' into jp/CCCT-496-delivery-progress-UI/UX-re…
Jay13Panchal Oct 17, 2024
586de6c
Set view more redirection
Jay13Panchal Oct 17, 2024
c582628
UI refactor
Jay13Panchal Oct 17, 2024
962f368
Added special case to DispatchActivity to relaunch Connect home when …
OrangeAndGreen Oct 17, 2024
5515950
Merge branch 'connect_qa' into dv/connect_app_back_nav
OrangeAndGreen Oct 17, 2024
dc81a8b
Merge pull request #2875 from dimagi/dv/connect_app_back_nav
OrangeAndGreen Oct 17, 2024
3196da9
Working on opportunities redirction
Jay13Panchal Oct 17, 2024
5a2f0a6
Removed job graphic (not available in configuration).
OrangeAndGreen Oct 17, 2024
0175a42
Merge pull request #2874 from dimagi/jp/CCCT-496-delivery-progress-UI…
OrangeAndGreen Oct 17, 2024
944e59d
Merge branch 'master' of https://github.com/dimagi/commcare-android i…
pm-dimagi Oct 17, 2024
3c01577
Merge branch 'connect_qa' of https://github.com/dimagi/commcare-andro…
pm-dimagi Oct 17, 2024
f045238
-bug fixes in session manager
pm-dimagi Oct 17, 2024
d97dd22
-bug fixes in session manager
pm-dimagi Oct 17, 2024
3213d0f
Passing null for windowWidth in SeesionWrapper from Android
OrangeAndGreen Oct 17, 2024
e0b4c5f
Set redirection based on job selection
Jay13Panchal Oct 21, 2024
edd7668
Merge branch 'connect_qa' into jp/CCCT-498-connect-opportunities-list…
Jay13Panchal Oct 21, 2024
1acf8d8
Add Translation
Jay13Panchal Oct 21, 2024
1fe03ff
Change comment
Jay13Panchal Oct 21, 2024
58aa593
Bug solved
Jay13Panchal Oct 21, 2024
d964ef2
Bug solved
Jay13Panchal Oct 21, 2024
3e0e9bf
Muting DateWidgetTest due to failures
shubham1g5 Oct 21, 2024
e3bfadc
Remove default value
avazirna Oct 21, 2024
beab1e0
Job summary tile
Jay13Panchal Oct 21, 2024
f4c7935
Merge pull request #2871 from MGaetan89/remove_multidex
shubham1g5 Oct 21, 2024
a1a5a36
Fixed handling in jobs list to navigate into learn/deliver apps.
OrangeAndGreen Oct 21, 2024
9718680
Fixed leaning typo to learning
OrangeAndGreen Oct 21, 2024
725e506
Moved some stuff out of LoginActivity
OrangeAndGreen Oct 21, 2024
d313078
Deleted some obsolete files
OrangeAndGreen Oct 21, 2024
1dddcb3
Merge pull request #2877 from dimagi/jp/CCCT-498-connect-opportunitie…
OrangeAndGreen Oct 21, 2024
9c75c87
Update preference dialog title and message
avazirna Oct 21, 2024
1e2b508
Merge pull request #2852 from dimagi/change-log-submission-url
avazirna Oct 22, 2024
b2e4ef9
Merge pull request #2879 from dimagi/muteDateWidgetTest
avazirna Oct 22, 2024
3812a47
Mute exception handling
avazirna Oct 22, 2024
28e87d5
Merge pull request #2848 from dimagi/avoid-unregistering-receiver-whe…
avazirna Oct 22, 2024
6fa2166
job summary tile UI
Jay13Panchal Oct 22, 2024
a577f8e
Job summary tile
Jay13Panchal Oct 22, 2024
890cece
Merge pull request #2867 from dimagi/fixCallOutSearchNavigation
shubham1g5 Oct 22, 2024
6aaf0ff
Revert "Remove exit flag from formSaveCallback"
avazirna Oct 22, 2024
3ade9b2
Refactor
avazirna Oct 22, 2024
7218aba
Make class field nullable
avazirna Oct 22, 2024
ea3e7b8
Added additional states to items in Connect jobs list.
OrangeAndGreen Oct 22, 2024
aa656e4
Merge pull request #2881 from dimagi/dv/CCCT-498-connect-home
OrangeAndGreen Oct 22, 2024
8ca57a1
Set Progress Logic
Jay13Panchal Oct 23, 2024
a776076
Merge branch 'feature/givewell' into adjust-user-messages-when-autosa…
avazirna Oct 23, 2024
dd93821
SYNC button issue
Jay13Panchal Oct 23, 2024
1c79590
Merge pull request #2883 from dimagi/jp/issue-delivery-progress-sync
OrangeAndGreen Oct 23, 2024
a27ab98
Nit
avazirna Oct 23, 2024
019cd2d
Correct userTriggered flag when updating attachments
avazirna Oct 23, 2024
dec7568
Refactor
avazirna Oct 23, 2024
aebd94e
Merge pull request #2858 from dimagi/adjust-user-messages-when-autosa…
avazirna Oct 23, 2024
f5ad515
Merge branch 'connect_qa' of https://github.com/dimagi/commcare-andro…
OrangeAndGreen Oct 23, 2024
1605726
Added job summary tile to landscape app home page.
OrangeAndGreen Oct 23, 2024
e75c65d
Merge pull request #2882 from dimagi/jp/CCCT-490-job-summary-UI
OrangeAndGreen Oct 23, 2024
006fd9a
Cleaned up a few deviations from Figma designs.
OrangeAndGreen Oct 23, 2024
6bd56ed
Merge pull request #2805 from dimagi/feature/givewell
avazirna Oct 23, 2024
3512592
Null-checking job in a few spots before attempting to access it.
OrangeAndGreen Oct 23, 2024
9d7d2f8
Refactor
avazirna Oct 18, 2024
64fd325
Add option to extent session
avazirna Oct 18, 2024
22fb006
Extend the user session when starting a recording
avazirna Oct 24, 2024
cf016e6
Merge branch 'commcare_2.54' into extend-user-session-from-widget-cha…
avazirna Oct 24, 2024
f44c134
Nit
avazirna Oct 24, 2024
5ab7e06
Remove microphone status check for Android 9 and prior
avazirna Oct 24, 2024
992eed9
Make exception to bubble up when form parser fails
avazirna Oct 18, 2024
01a48f4
Merge pull request #2885 from dimagi/remove-recording-status-check
avazirna Oct 24, 2024
729b058
Merge pull request #2884 from dimagi/extend-user-session-from-widget-…
avazirna Oct 24, 2024
480c6ba
Merge pull request #2886 from dimagi/improve-logging-when-saving-form
avazirna Oct 25, 2024
3b4a58f
Return false to prevent adding the preference again
avazirna Oct 25, 2024
5c655e8
Merge pull request #2887 from dimagi/remove-preference-blanking-custo…
avazirna Oct 25, 2024
20b52dd
Merge branch 'master' into commcare_2.54
avazirna Oct 28, 2024
9203c8b
Merge pull request #2888 from dimagi/commcare_2.54
avazirna Oct 28, 2024
81b68cc
Added working hours to ConnectJobRecord.
OrangeAndGreen Nov 1, 2024
b0e63f2
Merge branch 'master' of https://github.com/dimagi/commcare-android i…
OrangeAndGreen Nov 6, 2024
d62c591
Quick fix for text overlap in job details page.
OrangeAndGreen Nov 7, 2024
41a335f
Changed opp sorting in Connect home (by type, then last accessed)
OrangeAndGreen Nov 7, 2024
76848cb
Moved apps in review learning state below delivery apps in opportunit…
OrangeAndGreen Nov 7, 2024
242d08b
Another change to opp sorting
OrangeAndGreen Nov 7, 2024
a9ecc3f
Hiding working hours when either or both are not configured
OrangeAndGreen Nov 11, 2024
f9975f4
Defaulting to prod Connect server instead of staging
OrangeAndGreen Nov 11, 2024
aded8de
Updated Portuguese translations
OrangeAndGreen Nov 11, 2024
329ca4d
Set common appbar in connectId screens
Jay13Panchal Nov 12, 2024
0127ecb
Add translation
Jay13Panchal Nov 12, 2024
4f5d4e4
Fix UI issue in new Sign-in revamp
Jay13Panchal Nov 14, 2024
52a13a0
Set OTP custom view
Jay13Panchal Nov 15, 2024
2594b77
Removed Indian Rupee symbol from UI
OrangeAndGreen Nov 15, 2024
019ba02
Fixed error populating phone number input when changing primary phone…
OrangeAndGreen Nov 15, 2024
0bf4edd
Merge branch 'connect_qa' into jp/CCCT-544-connectid-common-title-bar
OrangeAndGreen Nov 15, 2024
c525f6c
Merge pull request #2893 from dimagi/jp/CCCT-544-connectid-common-tit…
OrangeAndGreen Nov 15, 2024
8ba1016
Merge branch 'connect_qa' into dv/working_hours
OrangeAndGreen Nov 15, 2024
451705e
Merge pull request #2889 from dimagi/dv/working_hours
OrangeAndGreen Nov 15, 2024
fc92b2f
Fixed working hours display
OrangeAndGreen Nov 15, 2024
054ad1c
Setting page title in visit review list
OrangeAndGreen Nov 15, 2024
13f55c5
Added Tigrinya translations
OrangeAndGreen Nov 18, 2024
0e29c97
Added missing externalizable to test.
OrangeAndGreen Nov 18, 2024
334be22
Merge branch 'connect_qa' into jp/QA-7207-signup-UI-UX
Jay13Panchal Nov 19, 2024
4618ee4
Merge pull request #2898 from dimagi/jp/QA-7207-signup-UI-UX
OrangeAndGreen Nov 19, 2024
37d6208
Showing various warning messages under opportunity summary card in ap…
OrangeAndGreen Nov 19, 2024
be2e6a5
Simpler warning message for daily and total limits in app home
OrangeAndGreen Nov 19, 2024
df8af57
Reduced daily progress in app home to a single progress bar (not one …
OrangeAndGreen Nov 19, 2024
8dc7f4b
Set resend OTP round button
Jay13Panchal Nov 20, 2024
75f9e05
Create Custom OTP view
Jay13Panchal Nov 21, 2024
7ce1cc1
Merge branch 'connect_qa' into jp/QA-7214-verify-otp-screen-ui-bug
Jay13Panchal Nov 21, 2024
6e967c8
Merge pull request #2900 from dimagi/jp/QA-7214-verify-otp-screen-ui-bug
OrangeAndGreen Nov 21, 2024
57d2881
Added better message to OTP page when user is deactivating their acco…
OrangeAndGreen Nov 21, 2024
2b56cb1
Merge branch 'connect_qa' of https://github.com/dimagi/commcare-andro…
OrangeAndGreen Nov 21, 2024
4dae24d
Showing warning messages below opportunity summary card in delivery p…
OrangeAndGreen Nov 21, 2024
41b3dcb
UI improvements on Recovery Code page.
OrangeAndGreen Nov 21, 2024
f08f91c
Set bottom sheet for job details
Jay13Panchal Nov 26, 2024
ea76c9b
Added some missing translations identified by QA.
OrangeAndGreen Dec 2, 2024
379d871
Hiding Connect notification tile on app home page during setup (so it…
OrangeAndGreen Dec 2, 2024
a2dee9e
Removed a couple translated strings that shouldn't be translated.
OrangeAndGreen Dec 2, 2024
ac7445f
Added a little bottom margin to keep some text from cutting off
OrangeAndGreen Dec 2, 2024
0fd646d
Hiding "Checking..." text after checking phone number
OrangeAndGreen Dec 3, 2024
d5d25aa
Fixed some missing translations.
OrangeAndGreen Dec 3, 2024
802b7b0
Hide job status button
Jay13Panchal Dec 4, 2024
12f39a6
Solved recovery bugs
Jay13Panchal Dec 4, 2024
6cc1a00
Simplified ConnectId.linkHqWorker to take ConnectLinkedAppRecord inst…
OrangeAndGreen Dec 4, 2024
41ca5e8
Removed date-related functions from network helper, using existing Da…
OrangeAndGreen Dec 4, 2024
eea1345
Merge branch 'connect_qa' into jp/QA-7297-recovery-bugs
OrangeAndGreen Dec 5, 2024
f9f19e4
Merge branch 'connect_qa' into jp/CCCT-563-delivery-detail-bottom-sheet
OrangeAndGreen Dec 5, 2024
f7a0066
Reduced a little duplicated code
OrangeAndGreen Dec 5, 2024
332bf4e
Merge pull request #2904 from dimagi/jp/CCCT-563-delivery-detail-bott…
OrangeAndGreen Dec 5, 2024
648739c
Merge branch 'connect_qa' into jp/QA-7297-recovery-bugs
OrangeAndGreen Dec 5, 2024
56dd386
Fixed navigation after wrong password during recovery.
OrangeAndGreen Dec 5, 2024
87438a5
Merge pull request #2909 from dimagi/jp/QA-7297-recovery-bugs
OrangeAndGreen Dec 5, 2024
4a88457
Shortened a Portuguese string
OrangeAndGreen Dec 6, 2024
5bd2968
Logging exception when linking HQ worker fails
OrangeAndGreen Dec 6, 2024
a79cc5b
Solve learning/delivery progress screen bugs
Jay13Panchal Dec 11, 2024
b8df5cf
Solved translation issue
Jay13Panchal Dec 11, 2024
e2d43ec
Solved home screen issues
Jay13Panchal Dec 11, 2024
af3bc61
Merge branch 'connect_qa' into jp/CCCT-567-home-screen-ui-fixes
Jay13Panchal Dec 11, 2024
7f2a6cc
Merge pull request #2916 from dimagi/QA-7293-portuguese-translation-bugs
OrangeAndGreen Dec 11, 2024
33af9da
Better management of pending Connect actions via DispatchActivity.
OrangeAndGreen Dec 11, 2024
5c58adc
Change logic for hide job status button
Jay13Panchal Dec 12, 2024
70166d2
Remove progress text
Jay13Panchal Dec 12, 2024
a607762
Solve user creation issue
Jay13Panchal Dec 12, 2024
5f85a7f
Solved OTP remove issue from edittext
Jay13Panchal Dec 12, 2024
132bfb9
Merge branch 'connect_qa' into jp/CCCT-567-home-screen-ui-fixes
OrangeAndGreen Dec 12, 2024
49a1a06
Small improvement to logic for hiding Job Status button
OrangeAndGreen Dec 12, 2024
bc92f47
Merge pull request #2917 from dimagi/jp/CCCT-567-home-screen-ui-fixes
OrangeAndGreen Dec 12, 2024
eadb00e
Merge branch 'connect_qa' into jp/QA-7332-user-creation-issue
OrangeAndGreen Dec 12, 2024
a5d3c78
Merge pull request #2919 from dimagi/jp/QA-7332-user-creation-issue
OrangeAndGreen Dec 12, 2024
b609450
Merge branch 'connect_qa' into jp/QA-7221-learning-delivery-progress-…
OrangeAndGreen Dec 12, 2024
7c03cc8
Merge pull request #2915 from dimagi/jp/QA-7221-learning-delivery-pro…
OrangeAndGreen Dec 12, 2024
806bdf9
Closing old user session at a different point (so nav can flow proper…
OrangeAndGreen Dec 12, 2024
ab6ae46
- secondry phone issue
pm-dimagi Dec 12, 2024
d5d3d35
-log exception
pm-dimagi Dec 12, 2024
47d255a
Logging exception instead of simple log message
OrangeAndGreen Dec 12, 2024
56e87f3
Merge branch 'connect_qa' into pm_QA_7325
OrangeAndGreen Dec 12, 2024
47d6859
Merge pull request #2921 from dimagi/pm_QA_7325
OrangeAndGreen Dec 12, 2024
96a1c74
Reporting exception via CrashUtil instead of Logger
OrangeAndGreen Dec 13, 2024
169247b
Using parseDateTime instead of parseDate for some server dates
OrangeAndGreen Dec 13, 2024
83bd409
Merge branch 'connect_qa' of https://github.com/dimagi/commcare-andro…
OrangeAndGreen Dec 13, 2024
1260f3e
Showing message on app home when user in learn app and ready to trans…
OrangeAndGreen Dec 13, 2024
1b28dcc
Merge pull request #2924 from dimagi/dv/learn-to-deliver
OrangeAndGreen Dec 13, 2024
5b3b5e1
Cleaning up file that should be deleted already
OrangeAndGreen Dec 17, 2024
dfb5d64
Restored work from master branch that had been lost on connect_qa bra…
OrangeAndGreen Dec 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ CommCare is an easily customizable, open source mobile platform that supports fr

This repository represents the Android version of CommCare. It depends on the [CommCare Core](https://github.com/dimagi/commcare-core) repository, which contains the XForm engine and case/lookup table implementations.

## End-to-End Development

CommCare Android is a mobile CommCare Platform client runtime, and requires a backend environment for full end-to-end usage and to test platform development.

If you don't have an access to another backend, or if you will be doing full platform development, after completing this setup you can follow [the end-to-end development guide](https://github.com/dimagi/commcare-hq/blob/master/local_dev_guide.rst) which explains how to establish a local environment for CommCare's full client/server software.

## Setup

To set up an Android dev environment for commcare-android, do the following:
Expand Down Expand Up @@ -34,7 +40,6 @@ git clone https://github.com/dimagi/commcare-core.git
- Click "OK" to use the Gradle wrapper
- Wait while Android Studio spins its wheels
- Download any build dependencies that the SDK Manager tells you you need.
- Disable _Instant Run_ found in Settings > Build, Execution, Deployment > Instant Run. (It does not play well with multidexing, which we have enabled, or with some of the processes we have set up for Google Services)

## Building

Expand Down
474 changes: 216 additions & 258 deletions app/AndroidManifest.xml

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions app/assets/locales/android_translatable_strings.txt
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,9 @@ form.entry.incomplete.save.success=Form saved as incomplete
form.entry.save.error=Sorry, form save failed. Please contact CommCare Support to look into the issue.
form.entry.save.invalid.unicode=Could not save '${0}' text in form.
form.entry.finish.button=FINISH
form.entry.exit.button=EXIT
form.entry.restart.after.expiration=You were logged out due to session expiration. The form you were in the middle of has been saved and resumed.
form.entry.restart.after.session.pause=CommCare was closed and the form you were in the middle of has been saved and resumed.

login.attempt.badcred=Username or password are incorrect. Please try again.

Expand Down Expand Up @@ -899,8 +901,8 @@ repeat.dialog.go.back=Go Back
repeat.dialog.leave=Do Not Add
repeat.dialog.exit=Do Not Add. I'm Finished.
repeat.dialog.add=Add Group
repeat.dialog.add.another=Add another "${0}" group?
repeat.dialog.add.new=Add a new "${0}" group?
repeat.dialog.add.another=Add another ${0}?
repeat.dialog.add.new=Add a new ${0}?
lookup.table.missing.error=Unable to find lookup table "${0}". Make sure it exists and this user has access to it.

ethiopian_months=Mäskäräm,T’ïk’ïmt,Hïdar,Tahsas,T’ïr,Yäkatit,Mägabit,Miyaziya,Gïnbot,Säne,Hämle,Nähäse,P’agume
Expand Down
15 changes: 12 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,11 @@ dependencies {
implementation fileTree(include: '*.jar', exclude: 'regexp-me.jar', dir: 'libs')
implementation(name: 'htmlspanner-custom', ext: 'aar')
implementation 'com.github.dimagi:zebra-print-android:v1.3'
implementation 'com.simprints:LibSimprints:1.0.12'
implementation (name: 'LibSimprints-1.0.12', ext: 'aar')
implementation (name: 'mapbox-android-accounts-0.2.0', ext: 'aar')
implementation (name: 'realm-android-library-4.1.1', ext: 'aar')
implementation (name: 'volley-1.1.0', ext: 'aar')
implementation (name: 'storage-2.1.0', ext: 'aar')
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.multidex:multidex:2.0.1'
implementation 'androidx.cardview:cardview:1.0.0'
Expand All @@ -79,7 +83,7 @@ dependencies {
implementation 'androidx.legacy:legacy-preference-v14:1.0.0'
implementation 'androidx.gridlayout:gridlayout:1.0.0'
implementation 'org.bouncycastle:bcprov-jdk15to18:1.72'
implementation 'com.google.android.gms:play-services-maps:17.0.0'
implementation 'com.google.android.gms:play-services-maps:19.0.0'
implementation 'joda-time:joda-time:2.9.4'
implementation 'net.zetetic:android-database-sqlcipher:4.5.3@aar'
implementation 'androidx.sqlite:sqlite:2.2.0'
Expand All @@ -104,7 +108,7 @@ dependencies {
implementation 'com.google.firebase:firebase-messaging:21.1.0'
implementation 'com.google.firebase:firebase-crashlytics:17.2.1'
implementation 'androidx.legacy:legacy-support-core-ui:1.0.0'
implementation 'com.duolingo.open:rtl-viewpager:2.0.0'
implementation (name: 'rtl-viewpager-2.0.0', ext: 'aar')
implementation('com.github.bumptech.glide:glide:4.9.0') {
exclude group: 'com.android.support'
}
Expand All @@ -119,6 +123,10 @@ dependencies {

implementation('io.ona.kujaku:library:0.9.0') {
exclude module: 'xpp3'
exclude module: 'volley'
exclude module: 'storage'
exclude group: 'com.mapbox.mapboxsdk', module: 'mapbox-android-accounts'
exclude group: 'io.realm'
}
implementation 'androidx.work:work-runtime:2.7.1'
implementation 'androidx.work:work-runtime-ktx:2.7.1'
Expand Down Expand Up @@ -257,6 +265,7 @@ android {

buildFeatures {
buildConfig true
dataBinding true
}

defaultConfig {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import kotlin.math.absoluteValue

@RunWith(AndroidJUnit4::class)
@LargeTest
@BrowserstackTests
class DateWidgetsTests : BaseTest() {
companion object {
const val CCZ_NAME = "date_widgets_tests.ccz"
Expand Down Expand Up @@ -162,4 +161,4 @@ class DateWidgetsTests : BaseTest() {
val newDate = DateTimeFormatter.ofPattern("yyyy-MM-dd").format(date)
return newDate
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package org.commcare.androidTests

import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.action.ViewActions.click
import androidx.test.espresso.assertion.ViewAssertions.matches
import androidx.test.espresso.matcher.ViewMatchers.withId
import androidx.test.espresso.matcher.ViewMatchers.withText
import androidx.test.ext.junit.runners.AndroidJUnit4
Expand Down Expand Up @@ -44,15 +45,16 @@ class DialogTests: BaseTest() {
onView(withId(R.id.nav_btn_next))
.perform(click())

withText("Add a new \"Error on add\" group?").isDisplayed()
onView(withId(R.id.choice_dialog_panel_2)).check(matches(withText("Add a new Error on add?")))

InstrumentationUtility.rotateLeft()
//TODO Expect dialog to not persist due to a activity lifecycle bug in our dialog framework.
withText("Add a new \"Error on add\" group?").doesNotExist()
withText(R.id.choice_dialog_panel_2).doesNotExist()

InstrumentationUtility.rotatePortrait()
onView(withId(R.id.nav_btn_next))
.perform(click())
onView(withText("ADD GROUP"))
onView(withId(R.id.choice_dialog_panel_2))
.perform(click())

checkDialogExistence_withRotation("Error Occurred")
Expand Down
Binary file added app/libs/LibSimprints-1.0.12.aar
Binary file not shown.
Binary file added app/libs/mapbox-android-accounts-0.2.0.aar
Binary file not shown.
Binary file added app/libs/realm-android-library-4.1.1.aar
Binary file not shown.
Binary file added app/libs/rtl-viewpager-2.0.0.aar
Binary file not shown.
Binary file added app/libs/storage-2.1.0.aar
Binary file not shown.
Binary file added app/libs/volley-1.1.0.aar
Binary file not shown.
2 changes: 0 additions & 2 deletions app/proguard-multidex.pro

This file was deleted.

Binary file added app/res/drawable-hdpi/connect_arrow_down.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-hdpi/connect_edittext_cancel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-hdpi/connect_ic_inventory.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-hdpi/ic_connect_delivery.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-hdpi/ic_connect_download_green.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-hdpi/ic_connect_expired.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-hdpi/ic_connect_learning.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-hdpi/ic_connect_new_opportunity.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-ldpi/ic_connect_delivery.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-ldpi/ic_connect_download_green.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-ldpi/ic_connect_expired.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-ldpi/ic_connect_learning.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-ldpi/ic_connect_new_opportunity.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-mdpi/connect_arrow_down.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-mdpi/connect_edittext_cancel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-mdpi/connect_ic_inventory.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-mdpi/ic_connect_delivery.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-mdpi/ic_connect_download_green.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-mdpi/ic_connect_expired.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-mdpi/ic_connect_learning.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-mdpi/ic_connect_new_opportunity.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-xhdpi/connect_arrow_down.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-xhdpi/connect_ic_inventory.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-xhdpi/ic_connect_delivery.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-xhdpi/ic_connect_download_green.png
Binary file added app/res/drawable-xhdpi/ic_connect_expired.png
Binary file added app/res/drawable-xhdpi/ic_connect_learning.png
Binary file added app/res/drawable-xxhdpi/connect_arrow_down.png
Binary file added app/res/drawable-xxhdpi/connect_ic_inventory.png
Binary file added app/res/drawable-xxhdpi/ic_connect_delivery.png
Binary file added app/res/drawable-xxhdpi/ic_connect_expired.png
Binary file added app/res/drawable-xxhdpi/ic_connect_learning.png
Binary file added app/res/drawable-xxxhdpi/connect_arrow_down.png
Binary file added app/res/drawable-xxxhdpi/connect_ic_inventory.png
Binary file added app/res/drawable-xxxhdpi/ic_connect_delivery.png
Binary file added app/res/drawable-xxxhdpi/ic_connect_expired.png
Binary file added app/res/drawable-xxxhdpi/ic_connect_learning.png
5 changes: 5 additions & 0 deletions app/res/drawable/baseline_menu_24.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<vector android:height="24dp" android:tint="#FFFFFF"
android:viewportHeight="24" android:viewportWidth="24"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="@android:color/white" android:pathData="M3,18h18v-2L3,16v2zM3,13h18v-2L3,11v2zM3,6v2h18L21,6L3,6z"/>
</vector>
5 changes: 5 additions & 0 deletions app/res/drawable/baseline_save_24.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<vector android:height="48dp" android:tint="#FFFFFF"
android:viewportHeight="24" android:viewportWidth="24"
android:width="48dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="@android:color/white" android:pathData="M17,3L5,3c-1.11,0 -2,0.9 -2,2v14c0,1.1 0.89,2 2,2h14c1.1,0 2,-0.9 2,-2L21,7l-4,-4zM12,19c-1.66,0 -3,-1.34 -3,-3s1.34,-3 3,-3 3,1.34 3,3 -1.34,3 -3,3zM15,9L5,9L5,5h10v4z"/>
</vector>
11 changes: 11 additions & 0 deletions app/res/drawable/bottom_shadow.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- bottom_shadow.xml -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape android:shape="rectangle">
<gradient
android:startColor="@color/connect_blue_color_50"
android:endColor="@android:color/transparent"
android:angle="270" />
</shape>
</item>
</layer-list>
Binary file added app/res/drawable/cert_1.png
15 changes: 15 additions & 0 deletions app/res/drawable/connect_edit_text_bg.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<padding
android:bottom="@dimen/content_start"
android:left="@dimen/content_start"
android:right="@dimen/content_start"
android:top="@dimen/content_start"/>
<size android:height="48dp"/>
<solid android:color="@color/white"/>
<stroke
android:color="@color/connect_blue_color_10"
android:width="1dp"/>
<corners android:radius="5dp"/>
</shape>
9 changes: 9 additions & 0 deletions app/res/drawable/connect_right_arrow.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="14dp"
android:height="14dp"
android:viewportWidth="14"
android:viewportHeight="14">
<path
android:pathData="M7,0.333L5.825,1.508L10.475,6.166H0.333V7.833H10.475L5.825,12.491L7,13.666L13.667,7L7,0.333Z"
android:fillColor="#ffffff"/>
</vector>
5 changes: 5 additions & 0 deletions app/res/drawable/connect_rounded_corner_grey.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@color/connect_lighter_grey" />
<corners android:radius="16dp" />
</shape>
5 changes: 5 additions & 0 deletions app/res/drawable/connect_rounded_corner_light_green.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@color/connect_light_green" />
<corners android:radius="16dp" />
</shape>
5 changes: 5 additions & 0 deletions app/res/drawable/connect_rounded_corner_orange_yellow.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@color/connect_orange_yellow" />
<corners android:radius="16dp" />
</shape>
5 changes: 5 additions & 0 deletions app/res/drawable/connect_rounded_corner_teslish_blue.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@color/connect_tealish_blue_color" />
<corners android:radius="16dp" />
</shape>
7 changes: 7 additions & 0 deletions app/res/drawable/connect_side_icon_bg.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">

<solid android:color="@color/connect_blue_color_10"/>
<corners android:radius="5dp"/>
</shape>
Binary file added app/res/drawable/enter_code.png
Binary file added app/res/drawable/flower.png
13 changes: 13 additions & 0 deletions app/res/drawable/ic_connect_action_overflow.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<group>
<clip-path
android:pathData="M0,0h24v24h-24z"/>
<path
android:pathData="M12,19.269C11.587,19.269 11.234,19.122 10.941,18.828C10.647,18.535 10.5,18.181 10.5,17.769C10.5,17.357 10.647,17.003 10.941,16.709C11.234,16.416 11.587,16.269 12,16.269C12.413,16.269 12.766,16.416 13.059,16.709C13.353,17.003 13.5,17.357 13.5,17.769C13.5,18.181 13.353,18.535 13.059,18.828C12.766,19.122 12.413,19.269 12,19.269ZM12,13.5C11.587,13.5 11.234,13.353 10.941,13.059C10.647,12.765 10.5,12.412 10.5,12C10.5,11.587 10.647,11.234 10.941,10.941C11.234,10.647 11.587,10.5 12,10.5C12.413,10.5 12.766,10.647 13.059,10.941C13.353,11.234 13.5,11.587 13.5,12C13.5,12.412 13.353,12.765 13.059,13.059C12.766,13.353 12.413,13.5 12,13.5ZM12,7.73C11.587,7.73 11.234,7.584 10.941,7.29C10.647,6.996 10.5,6.643 10.5,6.23C10.5,5.818 10.647,5.465 10.941,5.171C11.234,4.877 11.587,4.73 12,4.73C12.413,4.73 12.766,4.877 13.059,5.171C13.353,5.465 13.5,5.818 13.5,6.23C13.5,6.643 13.353,6.996 13.059,7.29C12.766,7.584 12.413,7.73 12,7.73Z"
android:fillColor="#ffffff"/>
</group>
</vector>
13 changes: 13 additions & 0 deletions app/res/drawable/ic_connect_arrow_back.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<group>
<clip-path
android:pathData="M0,0h24v24h-24z"/>
<path
android:pathData="M7.373,12.75L13.069,18.446L12,19.5L4.5,12L12,4.5L13.069,5.554L7.373,11.25H19.5V12.75H7.373Z"
android:fillColor="#ffffff"/>
</group>
</vector>
9 changes: 9 additions & 0 deletions app/res/drawable/ic_connect_arrow_forward.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="16dp"
android:height="16dp"
android:viewportWidth="16"
android:viewportHeight="16">
<path
android:pathData="M12.627,8.75H0.5V7.25H12.627L6.931,1.554L8,0.5L15.5,8L8,15.5L6.931,14.446L12.627,8.75Z"
android:fillColor="#3A42C7"/>
</vector>
9 changes: 9 additions & 0 deletions app/res/drawable/ic_connect_arrow_forward_24px.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="20dp"
android:height="20dp"
android:viewportWidth="20"
android:viewportHeight="20">
<path
android:pathData="M10,3.333L8.825,4.508L13.475,9.166H3.333V10.833H13.475L8.825,15.491L10,16.666L16.667,10L10,3.333Z"
android:fillColor="@color/connect_dark_blue_color"/>
</vector>
13 changes: 13 additions & 0 deletions app/res/drawable/ic_connect_check_circle.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<group>
<clip-path
android:pathData="M0,0h24v24h-24z"/>
<path
android:pathData="M10.581,16.254L17.304,9.531L16.25,8.477L10.581,14.146L7.731,11.296L6.677,12.35L10.581,16.254ZM12.002,21.5C10.688,21.5 9.453,21.251 8.297,20.752C7.14,20.253 6.135,19.577 5.28,18.722C4.424,17.867 3.747,16.862 3.248,15.706C2.749,14.55 2.5,13.316 2.5,12.002C2.5,10.688 2.749,9.453 3.248,8.297C3.747,7.14 4.423,6.135 5.278,5.28C6.133,4.424 7.138,3.747 8.294,3.248C9.45,2.749 10.684,2.5 11.998,2.5C13.312,2.5 14.547,2.749 15.703,3.248C16.86,3.747 17.865,4.423 18.721,5.278C19.576,6.133 20.253,7.138 20.752,8.294C21.251,9.45 21.5,10.684 21.5,11.998C21.5,13.312 21.251,14.547 20.752,15.703C20.253,16.86 19.577,17.865 18.722,18.721C17.867,19.576 16.862,20.253 15.706,20.752C14.55,21.251 13.316,21.5 12.002,21.5Z"
android:fillColor="#ffffff"/>
</group>
</vector>
9 changes: 9 additions & 0 deletions app/res/drawable/ic_connect_close.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z"
android:fillColor="#D1D5DB"/>
</vector>
9 changes: 9 additions & 0 deletions app/res/drawable/ic_connect_delivery_approved.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="M9,16.17L4.83,12L3.41,13.41L9,19L21,7L19.59,5.59L9,16.17Z"
android:fillColor="#16A085"/>
</vector>
9 changes: 9 additions & 0 deletions app/res/drawable/ic_connect_delivery_check_circle.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="13dp"
android:height="13dp"
android:viewportWidth="13"
android:viewportHeight="13">
<path
android:pathData="M5.387,9.169L9.869,4.687L9.167,3.985L5.387,7.764L3.487,5.864L2.785,6.567L5.387,9.169ZM6.334,12.667C5.458,12.667 4.635,12.5 3.864,12.168C3.094,11.836 2.423,11.384 1.853,10.814C1.283,10.245 0.831,9.574 0.499,8.804C0.166,8.034 0,7.21 0,6.334C0,5.458 0.166,4.635 0.499,3.864C0.831,3.094 1.282,2.423 1.852,1.853C2.422,1.283 3.092,0.831 3.863,0.499C4.633,0.166 5.456,0 6.332,0C7.208,0 8.032,0.166 8.802,0.499C9.573,0.831 10.244,1.282 10.814,1.852C11.384,2.422 11.835,3.092 12.168,3.863C12.5,4.633 12.667,5.456 12.667,6.332C12.667,7.208 12.5,8.032 12.168,8.802C11.836,9.573 11.384,10.244 10.814,10.814C10.245,11.384 9.574,11.835 8.804,12.168C8.034,12.5 7.21,12.667 6.334,12.667ZM6.333,11.667C7.822,11.667 9.083,11.15 10.117,10.117C11.15,9.083 11.667,7.822 11.667,6.333C11.667,4.844 11.15,3.583 10.117,2.55C9.083,1.517 7.822,1 6.333,1C4.844,1 3.583,1.517 2.55,2.55C1.517,3.583 1,4.844 1,6.333C1,7.822 1.517,9.083 2.55,10.117C3.583,11.15 4.844,11.667 6.333,11.667Z"
android:fillColor="#3A42C7"/>
</vector>
10 changes: 10 additions & 0 deletions app/res/drawable/ic_connect_delivery_pending.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="M11.99,2C6.47,2 2,6.48 2,12C2,17.52 6.47,22 11.99,22C17.52,22 22,17.52 22,12C22,6.48 17.52,2 11.99,2ZM12,20C7.58,20 4,16.42 4,12C4,7.58 7.58,4 12,4C16.42,4 20,7.58 20,12C20,16.42 16.42,20 12,20ZM11,13.07L16.49,16.36L17.51,14.64L13,11.93V6.42H11V13.07Z"
android:fillColor="#9CA3AF"
android:fillType="evenOdd"/>
</vector>
Binary file added app/res/drawable/ic_connect_delivery_progress.png
9 changes: 9 additions & 0 deletions app/res/drawable/ic_connect_delivery_rejected.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z"
android:fillColor="#EA6944"/>
</vector>
13 changes: 13 additions & 0 deletions app/res/drawable/ic_connect_directory_sync.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="20dp"
android:height="20dp"
android:viewportWidth="20"
android:viewportHeight="20">
<group>
<clip-path
android:pathData="M0,0h20v20h-20z"/>
<path
android:pathData="M4.667,14.458C4.139,13.833 3.736,13.139 3.458,12.375C3.181,11.611 3.042,10.819 3.042,10C3.042,8.014 3.785,6.357 5.271,5.031C6.757,3.705 8.514,3.042 10.542,3.042V1.916L13.271,3.958L10.542,6V4.875C9.014,4.875 7.688,5.361 6.563,6.333C5.438,7.305 4.875,8.528 4.875,10C4.875,10.625 4.983,11.222 5.198,11.792C5.413,12.361 5.722,12.882 6.125,13.354L4.667,14.458ZM9.458,18.083L6.729,16.042L9.458,14V15.125C10.986,15.125 12.313,14.639 13.438,13.667C14.563,12.694 15.125,11.472 15.125,10C15.125,9.375 15.017,8.774 14.802,8.198C14.587,7.621 14.278,7.097 13.875,6.625L15.333,5.521C15.861,6.146 16.264,6.84 16.542,7.604C16.819,8.368 16.958,9.167 16.958,10C16.958,11.986 16.215,13.642 14.729,14.969C13.243,16.295 11.486,16.958 9.458,16.958V18.083Z"
android:fillColor="#ffffff"/>
</group>
</vector>
Binary file added app/res/drawable/ic_connect_job_logo.png
17 changes: 17 additions & 0 deletions app/res/drawable/ic_connect_pager_indicator.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<item android:gravity="center">
<shape>
<size
android:width="40dp"
android:height="4dp" />

<corners
android:topLeftRadius="5dp"
android:topRightRadius="5dp" />

<solid android:color="#FF0000" />
</shape>
</item>
</layer-list>
16 changes: 16 additions & 0 deletions app/res/drawable/ic_connect_payment_earned.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="42dp"
android:height="42dp"
android:viewportWidth="24"
android:viewportHeight="24">
<group>
<clip-path
android:pathData="M0,0h24v24h-24z"/>
<path
android:pathData="M6.702,18.577L13.96,20.631L19.929,18.781C19.878,18.554 19.772,18.38 19.611,18.259C19.451,18.138 19.27,18.077 19.067,18.077H14.17C13.734,18.077 13.363,18.06 13.058,18.027C12.753,17.994 12.439,17.921 12.117,17.808L9.86,17.062L10.304,15.592L12.329,16.296C12.631,16.399 12.981,16.469 13.377,16.506C13.773,16.543 14.337,16.567 15.067,16.577C15.067,16.33 15.012,16.116 14.9,15.937C14.788,15.757 14.642,15.636 14.46,15.573L8.658,13.442C8.638,13.436 8.621,13.431 8.605,13.428C8.589,13.425 8.571,13.423 8.552,13.423H6.702V18.577ZM1.702,21.5V11.923H8.54C8.646,11.923 8.752,11.935 8.859,11.958C8.967,11.981 9.067,12.008 9.16,12.039L14.986,14.185C15.44,14.353 15.817,14.65 16.117,15.076C16.417,15.502 16.567,16.003 16.567,16.577H19.067C19.785,16.577 20.37,16.809 20.822,17.272C21.274,17.736 21.5,18.337 21.5,19.077V19.885L14.009,22.212L6.702,20.127V21.5H1.702ZM3.202,20H5.202V13.423H3.202V20Z"
android:fillColor="#ffffff"/>
<path
android:pathData="M16.5,9.5m-3.5,0a3.5,3.5 0,1 1,7 0a3.5,3.5 0,1 1,-7 0"
android:fillColor="#ffffff"/>
</group>
</vector>
Loading