# Evaluating the cost-of-care app

**URL:** <https://forums.librehealth.io/t/evaluating-the-cost-of-care-app/3851>\
**Category:** Toolkit\
**Tags:** android, toolkit, cost-of-care, flutter\
**Created:** [November 19, 2020, 9:18pm UTC](https://forums.librehealth.io/t/evaluating-the-cost-of-care-app/3851 "2020-11-19T21:18:03Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Darshpreet2000](https://forums.librehealth.io/user_avatar/forums.librehealth.io/darshpreet2000/32/1172_2.png) [@Darshpreet2000](https://forums.librehealth.io/u/Darshpreet2000)\
**Post date:** [November 27, 2020, 7:24am UTC](https://forums.librehealth.io/t/evaluating-the-cost-of-care-app/3851/21 "2020-11-27T07:24:13Z")

</div>

> [@muarachmann](#):
>
> stick on getting the app up and deployed on Playstore

Okay, When we are deploying it on PlayStore? Let me know if I have to make signed Apk for release

---

<div class="post-metadata">

**Author:** ![r0bby](https://forums.librehealth.io/user_avatar/forums.librehealth.io/r0bby/32/1781_2.png) [@r0bby](https://forums.librehealth.io/u/r0bby)\
**Post date:** [November 27, 2020, 8:40am UTC](https://forums.librehealth.io/t/evaluating-the-cost-of-care-app/3851/22 "2020-11-27T08:40:09Z")

</div>

Don’t we have to pay to get a developer account?

---

<div class="post-metadata">

**Author:** ![Darshpreet2000](https://forums.librehealth.io/user_avatar/forums.librehealth.io/darshpreet2000/32/1172_2.png) [@Darshpreet2000](https://forums.librehealth.io/u/Darshpreet2000)\
**Post date:** [November 27, 2020, 8:42am UTC](https://forums.librehealth.io/t/evaluating-the-cost-of-care-app/3851/23 "2020-11-27T08:42:59Z")

</div>

Yes @r0bby , its $25 USD one-time registration fee, There is no limit to the number of apps per developer ID

---

<div class="post-metadata">

**Author:** ![r0bby](https://forums.librehealth.io/user_avatar/forums.librehealth.io/r0bby/32/1781_2.png) [@r0bby](https://forums.librehealth.io/u/r0bby)\
**Post date:** [November 27, 2020, 8:50pm UTC](https://forums.librehealth.io/t/evaluating-the-cost-of-care-app/3851/24 "2020-11-27T20:50:42Z")

</div>

Alrighty, can do that. @sunbiz, should I submit a request to the SFC to set this up?

---

<div class="post-metadata">

**Author:** ![sunbiz](https://forums.librehealth.io/user_avatar/forums.librehealth.io/sunbiz/32/395_2.png) [@sunbiz](https://forums.librehealth.io/u/sunbiz)\
**Post date:** [November 28, 2020, 6:07am UTC](https://forums.librehealth.io/t/evaluating-the-cost-of-care-app/3851/25 "2020-11-28T06:07:20Z")

</div>

yes, please submit a request to the SFC. If it takes more than a week for approval, I will set it up through the infrastructure email address.

---

<div class="post-metadata">

**Author:** ![r0bby](https://forums.librehealth.io/user_avatar/forums.librehealth.io/r0bby/32/1781_2.png) [@r0bby](https://forums.librehealth.io/u/r0bby)\
**Post date:** [November 29, 2020, 11:28pm UTC](https://forums.librehealth.io/t/evaluating-the-cost-of-care-app/3851/26 "2020-11-29T23:28:18Z")

</div>

Will do @sunbiz – I’ll try to be on-top of it.

---

<div class="post-metadata">

**Author:** ![r0bby](https://forums.librehealth.io/user_avatar/forums.librehealth.io/r0bby/32/1781_2.png) [@r0bby](https://forums.librehealth.io/u/r0bby)\
**Post date:** [November 29, 2020, 11:31pm UTC](https://forums.librehealth.io/t/evaluating-the-cost-of-care-app/3851/27 "2020-11-29T23:31:24Z")

</div>

Submitted. I’m going to need [@lsc](https://forums.librehealth.io/groups/lsc) to reply to it ASAP.

---

<div class="post-metadata">

**Author:** ![r0bby](https://forums.librehealth.io/user_avatar/forums.librehealth.io/r0bby/32/1781_2.png) [@r0bby](https://forums.librehealth.io/u/r0bby)\
**Post date:** [November 30, 2020, 8:35pm UTC](https://forums.librehealth.io/t/evaluating-the-cost-of-care-app/3851/28 "2020-11-30T20:35:57Z")

</div>

@Darshpreet2000 have you looked into f-droid? We could probably do it via CI (though I’d have to look into it)

---

<div class="post-metadata">

**Author:** ![Darshpreet2000](https://forums.librehealth.io/user_avatar/forums.librehealth.io/darshpreet2000/32/1172_2.png) [@Darshpreet2000](https://forums.librehealth.io/u/Darshpreet2000)\
**Post date:** [December 1, 2020, 5:16pm UTC](https://forums.librehealth.io/t/evaluating-the-cost-of-care-app/3851/29 "2020-12-01T17:16:05Z")

</div>

Okay, I will create gitlab CI file to build & sign android apk & deploy it to F-droid & Google Play.

---

<div class="post-metadata">

**Author:** ![sunbiz](https://forums.librehealth.io/user_avatar/forums.librehealth.io/sunbiz/32/395_2.png) [@sunbiz](https://forums.librehealth.io/u/sunbiz)\
**Post date:** [December 1, 2020, 8:30pm UTC](https://forums.librehealth.io/t/evaluating-the-cost-of-care-app/3851/30 "2020-12-01T20:30:27Z")

</div>

> [@r0bby](#):
>
> @Darshpreet2000 have you looked into f-droid? We could probably do it via CI (though I’d have to look into it)

This is how we should do it, by storing the key for signing the APK in the Gitlab secret vars.

- See here for the basics - [Setting up GitLab CI for Android projects | GitLab](https://about.gitlab.com/blog/2018/10/24/setting-up-gitlab-ci-for-android-projects/)
- See here for signing - [Android CI/CD with GitLab — Build, Test, Sign, Upload to Dropbox and send an Email | by Oleg Shnaydman | AndroidPub (jlelse.eu)](https://android.jlelse.eu/android-gitlab-ci-cd-sign-deploy-3ad66a8f24bf)

@Darshpreet2000 please let us know if you have any difficulties.

---

<div class="post-metadata">

**Author:** ![Darshpreet2000](https://forums.librehealth.io/user_avatar/forums.librehealth.io/darshpreet2000/32/1172_2.png) [@Darshpreet2000](https://forums.librehealth.io/u/Darshpreet2000)\
**Post date:** [December 2, 2020, 6:19am UTC](https://forums.librehealth.io/t/evaluating-the-cost-of-care-app/3851/31 "2020-12-02T06:19:47Z")

</div>

> [@sunbiz](#):
>
> please let us know if you have any difficulties.

Okay, Thanks

@r0bby For Listing our app to fdroid we just have to make an issue here

[https://gitlab.com/fdroid/rfp/-/issues](https://gitlab.com/fdroid/rfp/-/issues)

> **[Configuring app signing & Adding CI To Test, Build & Deploy Android App (!21)...](https://gitlab.com/librehealth/toolkit/cost-of-care/lh-toolkit-cost-of-care-app/-/merge_requests/21)**
>
> Tasks Done Configured Android Gradle To build Release Apk

I have created a MR, please have a look. I have Added a CI File to build & sign app & configured gradle for release.

---

<div class="post-metadata">

**Author:** ![r0bby](https://forums.librehealth.io/user_avatar/forums.librehealth.io/r0bby/32/1781_2.png) [@r0bby](https://forums.librehealth.io/u/r0bby)\
**Post date:** [December 6, 2020, 4:02am UTC](https://forums.librehealth.io/t/evaluating-the-cost-of-care-app/3851/32 "2020-12-06T04:02:23Z")

</div>

And we have a [signed release APK](https://gitlab.com/librehealth/toolkit/cost-of-care/lh-toolkit-cost-of-care-app/-/jobs/893006810/artifacts/raw/build/app/outputs/flutter-apk/app-release.apk)!

---

<div class="post-metadata">

**Author:** ![Darshpreet2000](https://forums.librehealth.io/user_avatar/forums.librehealth.io/darshpreet2000/32/1172_2.png) [@Darshpreet2000](https://forums.librehealth.io/u/Darshpreet2000)\
**Post date:** [December 6, 2020, 7:39am UTC](https://forums.librehealth.io/t/evaluating-the-cost-of-care-app/3851/33 "2020-12-06T07:39:57Z")

</div>

For Submitting to Fdroid [RFP (Request for Packaging) Issue](https://gitlab.com/fdroid/rfp/-/issues)

I have prepared this description

- The app complies with the [inclusion criteria](https://f-droid.org/docs/Inclusion_Policy/?title=Inclusion_Policy).
- The app is not already [listed](https://gitlab.com/search?scope=issues&group_id=28397) in the repo or issue tracker.
- The app has not already [been requested](https://gitlab.com/search?scope=issues&project_id=2167965)
- The upstream app source code repo contains the app metadata _(summary/description/images/changelog/etc)_ in a [Fastlane](https://gitlab.com/snippets/1895688) or [Triple-T](https://gitlab.com/snippets/1901490) folder structure
- The original app author has been notified, and does not oppose the inclusion.
- [Donated](https://f-droid.org/donate/) to support the maintenance of this app in F-Droid.

* * *

#### APPLICATION ID: com.LibreHealth.cost\_of\_care

```auto
Name: Cost Of Care

Categories:
 - Sports & Health
 - Science & Education
 - Development
 - Internet

License: GPL-3.0-only

# A URL for the project's website
WebSite: https://gitlab.com/librehealth/toolkit/cost-of-care/lh-toolkit-cost-of-care-app

# A link to the issue tracker where bugs are reported
IssueTracker: https://gitlab.com/librehealth/toolkit/cost-of-care/lh-toolkit-cost-of-care-app/-/issues
Donate: https://librehealth.io/donate/
# git, git-svn, svn, hg or bzr
RepoType: git

AuthorName: LibreHealth
AuthorEmail: infrastructure@librehealth.io
# source code repo URL (HTTPS required)
Repo: https://gitlab.com/librehealth/toolkit/cost-of-care/lh-toolkit-cost-of-care-app

Builds:
  - versionName: 1.0.0
    versionCode: 1
    commit: v1.0.0
    subdir: android/app/
    gradle:
      - yes

AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: '1.0.0'
CurrentVersionCode: 1

```

After creating issue with this description our app will be added.

But before please merge this [https://gitlab.com/librehealth/toolkit/cost-of-care/lh-toolkit-cost-of-care-app/-/merge\_requests/22](https://gitlab.com/librehealth/toolkit/cost-of-care/lh-toolkit-cost-of-care-app/-/merge_requests/22)

Can I create the issue or some admin of LibreHealth will like to do that?

---

<div class="post-metadata">

**Author:** ![r0bby](https://forums.librehealth.io/user_avatar/forums.librehealth.io/r0bby/32/1781_2.png) [@r0bby](https://forums.librehealth.io/u/r0bby)\
**Post date:** [December 6, 2020, 7:57am UTC](https://forums.librehealth.io/t/evaluating-the-cost-of-care-app/3851/34 "2020-12-06T07:57:53Z")

</div>

> [@Darshpreet2000](#):
>
> APPLICATION ID: com.LibreHealth.cost\_of\_care

Can you change the app id to `io.librehealth.toolkit.cost_of_care`?

We do not own the `.com`.

---

<div class="post-metadata">

**Author:** ![r0bby](https://forums.librehealth.io/user_avatar/forums.librehealth.io/r0bby/32/1781_2.png) [@r0bby](https://forums.librehealth.io/u/r0bby)\
**Post date:** [December 6, 2020, 8:23am UTC](https://forums.librehealth.io/t/evaluating-the-cost-of-care-app/3851/35 "2020-12-06T08:23:55Z")

</div>

@Darshpreet2000 – I just fixed the app id it is now `io.librehealth.toolkit.cost_of_care`

---

<div class="post-metadata">

**Author:** ![Darshpreet2000](https://forums.librehealth.io/user_avatar/forums.librehealth.io/darshpreet2000/32/1172_2.png) [@Darshpreet2000](https://forums.librehealth.io/u/Darshpreet2000)\
**Post date:** [December 6, 2020, 8:28am UTC](https://forums.librehealth.io/t/evaluating-the-cost-of-care-app/3851/36 "2020-12-06T08:28:35Z")

</div>

I was doing changes, thanks

I found hospital compare API has been changed by medicare, I will have to fix compare hospital functionality, its not working right now

---

<div class="post-metadata">

**Author:** ![r0bby](https://forums.librehealth.io/user_avatar/forums.librehealth.io/r0bby/32/1781_2.png) [@r0bby](https://forums.librehealth.io/u/r0bby)\
**Post date:** [December 6, 2020, 8:29am UTC](https://forums.librehealth.io/t/evaluating-the-cost-of-care-app/3851/37 "2020-12-06T08:29:01Z")

</div>

> [@Darshpreet2000](#):
>
> I was doing changes, thanks

It was easy, no problem! Just edit your issue on the request for packaging

Release APK should follow the proper package structure now =)

---

<div class="post-metadata">

**Author:** ![r0bby](https://forums.librehealth.io/user_avatar/forums.librehealth.io/r0bby/32/1781_2.png) [@r0bby](https://forums.librehealth.io/u/r0bby)\
**Post date:** [December 6, 2020, 8:45am UTC](https://forums.librehealth.io/t/evaluating-the-cost-of-care-app/3851/38 "2020-12-06T08:45:00Z")

</div>

Also @Darshpreet2000 – we use MPL 2.0 – fixed also

- [https://gitlab.com/librehealth/toolkit/cost-of-care/lh-toolkit-cost-of-care-app/](https://gitlab.com/librehealth/toolkit/cost-of-care/lh-toolkit-cost-of-care-app/)
- [https://gitlab.com/librehealth/toolkit/cost-of-care/lh-toolkit-cost-of-care-app/-/blob/master/LICENSE](https://gitlab.com/librehealth/toolkit/cost-of-care/lh-toolkit-cost-of-care-app/-/blob/master/LICENSE)

---

<div class="post-metadata">

**Author:** ![r0bby](https://forums.librehealth.io/user_avatar/forums.librehealth.io/r0bby/32/1781_2.png) [@r0bby](https://forums.librehealth.io/u/r0bby)\
**Post date:** [December 7, 2020, 8:22pm UTC](https://forums.librehealth.io/t/evaluating-the-cost-of-care-app/3851/39 "2020-12-07T20:22:26Z")

</div>

I removed the tagged release, let’s retag and re-release when it’s ready.

---

<div class="post-metadata">

**Author:** ![r0bby](https://forums.librehealth.io/user_avatar/forums.librehealth.io/r0bby/32/1781_2.png) [@r0bby](https://forums.librehealth.io/u/r0bby)\
**Post date:** [December 7, 2020, 9:36pm UTC](https://forums.librehealth.io/t/evaluating-the-cost-of-care-app/3851/40 "2020-12-07T21:36:38Z")

</div>

@sunbiz @judywawira @Darshpreet2000

What do you say about renaming the application before we release to “LibreHealth Toolkit Cost Of Care Explorer” – open to dropping Toolkit but it’s structured underneath Toolkit.

[Previous page](https://forums.librehealth.io/t/evaluating-the-cost-of-care-app/3851.md?page=1)

[Next page](https://forums.librehealth.io/t/evaluating-the-cost-of-care-app/3851.md?page=3)
