Comments (2)
@nsabale7 @joiskash @divyaramnath-13 @delcroip @dubdabasoduba @roywanyaga and I briefly discussed this.
On one hand, we should try to contribute to upstream libs and use the NpmPackageManager in HAPI, and make sure that it can be performant enough on Android. On the other hand, we have built the Knowledge Manager library on Android which has significant functionality overlap and is intended to make using NPM packages (and individual knowledge resources) easier on Android.
I think going forward we have two approahces:
- we could try to implement the IWorkerContext using knowledge manager, and essentially for knowledge manager to provide a worker context to the SDC library to use. This way, as an Android developer, your interation with npm packages should all go through knowledge manager.
- another approach is actually rewrite knowledge manager using the worker context as its in-memory model. but we really need to figure out why the context is running slowly on android before we can commit to this.
i feel like kashyap's pr #2280 is a good step towards 1.
for 2, we will need to do some profiling in android studio. @omarismail94 has some experience with this and may be able to help. but i'm not sure of his bandwidth. so @nsabale7 and others please feel free to take this on.
@brynrhodes fyi
from android-fhir.
i should also add 1 and 2 in my above comment are not mutually exclusive - we can do both.
1 is about providing a simpler api to developers. 2 is about knowledge manager's internal implementation detail.
from android-fhir.
Related Issues (20)
- Declare dependencies differently, so that Dependabot "sees" them (and "group" dependencies which Dependabot already sees) HOT 4
- Run Flank in GitHub Action HOT 6
- AndroidxTest JAR duplicates on testImplementation scope of `common` module
- Build Failure: CodeQL detected code written in Java/Kotlin but could not process any of it. HOT 4
- Too many Email Notifications since Committers (Maintainers) seem to automagically get added as reviewers now? HOT 3
- Exception with the Flow while using Obfuscation and Shrink Resource in release build HOT 4
- Search query takes more time while loading service data HOT 10
- Error with Json Patch HOT 3
- Migrate to Kotlin Multiplatform HOT 3
- Getting Page not found for example of applying custom component implementation in Github Page. HOT 1
- Test $apply using Measles Immunization mini-IG HOT 1
- Questionnaire content style customization HOT 3
- Bug Report: Calculated Expression Fails to Update Beyond Initial Changes in Questionnaire HOT 1
- SyncUploadProgress Only Emits on Batch Success, Delaying Database Consolidation HOT 1
- help info box disappears after changing answer HOT 2
- Ability to Dump Application's Database HOT 7
- Concurrent Sync Worker execution can lead to data inconsistencies
- Uploader should not be responsible for creating patches
- Inaccurate tracking of SyncJobStatus due to "completion-event" preceding room db update
- PerResourceLocalChangeFetcher gives back incorrect total changes to be uploaded
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-fhir.