-
-
Notifications
You must be signed in to change notification settings - Fork 45
Master connectid merge #3037
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
Master connectid merge #3037
Conversation
…ommcare-android into pm_connectid_merge # Conflicts: # app/src/org/commcare/connect/database/ConnectDatabaseHelper.java # app/src/org/commcare/connect/database/ConnectDatabaseUtils.java # app/src/org/commcare/google/services/analytics/AnalyticsParamValue.java # app/src/org/commcare/google/services/analytics/FirebaseAnalyticsUtil.java
… from connectId fragments
…nto pm_connectid_merge # Conflicts: # app/res/values/strings.xml
|
@damagatchi retest this please |
| public static final int CONNECTID_REQUEST_CODE = 1034; | ||
| public static final int LOGIN_CONNECT_LAUNCH_REQUEST_CODE = 1050; | ||
| public static final int COMMCARE_SETUP_CONNECT_LAUNCH_REQUEST_CODE = 1051; | ||
| public static final int STANDARD_HOME_CONNECT_LAUNCH_REQUEST_CODE = 1051; | ||
| public static final int NETWORK_ACTIVITY_ID = 7000; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CodeRabbit makes a good point here! Should these be different?
|
@damagatchi retest this please |
| public void forgetUser(String reason) { | ||
|
|
||
| if (ConnectDatabaseHelper.dbExists(parentActivity)) { | ||
| FirebaseAnalyticsUtil.reportCccDeconfigure(reason); | ||
| } | ||
|
|
||
| ConnectUserDatabaseUtil.forgetUser(parentActivity); | ||
| ConnectIdActivity connectIdActivity = new ConnectIdActivity(); | ||
| connectIdActivity.reset(); | ||
| connectStatus = ConnectIdStatus.NotIntroduced; | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed with coderabbit, this doesn't seem right. Since none of those fields are static I don't think there's any need to reset them here, since they'll be cleaned up when the activity gets popped
…nto pm_missing_code # Conflicts: # app/src/org/commcare/activities/StandardHomeActivity.java
…nto pm_connectid_merge # Conflicts: # app/src/org/commcare/activities/StandardHomeActivity.java
…re-android into pm_missing_code
-update the missing code, and change the request code value
…re-android into master_connectid_merge # Conflicts: # app/src/org/commcare/activities/StandardHomeActivity.java
|
@damagatchi retest this please |
Product Description
This Pr contains the phase 2 Connectid Code merged with master
Technical Summary
#2949
https://dimagi.atlassian.net/browse/CCCT-956
cross-request: dimagi/commcare-core#1455
Feature Flag
Connect id COde
Safety Assurance
Safety story
Automated test coverage
QA Plan
Labels and Review