-
Notifications
You must be signed in to change notification settings - Fork 54
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
CHT External App Launcher #199
Conversation
src/main/java/org/medicmobile/webapp/mobile/ChtExternalAppLauncher.java
Outdated
Show resolved
Hide resolved
Hi @jkuester, I heard that you have experience with Android and Java, would you please review this draft? |
src/main/java/org/medicmobile/webapp/mobile/ChtExternalAppLauncher.java
Outdated
Show resolved
Hide resolved
Disabled AndroidGradlePluginVersion lint rule as newer version of the lib requires Java 11 min.
Hi @jkuester, I think I've done all my pending items:
Please let me know any feedback 🙂 I'll be working in the second piece of this feature which is the Enketo widget to process the form and connect with this Android feature. |
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.
Overall these changes look great! I have added some minor suggestions around the structure/flow and some questions regarding some small parts of the logic.
I have not had a chance to look at the tests yet, but I wanted to at least get these comments in to start with.
src/main/java/org/medicmobile/webapp/mobile/ChtExternalAppLauncherActivity.java
Outdated
Show resolved
Hide resolved
src/main/java/org/medicmobile/webapp/mobile/ChtExternalAppLauncherActivity.java
Outdated
Show resolved
Hide resolved
src/main/java/org/medicmobile/webapp/mobile/ChtExternalAppLauncher.java
Outdated
Show resolved
Hide resolved
src/main/java/org/medicmobile/webapp/mobile/ChtExternalAppLauncher.java
Outdated
Show resolved
Hide resolved
src/main/java/org/medicmobile/webapp/mobile/ChtExternalAppLauncher.java
Outdated
Show resolved
Hide resolved
src/main/java/org/medicmobile/webapp/mobile/ChtExternalAppLauncher.java
Outdated
Show resolved
Hide resolved
src/main/java/org/medicmobile/webapp/mobile/ChtExternalAppLauncher.java
Outdated
Show resolved
Hide resolved
src/main/java/org/medicmobile/webapp/mobile/ChtExternalAppLauncher.java
Outdated
Show resolved
Hide resolved
src/main/java/org/medicmobile/webapp/mobile/ChtExternalAppLauncher.java
Outdated
Show resolved
Hide resolved
src/main/java/org/medicmobile/webapp/mobile/ChtExternalAppLauncher.java
Outdated
Show resolved
Hide resolved
src/webview/java/org/medicmobile/webapp/mobile/MedicAndroidJavascript.java
Outdated
Show resolved
Hide resolved
src/xwalk/java/org/medicmobile/webapp/mobile/MedicAndroidJavascript.java
Outdated
Show resolved
Hide resolved
Hi @jkuester Thanks for the feedback and examples, it was good learning, can you please review again? Thanks! |
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.
Great test cases!
src/main/java/org/medicmobile/webapp/mobile/ChtExternalApp.java
Outdated
Show resolved
Hide resolved
src/main/java/org/medicmobile/webapp/mobile/ChtExternalAppHandler.java
Outdated
Show resolved
Hide resolved
@latin-panda I have created an issue for the linter issue here: #201 , working on that. |
@jkuester I've applied the feedback, please have a look :) |
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.
🚀
…6981-launching-external-apps � Conflicts: � build.gradle
Description
This PR:
Ticket: medic/cht-core#6981
PR CHT-Docs
PR CHT-Core
License
The software is provided under AGPL-3.0. Contributions to this project are accepted under the same license.