Skip to content

Commit

Permalink
Merge pull request #6 from Hamster45105/master
Browse files Browse the repository at this point in the history
Migrate MD files From Unitto and Remove Unitto References
  • Loading branch information
Myzel394 committed May 15, 2024
2 parents 31a5ae4 + 6a289a8 commit 24161fb
Show file tree
Hide file tree
Showing 22 changed files with 194 additions and 37 deletions.
58 changes: 58 additions & 0 deletions HELP.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Help

## ⌚ Add more time zones?

This is not planned.

Each time zone has its' own set of rules:
- Offset from GMT
- Daylight saving time offset
- Date when daylight saving time is used

This data always changes.
There are 3 solutions:

### 1. Paid API service

**✅Pros:**
- Almost all time zones and cities
- Always up-to-date

**❌Cons:**
- Extra money costs
- Needs Internet, can go down, needs a caching mechanism
- The API might change and we'd need to keep it up-to-date
- Needs to be translated

### 2. Create my own API service
Pros and cons are same, except being a bit cheaper (you still need to pay).

### 3. Android's time zone provider (this is what NumberHub uses)

read more: https://source.android.com/docs/core/permissions/timezone-rules

**✅Pros:**
- Almost all time zones
- Completely for free
- No extra translations (automatically provided by the system)
- No sudden API changes
- Works offline, never goes down

**❌Cons:**
- Less cities
- Less frequent updates
</details>

## 👩‍⚕️ Body Mass Index

Please note that the values displayed in the app are intended for entertainment purposes only. They can not replace professional medical advice.

Please don't use the Body Mass calculator if you are:
- Under 21 years old
- Pregnant
- Diagnosed with an eating disorder

Please contact your care provider for more information.

## 💵 Wrong Currency Rates?
Currency rates are updated daily. There's no real-time market monitoring on NumberHub.
45 changes: 45 additions & 0 deletions PRIVACY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
**Privacy Policy**

This privacy policy applies to the NumberHub app (hereby referred to as "Application") for mobile devices that was created by Myzel394 (hereby referred to as "Service Provider") as an Open Source service. This service is intended for use "AS IS".

**Third Party Access**

The service uses external services to fetch data for the user. The Service Provider does not have control over the data that is fetched from these services.

The Service Provider may disclose User Provided and Automatically Collected Information:

* as required by law, such as to comply with a subpoena, or similar legal process;
* when they believe in good faith that disclosure is necessary to protect their rights, protect your safety or the safety of others, investigate fraud, or respond to a government request;
* with their trusted services providers who work on their behalf, do not have an independent use of the information we disclose to them, and have agreed to adhere to the rules set forth in this privacy statement.

**Opt-Out Rights**

You can stop all collection of information by the Application easily by uninstalling it. You may use the standard uninstall processes as may be available as part of your mobile device or via the mobile application marketplace or network.

**Children**

The Service Provider does not use the Application to knowingly solicit data from or market to children under the age of 13.

The Service Provider does not knowingly collect personally identifiable information from children. The Service Provider encourages all children to never submit any personally identifiable information through the Application and/or Services. The Service Provider encourage parents and legal guardians to monitor their children's Internet usage and to help enforce this Policy by instructing their children never to provide personally identifiable information through the Application and/or Services without their permission. If you have reason to believe that a child has provided personally identifiable information to the Service Provider through the Application and/or Services, please contact the Service Provider (google-play.29k1a@aleeas.com) so that they will be able to take the necessary actions. You must also be at least 16 years of age to consent to the processing of your personally identifiable information in your country (in some countries we may allow your parent or guardian to do so on your behalf).

**Security**

The Service Provider is concerned about safeguarding the confidentiality of your information. The Service Provider provides physical, electronic, and procedural safeguards to protect information the Service Provider processes and maintains.

**Changes**

This Privacy Policy may be updated from time to time for any reason. The Service Provider will notify you of any changes to the Privacy Policy by updating this page with the new Privacy Policy. You are advised to consult this Privacy Policy regularly for any changes, as continued use is deemed approval of all changes.

This privacy policy is effective as of 2024-05-15

**Your Consent**

By using the Application, you are consenting to the processing of your information as set forth in this Privacy Policy now and as amended by us.

**Contact Us**

If you have any questions regarding privacy while using the Application, or have questions about the practices, please contact the Service Provider via email at google-play.29k1a@aleeas.com.

* * *

