├── .github ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── 1_bug_report.yaml │ ├── 2_feature_request.yaml │ └── config.yml ├── PULL_REQUEST_TEMPLATE.md ├── ci-reporter.yml ├── config.yml ├── lock.yml ├── no-response.yml ├── stale.yml ├── support.yml ├── triage.yml └── workflows │ └── build.yml ├── .gitignore ├── .idea ├── .gitignore └── codeStyles │ ├── Project.xml │ └── codeStyleConfig.xml ├── LICENSE.md ├── README.md ├── app ├── .gitignore ├── build.gradle ├── proguard-android-optimize.txt ├── proguard-rules.pro └── src │ └── main │ ├── AndroidManifest.xml │ ├── assets │ └── komponents │ │ ├── Nothing Weather Komponent - Colorful.komp │ │ ├── Nothing Weather Komponent - Dark.komp │ │ └── Nothing Weather Komponent - Lite.komp │ ├── ic_launcher-playstore.png │ ├── kotlin │ └── beehomie │ │ └── nothingweather │ │ └── komp │ │ ├── MainActivity.kt │ │ ├── MuzeiService.kt │ │ ├── MyApplication.kt │ │ ├── NotificationServiceExtension.kt │ │ └── ZooperProvider.kt │ └── res │ ├── drawable │ └── ic_launcher_background.xml │ ├── drawalbe-nodpi │ └── app_splash_screen_picture.png │ ├── mipmap-anydpi-v26 │ ├── ic_launcher.xml │ └── ic_launcher_round.xml │ ├── mipmap-hdpi │ ├── ic_launcher.png │ ├── ic_launcher_background.png │ ├── ic_launcher_foreground.png │ └── ic_launcher_round.png │ ├── mipmap-mdpi │ ├── ic_launcher.png │ ├── ic_launcher_background.png │ ├── ic_launcher_foreground.png │ └── ic_launcher_round.png │ ├── mipmap-xhdpi │ ├── ic_launcher.png │ ├── ic_launcher_background.png │ ├── ic_launcher_foreground.png │ └── ic_launcher_round.png │ ├── mipmap-xxhdpi │ ├── ic_launcher.png │ ├── ic_launcher_background.png │ ├── ic_launcher_foreground.png │ └── ic_launcher_round.png │ ├── mipmap-xxxhdpi │ ├── ic_launcher.png │ ├── ic_launcher_background.png │ ├── ic_launcher_foreground.png │ └── ic_launcher_round.png │ ├── values-v31 │ └── m3_colors.xml │ ├── values │ ├── about_setup.xml │ ├── colors.xml │ ├── dashboard_setup.xml │ ├── dimens.xml │ ├── floats.xml │ ├── frames_setup.xml │ ├── integers.xml │ ├── kuper_setup.xml │ ├── m3_shape_styles.xml │ ├── m3_styles.xml │ ├── shape_styles.xml │ ├── strings.xml │ └── styles.xml │ └── xml │ ├── changelog.xml │ └── network_security_config.xml ├── build.gradle ├── buildSrc ├── .gitignore ├── build.gradle.kts └── src │ └── main │ └── java │ ├── Libs.kt │ ├── MyApp.kt │ ├── OneSignal.kt │ ├── Plugins.kt │ └── Versions.kt ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle /.github/CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Contributor Covenant Code of Conduct 2 | 3 | ## Pledge 4 | 5 | In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation. 6 | 7 | ## Standards 8 | 9 | Examples of behavior that contributes to creating a positive environment include: 10 | 11 | * Using welcoming and inclusive language 12 | * Being respectful of differing viewpoints and experiences 13 | * Gracefully accepting constructive criticism 14 | * Focusing on what is best for the community 15 | * Showing empathy towards other community members 16 | 17 | Examples of unacceptable behavior by participants include: 18 | 19 | * The use of sexualized language or imagery and unwelcome sexual attention or advances 20 | * Trolling, insulting/derogatory comments, and personal or political attacks 21 | * Public or private harassment 22 | * Publishing others' private information, such as a physical or electronic address, without explicit permission 23 | * Other conduct which could reasonably be considered inappropriate in a professional setting 24 | 25 | ## Responsibilities 26 | 27 | Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior. 28 | 29 | Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful. 30 | 31 | ## Scope 32 | 33 | This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers. 34 | 35 | ## Enforcement 36 | 37 | Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team [via email][mail]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. 38 | 39 | Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership. 40 | 41 | ## Attribution 42 | 43 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version] 44 | 45 | [homepage]: http://contributor-covenant.org 46 | [version]: http://contributor-covenant.org/version/1/4/ 47 | [mail]: mailto:hi@jahirfiquitiva.com 48 | -------------------------------------------------------------------------------- /.github/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Contributing 2 | ====== 3 | Considering that this project is actively maintained, contributions of all types are welcome. 4 | 5 | Asking Questions 6 | ------- 7 | Before asking any question, read the [wiki](/../../wiki). 8 | It may contains the answer to your questions. 9 | If not, or if the wiki isn't clear, open a new issue. The issue will be labeled with _question_. 10 | 11 | 12 | Opening issues 13 | ------- 14 | Open a new issue when: 15 | - you notice an unwanted behavior 16 | - you want a new feature implemented 17 | - you have just some doubts 18 | 19 | To open a new issue, please use the provided issue template and fill it out as much as possible. 20 | If you are interested to an existing issue, feel free to comment the issue or subscribe to it. 21 | 22 | 23 | Submitting pull requests 24 | ------- 25 | If you want to fix a bug or implement a new feature, feel free to submit a new pull request. 26 | To submit a pull request, you have to fork this repository and fill the PR template. 27 | When you want to submit a pull request, remember to: 28 | - follow this project's code style 29 | - run `./gradlew clean build` 30 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: jahirfiquitiva 2 | custom: ["https://buymeacoff.ee/jahirfiquitiva", "https://www.paypal.me/jahirfiquitiva", "https://jahir.dev/donate"] 3 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/1_bug_report.yaml: -------------------------------------------------------------------------------- 1 | name: Report a Bug 🐛 2 | description: File a bug report 3 | labels: ["Status: Pending", "Type: Bug"] 4 | body: 5 | - type: markdown 6 | attributes: 7 | value: | 8 | *Thanks for taking the time to fill out this bug report!* 9 | 10 | --- 11 | 12 | - type: checkboxes 13 | id: requirements 14 | attributes: 15 | label: Requirements 16 | description: "Please make sure you have checked all of the following:" 17 | options: 18 | - label: I have verified there are no duplicate active or recent bugs, questions, or requests 19 | required: true 20 | - type: markdown 21 | attributes: 22 | value: | 23 | --- 24 | 25 | # App and device information: 26 | - type: input 27 | id: version 28 | attributes: 29 | label: Kuper Version 30 | description: What version of Kuper are you currently using? 31 | placeholder: ex. 2.3.4 32 | validations: 33 | required: true 34 | - type: input 35 | id: android 36 | attributes: 37 | label: Android Version 38 | description: What version of Android are you currently using? 39 | placeholder: ex. 12.0.0 40 | validations: 41 | required: true 42 | - type: input 43 | id: manufacturer 44 | attributes: 45 | label: Device Manufacturer 46 | description: What is the manufacturer of your device? 47 | placeholder: ex. Samsung, Google 48 | validations: 49 | required: true 50 | - type: input 51 | id: device 52 | attributes: 53 | label: Device Name 54 | description: What is the name of your device? 55 | placeholder: ex. Pixel 6 56 | validations: 57 | required: true 58 | - type: markdown 59 | attributes: 60 | value: | 61 | --- 62 | - type: textarea 63 | id: what-happened 64 | attributes: 65 | label: What happened? 66 | description: Please describe the bug in detail, clear and concisely. 67 | validations: 68 | required: true 69 | - type: textarea 70 | id: steps 71 | attributes: 72 | label: Reproduction Steps 73 | description: Please share information on how to reproduce the bug or issue. 74 | validations: 75 | required: true 76 | - type: textarea 77 | id: expected 78 | attributes: 79 | label: Expected behavior 80 | description: Please explain what you consider the expected behavior should be 81 | validations: 82 | required: false 83 | - type: textarea 84 | id: screenshots 85 | attributes: 86 | label: Screenshots or videos 87 | description: Please share any screenshots or videos that could help understanding the issue 88 | validations: 89 | required: false 90 | - type: textarea 91 | id: logs 92 | attributes: 93 | label: Code and/or Logs 94 | description: If you have logs for the issue, please share them (Use logcat to get them) 95 | validations: 96 | required: false 97 | - type: textarea 98 | id: context 99 | attributes: 100 | label: Additional context or info 101 | description: Please share any additional details you consider relevant to solve the issue 102 | validations: 103 | required: false 104 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/2_feature_request.yaml: -------------------------------------------------------------------------------- 1 | name: Feature Request 💡 2 | description: Request a new feature you would like to see as part of the dashboard 3 | labels: ["Status: Pending", "Type: Feature Request"] 4 | body: 5 | - type: markdown 6 | attributes: 7 | value: | 8 | *Thanks for taking the time to fill out this feature request!* 9 | - type: markdown 10 | attributes: 11 | value: | 12 | --- 13 | 14 | # App information: 15 | - type: input 16 | id: version 17 | attributes: 18 | label: Kuper Version 19 | description: What version of Kuper are you currently using? 20 | placeholder: ex. 2.3.4 21 | validations: 22 | required: true 23 | - type: markdown 24 | attributes: 25 | value: | 26 | --- 27 | - type: textarea 28 | id: solution 29 | attributes: 30 | label: Describe the feature 31 | description: Please describe in detail the feature you are requesting 32 | validations: 33 | required: true 34 | - type: textarea 35 | id: alternatives 36 | attributes: 37 | label: Describe alternatives you have considered 38 | description: Please describe alternative solutions or feature you have considered 39 | validations: 40 | required: false 41 | - type: textarea 42 | id: additional 43 | attributes: 44 | label: Additional context or info 45 | description: Add any other context, info, screenshots, videos, etc. about the feature request here 46 | validations: 47 | required: false 48 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false 2 | contact_links: 3 | - name: Dashboards Support Discord Server 4 | url: https://discordapp.com/invite/78h7xgj 5 | about: Please ask and answer general questions here. Issues are meant for bug reports or feature requests. 6 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | 4 | 5 | ### Description 6 | 10 | 11 | ### Motivation 12 | -------------------------------------------------------------------------------- /.github/ci-reporter.yml: -------------------------------------------------------------------------------- 1 | # Set to false to create a new comment instead of updating the app's first one 2 | updateComment: false 3 | 4 | # Use a custom string, or set to false to disable 5 | before: "Unfortunately, the [{{ provider }} build]({{ targetUrl }}) is failing as of {{ commit }}. Here's the output:" 6 | 7 | # Use a custom string, or set to false to disable 8 | after: "If you need help with this issue, don't hesitate to ask a maintainer of the project!" 9 | -------------------------------------------------------------------------------- /.github/config.yml: -------------------------------------------------------------------------------- 1 | requestInfoReplyComment: > 2 | I would appreciate it if you could provide us with more info about this issue/pr! 3 | 4 | requestInfoLabelToAdd: "Status: Needs Info" 5 | 6 | newPRWelcomeComment: > 7 | Thanks so much for opening your first PR here :smiley:. Please be sure to check the [contribution guidelines](../tree/sample/.github/CONTRIBUTING.md)! :wink: 8 | 9 | firstPRMergeComment: > 10 | Congrats on merging your first pull request here! :tada: How awesome! 11 | 12 | newIssueWelcomeComment: > 13 | Thanks for opening your first issue here :smiley:! Please be sure to follow the issue template and check the [contribution guidelines](../tree/sample/.github/CONTRIBUTING.md) :wink: (otherwise the issue will be ignored :confused:). 14 | 15 | sentimentBotToxicityThreshold: .7 16 | 17 | sentimentBotReplyComment: > 18 | Please be sure to review the [code of conduct](../tree/sample/.github/CODE_OF_CONDUCT.md) and be respectful of other users. cc/ @jahirfiquitiva 19 | 20 | lockThreads: 21 | toxicityThreshold: .7 22 | numComments: 2 23 | setTimeInHours: 48 24 | replyComment: > 25 | This thread is being locked due to exceeding the toxicity minimums. cc/ @jahirfiquitiva 26 | -------------------------------------------------------------------------------- /.github/lock.yml: -------------------------------------------------------------------------------- 1 | # Number of days of inactivity before a closed issue or pull request is locked 2 | daysUntilLock: 7 3 | # Comment to post before locking. Set to `false` to disable 4 | lockComment: > 5 | This thread has been automatically locked because it has not had recent 6 | activity. Please open a new issue for related bugs and link to relevant 7 | comments in this thread. -------------------------------------------------------------------------------- /.github/no-response.yml: -------------------------------------------------------------------------------- 1 | # Number of days of inactivity before an Issue is closed for lack of response 2 | daysUntilClose: 2 3 | # Label requiring a response 4 | responseRequiredLabel: "Status: Needs info" 5 | # Comment to post when closing an Issue for lack of response. Set to `false` to disable 6 | closeComment: > 7 | This issue has been automatically closed because there has been no response 8 | to our request for more information. With only the information that is 9 | currently in the issue, we don't have enough information to take action. 10 | Please reach out if you have or find the answers we need so that we can 11 | investigate further. 12 | -------------------------------------------------------------------------------- /.github/stale.yml: -------------------------------------------------------------------------------- 1 | daysUntilStale: 3 2 | daysUntilClose: 7 3 | 4 | exemptLabels: 5 | - "Status: Accepted" 6 | - "Status: Pending" 7 | staleLabel: "Status: Stale" 8 | 9 | markComment: > 10 | This issue has been automatically marked as stale because it has not had activity in the last three (3) days. It will be closed if no further activity occurs within the next four (4) days. Thank you for your contributions. 11 | unmarkComment: > 12 | Thanks for updating this issue. It is no longer marked as stale. 13 | closeComment: false 14 | 15 | pulls: 16 | daysUntilStale: 5 17 | daysUntilClose: 10 18 | markComment: > 19 | This pull request has been automatically marked as stale because it has not had activity in the last five (5) days. It will be closed if no further activity occurs within the next five (5) days. Thank you for your contributions. 20 | unmarkComment: > 21 | Thanks for updating this pull request. It is no longer marked as stale. 22 | -------------------------------------------------------------------------------- /.github/support.yml: -------------------------------------------------------------------------------- 1 | # Label used to mark issues as support requests 2 | supportLabel: "Type: Support" 3 | # Comment to post on issues marked as support requests. Add a link 4 | # to a support page, or set to `false` to disable 5 | supportComment: > 6 | 👋 We use the issue tracker exclusively for bug reports and feature requests. 7 | However, this issue appears to be a support request. Please join the 8 | [Dashboards Support Discord Server](https://discordapp.com/invite/78h7xgj) to get help with the project. 9 | # Whether to close issues marked as support requests 10 | close: true 11 | # Whether to lock issues marked as support requests 12 | lock: true 13 | -------------------------------------------------------------------------------- /.github/triage.yml: -------------------------------------------------------------------------------- 1 | # Label to use 2 | label: 'Status: Pending' 3 | # If enabled 4 | enabled: true 5 | -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- 1 | name: Build 2 | 3 | on: 4 | pull_request: 5 | branches: 6 | - sample 7 | - master 8 | push: 9 | branches: 10 | - sample 11 | - master 12 | 13 | jobs: 14 | test: 15 | name: Build app 16 | runs-on: ubuntu-18.04 17 | steps: 18 | - name: Check out code 19 | uses: actions/checkout@v2 20 | 21 | - name: Set up JDK 11 22 | uses: actions/setup-java@v2 23 | with: 24 | distribution: adopt 25 | java-version: 11 26 | 27 | - name: Delete some caches 28 | run: rm -f ~/.gradle/caches/modules-2/modules-2.lock; rm -fr ~/.gradle/caches/*/plugin-resolution/ 29 | 30 | - name: Cache Gradle 31 | uses: actions/cache@v2 32 | with: 33 | path: | 34 | ~/.android/build-cache 35 | ~/.m2 36 | ~/.gradle 37 | ~/.gradle/caches 38 | ~/.gradle/wrapper 39 | key: ${{ runner.os }}-gradle-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }} 40 | restore-keys: | 41 | ${{ runner.os }}-gradle- 42 | - name: Make gradlew executable 43 | run: chmod +x gradlew; chmod +x gradle/wrapper/gradle-wrapper.jar 44 | 45 | - name: Build 46 | run: ./gradlew clean test --full-stacktrace 47 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ############################################################################# 2 | # 3 | # .gitignore declares what files should be ignored by git 4 | # 5 | # This particular file is a composite of github's Android and Eclipse 6 | # files, along with some custom additions. 7 | # 8 | ############################################################################# 9 | 10 | ############################################################################# 11 | # Eclipse related files 12 | ############################################################################# 13 | 14 | # do not ignore debug apk 15 | !app-debug.apk 16 | 17 | *.pydevproject 18 | .metadata 19 | .gradle 20 | bin/ 21 | *.tmp 22 | *.bak 23 | *.swp 24 | *~.nib 25 | local.properties 26 | .settings/ 27 | .loadpath 28 | 29 | # External tool builders 30 | .externalToolBuilders/ 31 | 32 | # Locally stored "Eclipse launch configurations" 33 | *.launch 34 | 35 | # CDT-specific 36 | .cproject 37 | 38 | # PDT-specific 39 | .buildpath 40 | 41 | # sbteclipse plugin 42 | .target 43 | 44 | # TeXlipse plugin 45 | .texlipse 46 | 47 | ############################################################################# 48 | # Android related files 49 | ############################################################################# 50 | 51 | # Built application files 52 | *.apk 53 | #*.ap_ 54 | 55 | # Generated files 56 | gen/ 57 | 58 | # Gradle files 59 | build/ 60 | 61 | # Proguard folder generated by Eclipse 62 | proguard/ 63 | 64 | #Log Files 65 | *.log 66 | 67 | ############################################################################# 68 | # Other Misc. files 69 | ############################################################################# 70 | 71 | # Temp files for KDE and other Editor's 72 | *~ 73 | 74 | ############################################################################# 75 | # Android Studio related files 76 | ############################################################################# 77 | !.idea/copyright 78 | !.idea/codeStyles 79 | .idea/*.xml 80 | .idea/caches 81 | .idea/libraries 82 | #gradle.properties 83 | *.iml 84 | ======= 85 | .DS_Store 86 | /captures 87 | /projectFilesBackup 88 | /reports 89 | /report 90 | 91 | app/release 92 | .project 93 | .classpath 94 | -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /.idea/codeStyles/Project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | xmlns:android 20 | 21 | ^$ 22 | 23 | 24 | 25 |
26 |
27 | 28 | 29 | 30 | xmlns:.* 31 | 32 | ^$ 33 | 34 | 35 | BY_NAME 36 | 37 |
38 |
39 | 40 | 41 | 42 | .*:id 43 | 44 | http://schemas.android.com/apk/res/android 45 | 46 | 47 | 48 |
49 |
50 | 51 | 52 | 53 | .*:name 54 | 55 | http://schemas.android.com/apk/res/android 56 | 57 | 58 | 59 |
60 |
61 | 62 | 63 | 64 | name 65 | 66 | ^$ 67 | 68 | 69 | 70 |
71 |
72 | 73 | 74 | 75 | style 76 | 77 | ^$ 78 | 79 | 80 | 81 |
82 |
83 | 84 | 85 | 86 | .* 87 | 88 | ^$ 89 | 90 | 91 | BY_NAME 92 | 93 |
94 |
95 | 96 | 97 | 98 | .* 99 | 100 | http://schemas.android.com/apk/res/android 101 | 102 | 103 | ANDROID_ATTRIBUTE_ORDER 104 | 105 |
106 |
107 | 108 | 109 | 110 | .* 111 | 112 | .* 113 | 114 | 115 | BY_NAME 116 | 117 |
118 |
119 |
120 |
121 | 122 | 125 |
126 |
-------------------------------------------------------------------------------- /.idea/codeStyles/codeStyleConfig.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | ## Creative Commons Attribution-ShareAlike 4.0 International Public License 2 | 3 | By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution-ShareAlike 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions. 4 | 5 | ### Section 1 – Definitions. 6 | 7 | a. __Adapted Material__ means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image. 8 | 9 | b. __Adapter's License__ means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License. 10 | 11 | c. __BY-SA Compatible License__ means a license listed at [creativecommons.org/compatiblelicenses](http://creativecommons.org/compatiblelicenses), approved by Creative Commons as essentially the equivalent of this Public License. 12 | 13 | d. __Copyright and Similar Rights__ means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights. 14 | 15 | e. __Effective Technological Measures__ means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements. 16 | 17 | f. __Exceptions and Limitations__ means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material. 18 | 19 | g. __License Elements__ means the license attributes listed in the name of a Creative Commons Public License. The License Elements of this Public License are Attribution and ShareAlike. 20 | 21 | h. __Licensed Material__ means the artistic or literary work, database, or other material to which the Licensor applied this Public License. 22 | 23 | i. __Licensed Rights__ means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license. 24 | 25 | j. __Licensor__ means the individual(s) or entity(ies) granting rights under this Public License. 26 | 27 | k. __Share__ means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them. 28 | 29 | l. __Sui Generis Database Rights__ means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world. 30 | 31 | m. __You__ means the individual or entity exercising the Licensed Rights under this Public License. Your has a corresponding meaning. 32 | 33 | ### Section 2 – Scope. 34 | 35 | a. ___License grant.___ 36 | 37 | 1. Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to: 38 | 39 | A. reproduce and Share the Licensed Material, in whole or in part; and 40 | 41 | B. produce, reproduce, and Share Adapted Material. 42 | 43 | 2. __Exceptions and Limitations.__ For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions. 44 | 45 | 3. __Term.__ The term of this Public License is specified in Section 6(a). 46 | 47 | 4. __Media and formats; technical modifications allowed.__ The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material. 48 | 49 | 5. __Downstream recipients.__ 50 | 51 | A. __Offer from the Licensor – Licensed Material.__ Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License. 52 | 53 | B. __Additional offer from the Licensor – Adapted Material. Every recipient of Adapted Material from You automatically receives an offer from the Licensor to exercise the Licensed Rights in the Adapted Material under the conditions of the Adapter’s License You apply. 54 | 55 | C. __No downstream restrictions.__ You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material. 56 | 57 | 6. __No endorsement.__ Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i). 58 | 59 | b. ___Other rights.___ 60 | 61 | 1. Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise. 62 | 63 | 2. Patent and trademark rights are not licensed under this Public License. 64 | 65 | 3. To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties. 66 | 67 | ### Section 3 – License Conditions. 68 | 69 | Your exercise of the Licensed Rights is expressly made subject to the following conditions. 70 | 71 | a. ___Attribution.___ 72 | 73 | 1. If You Share the Licensed Material (including in modified form), You must: 74 | 75 | A. retain the following if it is supplied by the Licensor with the Licensed Material: 76 | 77 | i. identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated); 78 | 79 | ii. a copyright notice; 80 | 81 | iii. a notice that refers to this Public License; 82 | 83 | iv. a notice that refers to the disclaimer of warranties; 84 | 85 | v. a URI or hyperlink to the Licensed Material to the extent reasonably practicable; 86 | 87 | B. indicate if You modified the Licensed Material and retain an indication of any previous modifications; and 88 | 89 | C. indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License. 90 | 91 | 2. You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information. 92 | 93 | 3. If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable. 94 | 95 | b. ___ShareAlike.___ 96 | 97 | In addition to the conditions in Section 3(a), if You Share Adapted Material You produce, the following conditions also apply. 98 | 99 | 1. The Adapter’s License You apply must be a Creative Commons license with the same License Elements, this version or later, or a BY-SA Compatible License. 100 | 101 | 2. You must include the text of, or the URI or hyperlink to, the Adapter's License You apply. You may satisfy this condition in any reasonable manner based on the medium, means, and context in which You Share Adapted Material. 102 | 103 | 3. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, Adapted Material that restrict exercise of the rights granted under the Adapter's License You apply. 104 | 105 | ### Section 4 – Sui Generis Database Rights. 106 | 107 | Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material: 108 | 109 | a. for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database; 110 | 111 | b. if You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material, including for purposes of Section 3(b); and 112 | 113 | c. You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database. 114 | 115 | For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights. 116 | 117 | ### Section 5 – Disclaimer of Warranties and Limitation of Liability. 118 | 119 | a. __Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You.__ 120 | 121 | b. __To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You.__ 122 | 123 | c. The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability. 124 | 125 | ### Section 6 – Term and Termination. 126 | 127 | a. This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically. 128 | 129 | b. Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates: 130 | 131 | 1. automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or 132 | 133 | 2. upon express reinstatement by the Licensor. 134 | 135 | For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License. 136 | 137 | c. For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License. 138 | 139 | d. Sections 1, 5, 6, 7, and 8 survive termination of this Public License. 140 | 141 | ### Section 7 – Other Terms and Conditions. 142 | 143 | a. The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed. 144 | 145 | b. Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License.t stated herein are separate from and independent of the terms and conditions of this Public License. 146 | 147 | ### Section 8 – Interpretation. 148 | 149 | a. For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License. 150 | 151 | b. To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions. 152 | 153 | c. No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor. 154 | 155 | d. Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority. 156 | 157 | ``` 158 | Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the “Licensor.” Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at [creativecommons.org/policies](http://creativecommons.org/policies), Creative Commons does not authorize the use of the trademark “Creative Commons” or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses. 159 | 160 | Creative Commons may be contacted at creativecommons.org 161 | ``` -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Nothing-Weather-KOMP 2 | Nothing style weather Komponent for KWGT/KLWP and also other Kustom products. 3 | 4 | This app is made using [Kuper Dashboard](https://github.com/jahirfiquitiva/Kuper). 5 | 6 | # Preview 7 | ![Lite_Version](https://user-images.githubusercontent.com/86063625/187028912-125bf705-f616-4bcb-b8d5-e56a1d15b3a3.png) 8 | ![Colorful_Version](https://user-images.githubusercontent.com/86063625/187028927-16ed0c49-bfca-4030-b8ef-014f81b09dbf.png) 9 | ![Dark_version](https://user-images.githubusercontent.com/86063625/187028934-82eef4b3-df24-4008-9d6d-7a10815327e7.png) 10 | ![Three_in_One](https://user-images.githubusercontent.com/86063625/187028942-562a4e8d-10bd-4f71-9786-0c134cf611dc.png) 11 | ![Last](https://user-images.githubusercontent.com/86063625/187029028-6f64dd33-863f-4bf2-ac11-8e115563bca6.jpg) 12 | 13 | ### Don't forget to :star: the repo 14 | 15 | 16 | ### Download 17 | 18 | [Download from Play Store](https://play.google.com/store/apps/details?id=beehomie.nothingweather.komp) 21 | [Download from GitHub](https://github.com/bhaskar966/Nothing-Weather-KOMP/releases) 24 | 25 | 26 | 27 | 28 | 29 | # You have to give full credits to the creator to use this icons. 30 | Every one can use this weather komponent with no issues until someone don't give credit to this repo or the creator. 31 | fell free to use this in any of your projects - Free + commercial. 32 | 33 | 34 | 35 | **If you liked this project fell free to donate;** Download from Play Store then you can donate from there. 36 | 37 | -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- 1 | // TODO: Remove comment marks to enable 2 | /* 3 | buildscript { 4 | repositories { 5 | google() 6 | mavenCentral() 7 | gradlePluginPortal() 8 | } 9 | 10 | dependencies { 11 | classpath Plugins.oneSignal 12 | } 13 | } 14 | 15 | apply plugin: 'com.onesignal.androidsdk.onesignal-gradle-plugin' 16 | */ 17 | 18 | apply plugin: 'com.android.application' 19 | apply plugin: 'kotlin-android' 20 | apply plugin: 'kotlin-parcelize' 21 | apply plugin: 'com.google.devtools.ksp' 22 | 23 | android { 24 | applicationVariants.all { variant -> 25 | variant.outputs.all { output -> 26 | outputFileName = defaultConfig.applicationId + "-v${variant.versionName}-${variant.name}.apk" 27 | } 28 | } 29 | 30 | lint { 31 | abortOnError false 32 | checkReleaseBuilds true 33 | disable 'MissingTranslation', 'GoogleAppIndexingWarning' 34 | } 35 | 36 | compileSdkVersion Versions.targetSdk 37 | buildToolsVersion Versions.buildTools 38 | 39 | defaultConfig { 40 | buildConfigField("String", "ONESIGNAL_APP_ID", "\"$OneSignal.appId\"") 41 | manifestPlaceholders = [ 42 | onesignal_app_id : OneSignal.appId, 43 | onesignal_google_project_number: OneSignal.googleProjectNumber 44 | ] 45 | applicationId MyApp.appId 46 | minSdkVersion Versions.minSdk 47 | targetSdkVersion Versions.targetSdk 48 | versionCode MyApp.version 49 | versionName MyApp.versionName 50 | vectorDrawables.useSupportLibrary = true 51 | multiDexEnabled true 52 | proguardFiles 'proguard-android-optimize.txt', 'proguard-rules.pro' 53 | consumerProguardFiles 'proguard-android-optimize.txt', 'proguard-rules.pro' 54 | 55 | ksp { 56 | arg("room.schemaLocation", "$projectDir/schemas") 57 | arg("room.incremental", "true") 58 | arg("room.expandProjection", "true") 59 | } 60 | } 61 | 62 | buildTypes { 63 | buildTypes.each { 64 | it.buildConfigField("String", "ONESIGNAL_APP_ID", "\"$OneSignal.appId\"") 65 | } 66 | release { 67 | debuggable false 68 | zipAlignEnabled true 69 | minifyEnabled true 70 | shrinkResources false 71 | proguardFiles 'proguard-android-optimize.txt', 'proguard-rules.pro' 72 | consumerProguardFiles 'proguard-android-optimize.txt', 'proguard-rules.pro' 73 | } 74 | } 75 | 76 | sourceSets { 77 | main.java.srcDirs += 'src/main/kotlin' 78 | } 79 | 80 | packagingOptions { 81 | resources { 82 | pickFirsts += [ 83 | 'META-INF/core_debug.kotlin_module', 84 | 'META-INF/core_release.kotlin_module', 85 | 'META-INF/library_debug.kotlin_module', 86 | 'META-INF/library_release.kotlin_module' 87 | ] 88 | } 89 | } 90 | 91 | compileOptions { 92 | sourceCompatibility JavaVersion.VERSION_1_8 93 | targetCompatibility JavaVersion.VERSION_1_8 94 | } 95 | 96 | kotlinOptions { 97 | jvmTarget = '1.8' 98 | } 99 | } 100 | 101 | dependencies { 102 | implementation(Libs.kuper) { 103 | transitive = true 104 | } 105 | // TODO: Remove comment marks to enable 106 | // implementation Libs.oneSignal 107 | } 108 | -------------------------------------------------------------------------------- /app/proguard-android-optimize.txt: -------------------------------------------------------------------------------- 1 | # This is a configuration file for ProGuard. 2 | # http://proguard.sourceforge.net/index.html#manual/usage.html 3 | 4 | # Optimizations: If you don't want to optimize, use the 5 | # proguard-android.txt configuration file instead of this one, which 6 | # turns off the optimization flags. Adding optimization introduces 7 | # certain risks, since for example not all optimizations performed by 8 | # ProGuard works on all versions of Dalvik. The following flags turn 9 | # off various optimizations known to have issues, but the list may not 10 | # be complete or up to date. (The "arithmetic" optimization can be 11 | # used if you are only targeting Android 2.0 or later.) Make sure you 12 | # test thoroughly if you go this route. 13 | -optimizations !code/simplification/arithmetic,!code/simplification/cast,!field/*,!class/merging/* 14 | -optimizationpasses 5 15 | -allowaccessmodification 16 | -dontpreverify 17 | 18 | # The remainder of this file is identical to the non-optimized version 19 | # of the Proguard configuration file (except that the other file has 20 | # flags to turn off optimization). 21 | 22 | -dontusemixedcaseclassnames 23 | -dontskipnonpubliclibraryclasses 24 | 25 | -keepattributes *Annotation* 26 | -keep public class com.google.vending.licensing.ILicensingService 27 | -keep public class com.android.vending.licensing.ILicensingService 28 | 29 | # For native methods, see http://proguard.sourceforge.net/manual/examples.html#native 30 | -keepclasseswithmembernames class * { 31 | native ; 32 | } 33 | 34 | # keep setters in Views so that animations can still work. 35 | # see http://proguard.sourceforge.net/manual/examples.html#beans 36 | -keepclassmembers public class * extends android.view.View { 37 | void set*(***); 38 | *** get*(); 39 | } 40 | 41 | # We want to keep methods in Activity that could be used in the XML attribute onClick 42 | -keepclassmembers class * extends android.app.Activity { 43 | public void *(android.view.View); 44 | } 45 | 46 | # For enumeration classes, see http://proguard.sourceforge.net/manual/examples.html#enumerations 47 | -keepclassmembers enum * { 48 | public static **[] values(); 49 | public static ** valueOf(java.lang.String); 50 | } 51 | 52 | -keepclassmembers class * implements android.os.Parcelable { 53 | public static final android.os.Parcelable$Creator CREATOR; 54 | } 55 | 56 | -keepclassmembers class **.R$* { 57 | public static ; 58 | } 59 | 60 | # The support library contains references to newer platform versions. 61 | # Don't warn about those in case this app is linking against an older 62 | # platform version. We know about them, and they are safe. 63 | -dontwarn android.support.** 64 | 65 | # Understand the @Keep support annotation. 66 | -keep class android.support.annotation.Keep 67 | 68 | -keep @android.support.annotation.Keep class * {*;} 69 | 70 | -keepclasseswithmembers class * { 71 | @android.support.annotation.Keep ; 72 | } 73 | 74 | -keepclasseswithmembers class * { 75 | @android.support.annotation.Keep ; 76 | } 77 | 78 | -keepclasseswithmembers class * { 79 | @android.support.annotation.Keep (...); 80 | } -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | 23 | -keep class dev.jahir.frames.** { *; } 24 | -keep class dev.jahir.kuper.** { *; } 25 | 26 | -keep class com.google.** 27 | -keep class autovalue.shaded.com.google.** 28 | -keep class com.android.vending.billing.** 29 | -keep public class com.android.vending.licensing.ILicensingService 30 | 31 | -dontwarn org.apache.** 32 | -dontwarn com.google.** 33 | -dontwarn autovalue.shaded.com.google.** 34 | -dontwarn com.android.vending.billing.** 35 | 36 | -dontwarn okhttp3.** 37 | -dontwarn okio.** 38 | -dontwarn javax.annotation.** 39 | 40 | -keepclassmembers class * implements android.os.Parcelable { 41 | static ** CREATOR; 42 | } 43 | -keep public final class * extends android.view.AbsSavedState 44 | -keepclassmembers public final class * extends android.view.AbsSavedState { *; } 45 | 46 | # Retrofit 47 | -keepattributes Signature, InnerClasses, EnclosingMethod 48 | -keepattributes RuntimeVisibleAnnotations, RuntimeVisibleParameterAnnotations 49 | -keepclassmembers,allowshrinking,allowobfuscation interface * { 50 | @retrofit2.http.* ; 51 | } 52 | -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement 53 | -dontwarn kotlin.Unit 54 | -dontwarn retrofit2.KotlinExtensions 55 | -dontwarn retrofit2.KotlinExtensions$* 56 | -if interface * { @retrofit2.http.* ; } 57 | -keep,allowobfuscation interface <1> 58 | 59 | -dontwarn 60 | -ignorewarnings 61 | -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | 19 | 20 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 70 | 73 | 74 | 75 | 76 | 83 | 84 | 85 | 86 | 87 | 90 | 93 | 94 | 95 | 101 | 102 | 103 | 104 | 105 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 124 | 125 | 126 | -------------------------------------------------------------------------------- /app/src/main/assets/komponents/Nothing Weather Komponent - Colorful.komp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhaskar966/Nothing-Weather-KOMP/12606f622867fcd1eefe9ca208053ff349c098e5/app/src/main/assets/komponents/Nothing Weather Komponent - Colorful.komp -------------------------------------------------------------------------------- /app/src/main/assets/komponents/Nothing Weather Komponent - Dark.komp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhaskar966/Nothing-Weather-KOMP/12606f622867fcd1eefe9ca208053ff349c098e5/app/src/main/assets/komponents/Nothing Weather Komponent - Dark.komp -------------------------------------------------------------------------------- /app/src/main/assets/komponents/Nothing Weather Komponent - Lite.komp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhaskar966/Nothing-Weather-KOMP/12606f622867fcd1eefe9ca208053ff349c098e5/app/src/main/assets/komponents/Nothing Weather Komponent - Lite.komp -------------------------------------------------------------------------------- /app/src/main/ic_launcher-playstore.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhaskar966/Nothing-Weather-KOMP/12606f622867fcd1eefe9ca208053ff349c098e5/app/src/main/ic_launcher-playstore.png -------------------------------------------------------------------------------- /app/src/main/kotlin/beehomie/nothingweather/komp/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package beehomie.nothingweather.komp 2 | 3 | import com.github.javiersantos.piracychecker.PiracyChecker 4 | import dev.jahir.kuper.app.BuildConfig 5 | //import dev.jahir.kuper.BuildConfig 6 | //import dev.jahir.kuper.BuildConfig 7 | import dev.jahir.kuper.app.R 8 | import dev.jahir.kuper.ui.activities.KuperActivity 9 | 10 | class MainActivity : KuperActivity() { 11 | 12 | /** 13 | * These things here have the default values. You can delete the ones you don't want to change 14 | * and/or modify the ones you want to. 15 | */ 16 | override val billingEnabled = true 17 | 18 | override fun amazonInstallsEnabled(): Boolean = false 19 | override fun checkLPF(): Boolean = false 20 | override fun checkStores(): Boolean = false 21 | 22 | /** 23 | * This is your app's license key. Get yours on Google Play Dev Console. 24 | * Default one isn't valid and could cause issues in your app. 25 | */ 26 | override fun getLicKey(): String? = "MIIBIjANBgkqhkiGgKglYGYGihLuihUuhhuBlouBkuiu" 27 | 28 | /** 29 | * This is the license checker code. Feel free to create your own implementation or 30 | * leave it as it is. 31 | * Anyways, keep the 'destroyChecker()' as the very first line of this code block 32 | * Return null to disable license check 33 | */ 34 | override fun getLicenseChecker(): PiracyChecker? { 35 | destroyChecker() // Important 36 | /** 37 | * made distroyCheacker() to return null, so it will not check for license. 38 | */ 39 | return null 40 | // if (BuildConfig.DEBUG) null else super.getLicenseChecker() 41 | } 42 | 43 | override fun defaultTheme(): Int = R.style.MyApp_Default 44 | override fun amoledTheme(): Int = R.style.MyApp_Default_Amoled 45 | 46 | override fun defaultMaterialYouTheme(): Int = R.style.MyApp_Default_MaterialYou 47 | override fun amoledMaterialYouTheme(): Int = R.style.MyApp_Default_Amoled_MaterialYou 48 | } 49 | -------------------------------------------------------------------------------- /app/src/main/kotlin/beehomie/nothingweather/komp/MuzeiService.kt: -------------------------------------------------------------------------------- 1 | package beehomie.nothingweather.komp 2 | 3 | import dev.jahir.frames.muzei.FramesArtProvider 4 | 5 | class MuzeiService : FramesArtProvider() -------------------------------------------------------------------------------- /app/src/main/kotlin/beehomie/nothingweather/komp/MyApplication.kt: -------------------------------------------------------------------------------- 1 | package beehomie.nothingweather.komp 2 | 3 | import dev.jahir.frames.ui.FramesApplication 4 | 5 | // TODO: Remove comment marks to enable 6 | // import com.onesignal.OneSignal 7 | // import com.onesignal.OSNotificationReceivedEvent 8 | // import dev.jahir.frames.extensions.context.preferences 9 | 10 | class MyApplication : FramesApplication() { 11 | override fun onCreate() { 12 | super.onCreate() 13 | // TODO: Remove comment marks to enable 14 | /* 15 | OneSignal.initWithContext(this); 16 | OneSignal.setAppId(BuildConfig.ONESIGNAL_APP_ID); 17 | OneSignal.setNotificationWillShowInForegroundHandler { notificationReceivedEvent: OSNotificationReceivedEvent -> 18 | notificationReceivedEvent.complete( 19 | if (preferences.notificationsEnabled) 20 | notificationReceivedEvent.notification 21 | else null 22 | ) 23 | } 24 | OneSignal.unsubscribeWhenNotificationsAreDisabled(true) 25 | OneSignal.pauseInAppMessages(true) 26 | OneSignal.setLocationShared(false) 27 | */ 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /app/src/main/kotlin/beehomie/nothingweather/komp/NotificationServiceExtension.kt: -------------------------------------------------------------------------------- 1 | package beehomie.nothingweather.komp 2 | 3 | /* TODO: Remove comment marks to enable 4 | import android.content.Context 5 | import androidx.core.app.NotificationCompat 6 | import com.onesignal.OSNotificationReceivedEvent 7 | import com.onesignal.OneSignal.OSRemoteNotificationReceivedHandler 8 | import dev.jahir.frames.extensions.context.color 9 | import dev.jahir.frames.extensions.context.drawable 10 | import dev.jahir.frames.extensions.context.preferences 11 | class NotificationServiceExtension : OSRemoteNotificationReceivedHandler { 12 | override fun remoteNotificationReceived( 13 | context: Context, 14 | notificationReceivedEvent: OSNotificationReceivedEvent 15 | ) { 16 | if(!context.preferences.notificationsEnabled) { 17 | notificationReceivedEvent.complete(null) 18 | return 19 | } 20 | val notification = notificationReceivedEvent.notification 21 | val mutableNotification = notification.mutableCopy() 22 | mutableNotification.setExtender { builder: NotificationCompat.Builder -> 23 | builder.color = context.color(R.color.accent) 24 | builder.setSmallIcon(R.drawable.ic_notification) 25 | } 26 | notificationReceivedEvent.complete(mutableNotification) 27 | } 28 | } 29 | */ 30 | -------------------------------------------------------------------------------- /app/src/main/kotlin/beehomie/nothingweather/komp/ZooperProvider.kt: -------------------------------------------------------------------------------- 1 | package beehomie.nothingweather.komp 2 | 3 | import dev.jahir.kuper.data.providers.ZooperTemplateProvider 4 | 5 | class ZooperProvider : ZooperTemplateProvider() -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 10 | 15 | 20 | 25 | 30 | 35 | 40 | 45 | 50 | 55 | 60 | 65 | 70 | 75 | 80 | 85 | 90 | 95 | 100 | 105 | 110 | 115 | 120 | 125 | 130 | 135 | 140 | 145 | 150 | 155 | 160 | 165 | 170 | 171 | -------------------------------------------------------------------------------- /app/src/main/res/drawalbe-nodpi/app_splash_screen_picture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhaskar966/Nothing-Weather-KOMP/12606f622867fcd1eefe9ca208053ff349c098e5/app/src/main/res/drawalbe-nodpi/app_splash_screen_picture.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhaskar966/Nothing-Weather-KOMP/12606f622867fcd1eefe9ca208053ff349c098e5/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhaskar966/Nothing-Weather-KOMP/12606f622867fcd1eefe9ca208053ff349c098e5/app/src/main/res/mipmap-hdpi/ic_launcher_background.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhaskar966/Nothing-Weather-KOMP/12606f622867fcd1eefe9ca208053ff349c098e5/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhaskar966/Nothing-Weather-KOMP/12606f622867fcd1eefe9ca208053ff349c098e5/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhaskar966/Nothing-Weather-KOMP/12606f622867fcd1eefe9ca208053ff349c098e5/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhaskar966/Nothing-Weather-KOMP/12606f622867fcd1eefe9ca208053ff349c098e5/app/src/main/res/mipmap-mdpi/ic_launcher_background.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhaskar966/Nothing-Weather-KOMP/12606f622867fcd1eefe9ca208053ff349c098e5/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhaskar966/Nothing-Weather-KOMP/12606f622867fcd1eefe9ca208053ff349c098e5/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhaskar966/Nothing-Weather-KOMP/12606f622867fcd1eefe9ca208053ff349c098e5/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhaskar966/Nothing-Weather-KOMP/12606f622867fcd1eefe9ca208053ff349c098e5/app/src/main/res/mipmap-xhdpi/ic_launcher_background.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhaskar966/Nothing-Weather-KOMP/12606f622867fcd1eefe9ca208053ff349c098e5/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhaskar966/Nothing-Weather-KOMP/12606f622867fcd1eefe9ca208053ff349c098e5/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhaskar966/Nothing-Weather-KOMP/12606f622867fcd1eefe9ca208053ff349c098e5/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhaskar966/Nothing-Weather-KOMP/12606f622867fcd1eefe9ca208053ff349c098e5/app/src/main/res/mipmap-xxhdpi/ic_launcher_background.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhaskar966/Nothing-Weather-KOMP/12606f622867fcd1eefe9ca208053ff349c098e5/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhaskar966/Nothing-Weather-KOMP/12606f622867fcd1eefe9ca208053ff349c098e5/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhaskar966/Nothing-Weather-KOMP/12606f622867fcd1eefe9ca208053ff349c098e5/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhaskar966/Nothing-Weather-KOMP/12606f622867fcd1eefe9ca208053ff349c098e5/app/src/main/res/mipmap-xxxhdpi/ic_launcher_background.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhaskar966/Nothing-Weather-KOMP/12606f622867fcd1eefe9ca208053ff349c098e5/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhaskar966/Nothing-Weather-KOMP/12606f622867fcd1eefe9ca208053ff349c098e5/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/values-v31/m3_colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | @android:color/system_neutral1_10 5 | @android:color/system_neutral1_10 6 | @android:color/system_neutral1_900 7 | 8 | @android:color/system_accent1_600 9 | @android:color/system_accent1_0 10 | 11 | @android:color/system_neutral2_50 12 | @android:color/system_neutral2_900 13 | @android:color/system_neutral2_700 14 | 15 | @android:color/system_neutral1_10 16 | @android:color/system_neutral1_900 17 | 18 | @android:color/system_neutral2_800 19 | @android:color/system_neutral2_50 20 | @android:color/system_accent1_200 21 | 22 | @android:color/system_neutral2_100 23 | 24 | @android:color/system_accent2_600 25 | @android:color/system_accent2_0 26 | @android:color/system_accent3_600 27 | @android:color/system_accent3_0 28 | 29 | 30 | @android:color/system_neutral1_900 31 | @android:color/system_neutral1_900 32 | @android:color/system_neutral1_100 33 | 34 | @android:color/system_accent1_200 35 | @android:color/system_accent1_800 36 | 37 | @android:color/system_neutral2_800 38 | @android:color/system_neutral2_50 39 | @android:color/system_neutral2_100 40 | 41 | @android:color/system_neutral1_900 42 | @android:color/system_neutral1_100 43 | 44 | @android:color/system_neutral2_50 45 | @android:color/system_neutral2_900 46 | @android:color/system_accent1_500 47 | 48 | @android:color/system_neutral2_700 49 | 50 | @android:color/system_accent2_200 51 | @android:color/system_accent2_800 52 | @android:color/system_accent3_200 53 | @android:color/system_accent3_800 54 | 55 | 56 | @android:color/system_accent1_200 57 | @android:color/system_neutral2_900 58 | @android:color/system_accent1_500 59 | 60 | 61 | -------------------------------------------------------------------------------- /app/src/main/res/values/about_setup.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | https://1.bp.blogspot.com/-5Sl2xCOFcXI/YR6ftgMxpHI/AAAAAAAAdp4/ELSV-dggGLMwi7JmaonzU6U1NWg-XrLkQCLcBGAsYHQ/s320/20210626_115013.png 5 | https://1.bp.blogspot.com/-b1zld8KTTSw/YRz5IvGM5SI/AAAAAAAAdpU/pBskvC4SMcQaSx_O9jk2L_NDZ666I_UDgCLcBGAsYHQ/s2048/IMG_20210428_092409_502.png 6 | 7 | 8 | Beehomie 9 | Bhaskar 10 | 11 | 12 | Takes home screen customization in another level 13 | I made these Widgets 14 | 15 | 16 | Instagram|Website|Checkout More apps 17 | Telegram|Twitter 18 | 19 | 20 | https://www.instagram.com/beehom.ie/|https://beehomie.blogspot.com/|https://play.google.com/store/apps/dev?id=6486116047942427336 21 | https://telegram.me/iammrbhaskar|https://twitter.com/iammrbhaskar 22 | 23 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | #ffffff 6 | #fafafa 7 | #de000000 8 | #0037FF 9 | #ffffff 10 | #ffffff 11 | #de000000 12 | #8a000000 13 | #fafafa 14 | #de000000 15 | #424242 16 | #ffffff 17 | #0C66FF 18 | 19 | 20 | 21 | #212121 22 | #000000 23 | #ffffff 24 | #FF3F3F 25 | #ffffff 26 | #424242 27 | #ffffff 28 | #b3ffffff 29 | #303030 30 | #b3ffffff 31 | #ffffff 32 | #de000000 33 | #FF4E4E 34 | 35 | 36 | 37 | #000000 38 | #000000 39 | #ffffff 40 | #FF0000 41 | #de000000 42 | #212121 43 | #ffffff 44 | #101010 45 | @color/darkThemeOnSurfaceVariant 46 | @color/darkThemeOnBackground 47 | #ffffff 48 | #de000000 49 | #993C3C 50 | 51 | 52 | -------------------------------------------------------------------------------- /app/src/main/res/values/dashboard_setup.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | 16 | true 17 | 18 | 23 | true 24 | 25 | 26 | "" 27 | 28 | 29 | "" 30 | 31 | 36 | true 37 | 38 | 44 | 2 45 | 46 | 51 | false 52 | 53 | 57 | true 58 | 59 | 60 | 61 | donations_for_nothingweatherkomp 62 | donation_small_nothingweatherkomp 63 | donation_large_nothingweatherkomp 64 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8dp 4 | 2dp 5 | 4dp 6 | 6dp 7 | 8dp 8 | 12dp 9 | -------------------------------------------------------------------------------- /app/src/main/res/values/floats.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 1.35 4 | 1.7 5 | -------------------------------------------------------------------------------- /app/src/main/res/values/frames_setup.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | https://raw.githubusercontent.com/bhaskar966/Something/main/somethingwalls.json 6 | 7 | 12 | true 13 | 14 | 15 | true 16 | 17 | 18 | false 19 | 20 | 21 | false 22 | 23 | 24 | true 25 | 26 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /app/src/main/res/values/integers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 2 4 | 1 5 | -------------------------------------------------------------------------------- /app/src/main/res/values/kuper_setup.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | false 5 | 6 | 7 | 8 | 9 | @string/app_name 10 | Cool widgets. 11 | Your name 12 | 13 | 14 | 1 15 | 16 | 17 | @mipmap/ic_launcher 18 | 19 | 20 | false 21 | 22 | 23 | 24 | 25 | @string/app_name 26 | 27 | 28 | Nothing Inspired Weather komponent + Opensource. 29 | -------------------------------------------------------------------------------- /app/src/main/res/values/m3_shape_styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 13 | 14 | 18 | 19 | 23 | 24 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /app/src/main/res/values/m3_styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 10 | 11 | 12 | 17 | 18 | 19 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /app/src/main/res/values/shape_styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 13 | 14 | 18 | 19 | 23 | 24 | 28 | 29 | -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Nothing Weather KOMP 3 | 4 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 21 | 22 | 23 | 28 | 29 | 30 | 35 | 36 | 37 | 49 | 50 | 51 | -------------------------------------------------------------------------------- /app/src/main/res/xml/changelog.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/xml/network_security_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | github.com 10 | raw.github.com 11 | drive.google.com 12 | 13 | 14 | -------------------------------------------------------------------------------- /build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | repositories { 5 | google() 6 | mavenCentral() 7 | maven { url 'https://jitpack.io' } 8 | maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } 9 | maven { url 'https://plugins.gradle.org/m2/' } 10 | } 11 | 12 | dependencies { 13 | classpath Plugins.android 14 | classpath Plugins.kotlin 15 | classpath Plugins.ksp 16 | } 17 | } 18 | 19 | allprojects { 20 | repositories { 21 | google() 22 | mavenCentral() 23 | maven { url 'https://jitpack.io' } 24 | maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } 25 | maven { url 'https://plugins.gradle.org/m2/' } 26 | } 27 | } 28 | 29 | task clean(type: Delete) { 30 | delete rootProject.buildDir 31 | } 32 | -------------------------------------------------------------------------------- /buildSrc/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | build 3 | /.gradle 4 | .gradle 5 | /gradle 6 | gradle 7 | -------------------------------------------------------------------------------- /buildSrc/build.gradle.kts: -------------------------------------------------------------------------------- 1 | plugins { 2 | `kotlin-dsl` 3 | } 4 | 5 | repositories { 6 | google() 7 | mavenCentral() 8 | maven(url = "https://jitpack.io") 9 | maven(url = "https://oss.sonatype.org/content/repositories/snapshots/") 10 | maven(url = "https://plugins.gradle.org/m2/") 11 | } 12 | -------------------------------------------------------------------------------- /buildSrc/src/main/java/Libs.kt: -------------------------------------------------------------------------------- 1 | @file:Suppress("unused") 2 | 3 | object Libs { 4 | // Kotlin 5 | const val kotlin = "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${Versions.kotlin}" 6 | 7 | // Kuper 8 | const val kuper = "dev.jahir:Kuper:${Versions.kuper}@aar" 9 | 10 | // OneSignal 11 | const val oneSignal = "com.onesignal:OneSignal:${Versions.oneSignal}" 12 | } -------------------------------------------------------------------------------- /buildSrc/src/main/java/MyApp.kt: -------------------------------------------------------------------------------- 1 | @file:Suppress("unused") 2 | 3 | object MyApp { 4 | const val appId = "beehomie.nothingweather.komp" 5 | const val version = 100 6 | const val versionName = "1.0.0" 7 | } 8 | -------------------------------------------------------------------------------- /buildSrc/src/main/java/OneSignal.kt: -------------------------------------------------------------------------------- 1 | @file:Suppress("unused") 2 | 3 | object OneSignal { 4 | const val appId = "965921b5-91a2-45b8-a960-a9f28948a781" 5 | const val googleProjectNumber = "191533712411" 6 | } 7 | -------------------------------------------------------------------------------- /buildSrc/src/main/java/Plugins.kt: -------------------------------------------------------------------------------- 1 | @file:Suppress("unused") 2 | 3 | object Plugins { 4 | // Android 5 | const val android = "com.android.tools.build:gradle:${Versions.gradle}" 6 | // Kotlin 7 | const val kotlin = "org.jetbrains.kotlin:kotlin-gradle-plugin:${Versions.kotlin}" 8 | // OneSignal 9 | const val oneSignal = 10 | "gradle.plugin.com.onesignal:onesignal-gradle-plugin:${Versions.oneSignalPlugin}" 11 | // KSP 12 | const val ksp = 13 | "com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin:${Versions.ksp}" 14 | } 15 | -------------------------------------------------------------------------------- /buildSrc/src/main/java/Versions.kt: -------------------------------------------------------------------------------- 1 | @file:Suppress("unused") 2 | 3 | object Versions { 4 | // Plugins 5 | const val gradle = "7.2.1" 6 | const val kotlin = "1.7.0" 7 | const val ksp = "$kotlin-1.0.6" 8 | 9 | // OneSignal 10 | const val oneSignalPlugin = "0.14.0" 11 | const val oneSignal = "4.8.1" 12 | 13 | // App 14 | const val minSdk = 21 15 | const val targetSdk = 32 16 | const val buildTools = "32.0.0" 17 | 18 | // Kuper 19 | const val kuper = "2.4.0" 20 | } 21 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | # IDE (e.g. Android Studio) users: 3 | # Gradle settings configured through the IDE *will override* 4 | # any settings specified in this file. 5 | # For more details on how to configure your build environment visit 6 | # http://www.gradle.org/docs/current/userguide/build_environment.html 7 | # Specifies the JVM arguments used for the daemon process. 8 | # The setting is particularly useful for tweaking memory settings. 9 | org.gradle.jvmargs=-Xmx1536m 10 | # When configured, Gradle will run in incubating parallel mode. 11 | # This option should only be used with decoupled projects. More details, visit 12 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 13 | # org.gradle.parallel=true 14 | # AndroidX package structure to make it clearer which packages are bundled with the 15 | # Android operating system, and which are packaged with your app's APK 16 | # https://developer.android.com/topic/libraries/support-library/androidx-rn 17 | android.useAndroidX=true 18 | # Automatically convert third-party libraries to use AndroidX 19 | android.enableJetifier=true 20 | # Kotlin code style for this project: "official" or "obsolete": 21 | kotlin.code.style=official -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bhaskar966/Nothing-Weather-KOMP/12606f622867fcd1eefe9ca208053ff349c098e5/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Sun Jul 24 22:47:34 CEST 2022 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | ############################################################################## 4 | ## 5 | ## Gradle start up script for UN*X 6 | ## 7 | ############################################################################## 8 | 9 | # Attempt to set APP_HOME 10 | # Resolve links: $0 may be a link 11 | PRG="$0" 12 | # Need this for relative symlinks. 13 | while [ -h "$PRG" ] ; do 14 | ls=`ls -ld "$PRG"` 15 | link=`expr "$ls" : '.*-> \(.*\)$'` 16 | if expr "$link" : '/.*' > /dev/null; then 17 | PRG="$link" 18 | else 19 | PRG=`dirname "$PRG"`"/$link" 20 | fi 21 | done 22 | SAVED="`pwd`" 23 | cd "`dirname \"$PRG\"`/" >/dev/null 24 | APP_HOME="`pwd -P`" 25 | cd "$SAVED" >/dev/null 26 | 27 | APP_NAME="Gradle" 28 | APP_BASE_NAME=`basename "$0"` 29 | 30 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 31 | DEFAULT_JVM_OPTS="" 32 | 33 | # Use the maximum available, or set MAX_FD != -1 to use that value. 34 | MAX_FD="maximum" 35 | 36 | warn () { 37 | echo "$*" 38 | } 39 | 40 | die () { 41 | echo 42 | echo "$*" 43 | echo 44 | exit 1 45 | } 46 | 47 | # OS specific support (must be 'true' or 'false'). 48 | cygwin=false 49 | msys=false 50 | darwin=false 51 | nonstop=false 52 | case "`uname`" in 53 | CYGWIN* ) 54 | cygwin=true 55 | ;; 56 | Darwin* ) 57 | darwin=true 58 | ;; 59 | MINGW* ) 60 | msys=true 61 | ;; 62 | NONSTOP* ) 63 | nonstop=true 64 | ;; 65 | esac 66 | 67 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 68 | 69 | # Determine the Java command to use to start the JVM. 70 | if [ -n "$JAVA_HOME" ] ; then 71 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 72 | # IBM's JDK on AIX uses strange locations for the executables 73 | JAVACMD="$JAVA_HOME/jre/sh/java" 74 | else 75 | JAVACMD="$JAVA_HOME/bin/java" 76 | fi 77 | if [ ! -x "$JAVACMD" ] ; then 78 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 79 | 80 | Please set the JAVA_HOME variable in your environment to match the 81 | location of your Java installation." 82 | fi 83 | else 84 | JAVACMD="java" 85 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 86 | 87 | Please set the JAVA_HOME variable in your environment to match the 88 | location of your Java installation." 89 | fi 90 | 91 | # Increase the maximum file descriptors if we can. 92 | if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then 93 | MAX_FD_LIMIT=`ulimit -H -n` 94 | if [ $? -eq 0 ] ; then 95 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 96 | MAX_FD="$MAX_FD_LIMIT" 97 | fi 98 | ulimit -n $MAX_FD 99 | if [ $? -ne 0 ] ; then 100 | warn "Could not set maximum file descriptor limit: $MAX_FD" 101 | fi 102 | else 103 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 104 | fi 105 | fi 106 | 107 | # For Darwin, add options to specify how the application appears in the dock 108 | if $darwin; then 109 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 110 | fi 111 | 112 | # For Cygwin, switch paths to Windows format before running java 113 | if $cygwin ; then 114 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 115 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 116 | JAVACMD=`cygpath --unix "$JAVACMD"` 117 | 118 | # We build the pattern for arguments to be converted via cygpath 119 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` 120 | SEP="" 121 | for dir in $ROOTDIRSRAW ; do 122 | ROOTDIRS="$ROOTDIRS$SEP$dir" 123 | SEP="|" 124 | done 125 | OURCYGPATTERN="(^($ROOTDIRS))" 126 | # Add a user-defined pattern to the cygpath arguments 127 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then 128 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" 129 | fi 130 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 131 | i=0 132 | for arg in "$@" ; do 133 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` 134 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option 135 | 136 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition 137 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` 138 | else 139 | eval `echo args$i`="\"$arg\"" 140 | fi 141 | i=$((i+1)) 142 | done 143 | case $i in 144 | (0) set -- ;; 145 | (1) set -- "$args0" ;; 146 | (2) set -- "$args0" "$args1" ;; 147 | (3) set -- "$args0" "$args1" "$args2" ;; 148 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;; 149 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; 150 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; 151 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; 152 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; 153 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; 154 | esac 155 | fi 156 | 157 | # Escape application args 158 | save () { 159 | for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done 160 | echo " " 161 | } 162 | APP_ARGS=$(save "$@") 163 | 164 | # Collect all arguments for the java command, following the shell quoting and substitution rules 165 | eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" 166 | 167 | # by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong 168 | if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then 169 | cd "$(dirname "$0")" 170 | fi 171 | 172 | exec "$JAVACMD" "$@" 173 | -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- 1 | @if "%DEBUG%" == "" @echo off 2 | @rem ########################################################################## 3 | @rem 4 | @rem Gradle startup script for Windows 5 | @rem 6 | @rem ########################################################################## 7 | 8 | @rem Set local scope for the variables with windows NT shell 9 | if "%OS%"=="Windows_NT" setlocal 10 | 11 | set DIRNAME=%~dp0 12 | if "%DIRNAME%" == "" set DIRNAME=. 13 | set APP_BASE_NAME=%~n0 14 | set APP_HOME=%DIRNAME% 15 | 16 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 17 | set DEFAULT_JVM_OPTS= 18 | 19 | @rem Find java.exe 20 | if defined JAVA_HOME goto findJavaFromJavaHome 21 | 22 | set JAVA_EXE=java.exe 23 | %JAVA_EXE% -version >NUL 2>&1 24 | if "%ERRORLEVEL%" == "0" goto init 25 | 26 | echo. 27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 28 | echo. 29 | echo Please set the JAVA_HOME variable in your environment to match the 30 | echo location of your Java installation. 31 | 32 | goto fail 33 | 34 | :findJavaFromJavaHome 35 | set JAVA_HOME=%JAVA_HOME:"=% 36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 37 | 38 | if exist "%JAVA_EXE%" goto init 39 | 40 | echo. 41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 42 | echo. 43 | echo Please set the JAVA_HOME variable in your environment to match the 44 | echo location of your Java installation. 45 | 46 | goto fail 47 | 48 | :init 49 | @rem Get command-line arguments, handling Windows variants 50 | 51 | if not "%OS%" == "Windows_NT" goto win9xME_args 52 | 53 | :win9xME_args 54 | @rem Slurp the command line arguments. 55 | set CMD_LINE_ARGS= 56 | set _SKIP=2 57 | 58 | :win9xME_args_slurp 59 | if "x%~1" == "x" goto execute 60 | 61 | set CMD_LINE_ARGS=%* 62 | 63 | :execute 64 | @rem Setup the command line 65 | 66 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 67 | 68 | @rem Execute Gradle 69 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 70 | 71 | :end 72 | @rem End local scope for the variables with windows NT shell 73 | if "%ERRORLEVEL%"=="0" goto mainEnd 74 | 75 | :fail 76 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 77 | rem the _cmd.exe /c_ return code! 78 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 79 | exit /b 1 80 | 81 | :mainEnd 82 | if "%OS%"=="Windows_NT" endlocal 83 | 84 | :omega 85 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | --------------------------------------------------------------------------------