-
Notifications
You must be signed in to change notification settings - Fork 24
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
Form configurability compatibility update #523
base: develop
Are you sure you want to change the base?
Conversation
Remove native-forms dependency and add client-core form config dependency
Fix failing RegisterFragmentPresenterTest
@@ -33,6 +34,9 @@ protected void scheduleJobsPeriodically() { | |||
SyncSettingsServiceJob | |||
.scheduleJob(SyncSettingsServiceJob.TAG, TimeUnit.MINUTES.toMillis(BuildConfig.CLIENT_SETTINGS_SYNC_MINUTES), | |||
getFlexValue(BuildConfig.CLIENT_SETTINGS_SYNC_MINUTES)); | |||
DocumentConfigurationServiceJob | |||
.scheduleJob(DocumentConfigurationServiceJob.TAG, TimeUnit.MINUTES.toMillis(BuildConfig.CLIENT_SETTINGS_SYNC_MINUTES), |
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.
Can you add the job to run immediately after login?? I'll see if I can direct you to the exact location
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.
@ekigamba In the LoginInteractor#scheduleJobsImmediately()
? 🤔
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.
@allan-allay Yea, I think that's it. Also add it to run when the sync button on the register is clicked
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.
Cool. Let me implement the changes
Here is an overview of what got changed by this pull request: Complexity increasing per file
==============================
- reference-app/src/main/java/org/smartregister/anc/job/AncJobCreator.java 1
See the complete overview on Codacy |
Schedule immediately on login & on sync icon clicked
Code Climate has analyzed commit 48bdb6b and detected 1 issue on this pull request. Here's the issue category breakdown:
View more on Code Climate. |
DynamicJsonFormActivity
instead ofJsonFormActivity
See #521 for details