This privacy policy page was generated by [App Privacy Policy Generator](https://app-privacy-policy-generator.nisrulz.com/)
42 changes: 33 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# NumberHub
➗ Your Hub for ✖️ Math / 💲 Currency rates / 📆 Date calculations / ⌚ Time zones

> [!NOTE]
> This app was originally created by [sadellie](https://github.com/sadellie).
Unfortunately, it has been archived on March 1st, 2024 (https://github.com/sadellie/unitto) without any notice or explanation. Since there has been no activity from sadellie on GitHub since then, I guess they are not actively working on projects anymore. I will maintain this app, but I do not plan to add new features. I don't have enough time to do that, but you are welcome to contribute. I will review and merge your pull requests.

<p align="middle">
<img src="./fastlane/metadata/android/en-US/images/featureGraphic.png" width="97%" />
<img src="./fastlane/metadata/android/en-US/images/phoneScreenshots/slide1.png" width="19%" />
Expand All @@ -7,14 +14,31 @@
<img src="./fastlane/metadata/android/en-US/images/phoneScreenshots/slide5.png" width="19%" />
</p>

## Notice
# Download NumberHub

[<img src="readme_content/google-play-badge.png" alt="Get it on Google Play" height="80">](https://play.google.com/store/apps/details?id=app.myzel394.numberhub)
[<img src="readme_content/github-badge.png" alt="Get it on GitHub" height="80">](https://github.com/Myzel394/NumberHub/releases)
[<img src="readme_content/obtainium-badge.png" alt="Get it on Obtainium" height="80">](https://apps.obtainium.imranr.dev/redirect?r=obtainium://add/https://github.com/Myzel394/NumberHub//)

# Support NumberHub

You can support NumberHub in various ways:

## Contribute to the project

Add a new feature or fix bugs.

## Add translations

To add a translation, update the strings in `core/base/src/main/res/LANG/strings.xml` and open a PR

## Donate

It might sound crazy, but if you would just donate 1$, it would totally mean to world to me, since
it's a really small amount and if everyone did that, I can totally focus on Alibi and my other open
source projects. :)

This app was originally created by [sadellie](https://github.com/sadellie).
Unfortunately, it has been archived on March 1st, 2024 (https://github.com/sadellie/unitto)
without any notice or explanation.
Since there has been no activity from sadellie on GitHub since then, I guess
they are not actively working on projects anymore.
You can donate via [GitHub Sponsors](https://github.com/sponsors/Myzel394) or via [crypto currencies](https://github.com/Myzel394/contact-me?tab=readme-ov-file#donations).

I will maintain this app, but I do not plan to add new features.
I don't have enough time to do that, but you are welcome to contribute.
I will review and merge your pull requests.
## Help
See [HELP.md](HELP.md)
30 changes: 30 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
### `com.sadellie.numberhub.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION`

Read (boring): https://developer.android.com/about/versions/14/behavior-changes-14#runtime-receivers-exported

### `android.permission.INTERNET`

Used in **Unit Converter** to update currency rates. Requests are made only when you select a currency unit.

### `android.permission.ACCESS_NETWORK_STATE`

Used in Unit Converter as a callback. Retries to update currency rates if there was an error (no network, for example) and the Internet connection is back.

### `android.permission.WAKE_LOCK`

Not used explicitly. Added automatically by Widget feature.

### `android.permission.RECEIVE_BOOT_COMPLETED`

Not used explicitly. Added automatically by Widget feature.

### `android.permission.FOREGROUND_SERVICE`

Not used explicitly. Added automatically by Widget feature.

### Non-free network service

Non-free means that you can't host the given service on your machine.

The app uses [Free Currency Rates API by fawazahmed0](https://github.com/fawazahmed0/exchange-api). Requests are send to `cdn.jsdelivr.net`.

2 changes: 1 addition & 1 deletion app/src/debug/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
xmlns:tools="http://schemas.android.com/tools">

<application
android:label="Fuck You"
android:label="NumberHubber (Debug)"
tools:ignore="MissingApplicationIcon"
tools:replace="android:label" />

Expand Down
2 changes: 1 addition & 1 deletion core/base/src/main/res/values-de/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Used in this dialog window. Should be short -->

<!-- https://s3.eu-west-1.amazonaws.com/po-pub/i/uWOHJmIq9riqsq7PO82ZQp3a.png -->
<string name="select_time_label">Zeit auswählen</string>
<string name="settings_about_unitto">Über Unitto</string>
<string name="settings_about_unitto">Über NumberHub</string>
<string name="settings_about_unitto_support">Mehr über die App erfahren</string>

<!-- https://s3.eu-west-1.amazonaws.com/po-pub/i/p3aY3IWUI5m9Vjs6vZP3EXAo.png -->
Expand Down
2 changes: 1 addition & 1 deletion core/base/src/main/res/values-en-rGB/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Used in this dialog window. Should be short -->

<!-- https://s3.eu-west-1.amazonaws.com/po-pub/i/uWOHJmIq9riqsq7PO82ZQp3a.png -->
<string name="select_time_label">Select time</string>
<string name="settings_about_unitto">About Unitto</string>
<string name="settings_about_unitto">About NumberHub</string>
<string name="settings_about_unitto_support">Learn about the app</string>

<!-- https://s3.eu-west-1.amazonaws.com/po-pub/i/p3aY3IWUI5m9Vjs6vZP3EXAo.png -->
Expand Down
2 changes: 1 addition & 1 deletion core/base/src/main/res/values-es/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ Used in this dialog window. Should be short -->
https://s3.eu-west-1.amazonaws.com/po-pub/i/1oIHPj16krI0jyLmg4JaP2mk.png -->
<!-- Screen readers (accessibility) -->
<string name="selected_item">Item seleccionado</string>
<string name="settings_about_unitto">Acerca de Unitto</string>
<string name="settings_about_unitto">Acerca de NumberHub</string>
<string name="settings_about_unitto_support">Más información sobre la app</string>

<!-- https://s3.eu-west-1.amazonaws.com/po-pub/i/p3aY3IWUI5m9Vjs6vZP3EXAo.png -->
Expand Down
2 changes: 1 addition & 1 deletion core/base/src/main/res/values-fr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Used in this dialog window. Should be short -->

<!-- https://s3.eu-west-1.amazonaws.com/po-pub/i/uWOHJmIq9riqsq7PO82ZQp3a.png -->
<string name="select_time_label">Choisir le temps</string>
<string name="settings_about_unitto">À propos d\'Unitto</string>
<string name="settings_about_unitto">À propos d\'NumberHub</string>
<string name="settings_about_unitto_support">En savoir plus sur l\'application</string>
<string name="settings_additional">Additional</string>
<string name="settings_amoled_dark">AMOLED Noir</string>
Expand Down
2 changes: 1 addition & 1 deletion core/base/src/main/res/values-hu/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<string name="open_menu_description">Menü megnyitása</string>
<string name="open_settings_label">Beállítások megnyitása</string>
<string name="search_button_description">Keresőgomb</string>
<string name="settings_about_unitto">Az Unitto-ról</string>
<string name="settings_about_unitto">Az NumberHub-ról</string>
<string name="settings_about_unitto_support">Tudj meg többet az appról</string>
<string name="settings_additional">Továbbiak</string>
<string name="settings_amoled_dark">AMOLED Sötét</string>
Expand Down
2 changes: 1 addition & 1 deletion core/base/src/main/res/values-in/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Used in this dialog window. Should be short -->

<!-- https://s3.eu-west-1.amazonaws.com/po-pub/i/uWOHJmIq9riqsq7PO82ZQp3a.png -->
<string name="select_time_label">Pilih waktu</string>
<string name="settings_about_unitto">Tentang Unitto</string>
<string name="settings_about_unitto">Tentang NumberHub</string>
<string name="settings_about_unitto_support">Pelajari tentang aplikasi</string>
<string name="settings_amoled_dark">Gelap AMOLED</string>
<string name="settings_amoled_dark_support">Gunakan latar hitam untuk tema gelap</string>
Expand Down
2 changes: 1 addition & 1 deletion core/base/src/main/res/values-it/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ Used in this dialog window. Should be short -->

<!-- https://s3.eu-west-1.amazonaws.com/po-pub/i/uWOHJmIq9riqsq7PO82ZQp3a.png -->
<string name="select_time_label">Seleziona orario</string>
<string name="settings_about_unitto">Riguardo a Unitto</string>
<string name="settings_about_unitto">Riguardo a NumberHub</string>
<string name="settings_about_unitto_support">Impara riguardo all\'app</string>

<!-- https://s3.eu-west-1.amazonaws.com/po-pub/i/p3aY3IWUI5m9Vjs6vZP3EXAo.png -->
Expand Down
2 changes: 1 addition & 1 deletion core/base/src/main/res/values-nl/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ Used in this dialog window. Should be short -->
https://s3.eu-west-1.amazonaws.com/po-pub/i/1oIHPj16krI0jyLmg4JaP2mk.png -->
<!-- Screen readers (accessibility) -->
<string name="selected_item">Geselecteerd item</string>
<string name="settings_about_unitto">Over Unitto</string>
<string name="settings_about_unitto">Over NumberHub</string>
<string name="settings_about_unitto_support">Leer meer over de app</string>

<!-- https://s3.eu-west-1.amazonaws.com/po-pub/i/p3aY3IWUI5m9Vjs6vZP3EXAo.png -->
Expand Down
2 changes: 1 addition & 1 deletion core/base/src/main/res/values-pt-rBR/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Used in this dialog window. Should be short -->

<!-- https://s3.eu-west-1.amazonaws.com/po-pub/i/uWOHJmIq9riqsq7PO82ZQp3a.png -->
<string name="select_time_label">Selecione o horário</string>
<string name="settings_about_unitto">Sobre o Unitto</string>
<string name="settings_about_unitto">Sobre o NumberHub</string>
<string name="settings_about_unitto_support">Saiba mais sobre o app</string>

<!-- https://s3.eu-west-1.amazonaws.com/po-pub/i/p3aY3IWUI5m9Vjs6vZP3EXAo.png -->
Expand Down
2 changes: 1 addition & 1 deletion core/base/src/main/res/values-ru/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ Used in this dialog window. Should be short -->
https://s3.eu-west-1.amazonaws.com/po-pub/i/1oIHPj16krI0jyLmg4JaP2mk.png -->
<!-- Screen readers (accessibility) -->
<string name="selected_item">Выбранные элемент</string>
<string name="settings_about_unitto"Unitto</string>
<string name="settings_about_unitto"NumberHub</string>
<string name="settings_about_unitto_support">Узнайте больше о приложении</string>

<!-- https://s3.eu-west-1.amazonaws.com/po-pub/i/p3aY3IWUI5m9Vjs6vZP3EXAo.png -->
Expand Down
4 changes: 2 additions & 2 deletions core/base/src/main/res/values-tr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Used in this dialog window. Should be short -->

<!-- https://s3.eu-west-1.amazonaws.com/po-pub/i/uWOHJmIq9riqsq7PO82ZQp3a.png -->
<string name="select_time_label">Zaman seçin</string>
<string name="settings_about_unitto">Unitto hakkında</string>
<string name="settings_about_unitto">NumberHub hakkında</string>
<string name="settings_about_unitto_support">Uygulama hakkında bilgi edinin</string>

<!-- https://s3.eu-west-1.amazonaws.com/po-pub/i/p3aY3IWUI5m9Vjs6vZP3EXAo.png -->
Expand Down Expand Up @@ -146,7 +146,7 @@ Maybe this can be labeled better? Let me know. It should be something that can d
<string name="settings_space">Boşluk</string>
<string name="settings_starting_screen">Başlangıç ekranı</string>
<string name="settings_starting_screen_support">Uygulamayı başlattığınızda hangi ekranın gösterileceğini seçin</string>

<!-- https://s3.eu-west-1.amazonaws.com/po-pub/i/r1VikAn70eXQP4da2hrntTGQ.jpg -->
<!-- Option name to use system default setting -->
<string name="settings_system">Sistem</string>
Expand Down
2 changes: 1 addition & 1 deletion core/base/src/main/res/values-zh-rCN/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ Used in this dialog window. Should be short -->
https://s3.eu-west-1.amazonaws.com/po-pub/i/1oIHPj16krI0jyLmg4JaP2mk.png -->
<!-- Screen readers (accessibility) -->
<string name="selected_item">已选定项目</string>
<string name="settings_about_unitto">关于 Unitto</string>
<string name="settings_about_unitto">关于 NumberHub</string>
<string name="settings_about_unitto_support">了解此应用</string>
<string name="settings_additional">额外的</string>
<string name="settings_amoled_dark">AMOLED 黑</string>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ private fun BodyMassScreen(

ElevatedButton(
onClick = {
openLink(mContext, "https://sadellie.github.io/unitto/help#body-mass-index")
openLink(mContext, "https://github.com/Myzel394/NumberHub/blob/master/HELP.md#body-mass-index")
},
) {
Text(text = stringResource(R.string.time_zone_no_results_button)) // TODO Rename
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,18 +86,18 @@ private fun AboutScreen(
}

// TERMS AND CONDITIONS
item {
ListItem(
icon = Icons.Default.PrivacyTip,
headlineText = stringResource(R.string.settings_terms_and_conditions),
modifier = Modifier.clickable {
openLink(
mContext,
"https://sadellie.github.io/unitto/terms",
)
},
)
}
// item {
// ListItem(
// icon = Icons.Default.PrivacyTip,
// headlineText = stringResource(R.string.settings_terms_and_conditions),
// modifier = Modifier.clickable {
// openLink(
// mContext,
// "https://sadellie.github.io/unitto/terms",
// )
// },
// )
// }

// PRIVACY POLICY
item {
Expand All @@ -107,7 +107,7 @@ private fun AboutScreen(
modifier = Modifier.clickable {
openLink(
mContext,
"https://sadellie.github.io/unitto/privacy",
"https://github.com/Myzel394/NumberHub/blob/master/PRIVACY.md",
)
},
)
Expand Down
Binary file added readme_content/badge_obtainium.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added readme_content/github-badge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added readme_content/google-play-badge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 24161fb

Please sign in to comment.