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

Fix reference and integration issues #20

Merged
merged 28 commits into from
Nov 5, 2020

Conversation

ekigamba
Copy link
Contributor

@ekigamba ekigamba commented Aug 3, 2020

Depends on #19

To test

  1. Run ./gradlew clean && ./gradlew :opensrp-tasking:uploadArchives -PmavenLocal=true --stacktrace --rerun-tasks in the root folder of the project to publish the lib in your local maven repository
  2. Run ls ~/.m2/repository/org/smartregister/opensrp-client-tasking/ to confirm that the folder 0.0.3-SNAPSHOT was created & artifact published
  3. Update your Reveal project & switch to the integrate-tasking-library branch in this PR
  4. Update your oauth configs in local.properties & run the project
  5. Login, creating new structures among other features should work

ekigamba added 11 commits August 3, 2020 17:37
- Fix errors in AvailableMapsFragment, LocationTaskIntentService & OfflineMapHelper
- Add mapStyleAssetPath as the FileHttpServerTask constructor param
- Add AvailableOfflineMapsInteractor
- Add DownloadedOfflineMapsInteractor
- Add RealmDatabase getter on TaskingLibrary
Change the modifier of the init method to static
- Require clients using the TaskingLibrary to implement the properties and behaviours
- The commented out functionality was delegated to the implementing application
- The commented  out functionality will be implemented on the TaskingLibraryConfiguration class methods
@ekigamba ekigamba force-pushed the fix-reference-and-integration-issues branch from e768942 to 39fa881 Compare August 7, 2020 13:47
- Fix repository is null RuntimeException
- Fix integration requirements by adding required params for implementation of features on the client app
- Increment version to 0.0.3-SNAPSHOT
- Fixed some failing tests by adding assets to the tests folder
- Fixed failing tests by implementing test activities & configurations
- Fixed failing tests by verifying configuration methods were called instead of expected implementations on Reveal
1. Fix missing implementations - missing strings, missing variables set as null, server configs
2. Move other implementation to client app
3. Fix documentation on implementing abstract method getMapStyleAssetPath
4. Fix some tests by updating getActionDrawable(android.content.Context context, TaskDetails task) implementation
…ase call

- Add RealmDatabase shadow
- Add RealmDatabase shadow to Robolectric shadows config
githengi
githengi previously approved these changes Nov 4, 2020
@githengi githengi merged commit 3577ebf into master Nov 5, 2020
@githengi githengi deleted the fix-reference-and-integration-issues branch November 5, 2020 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants