├── app ├── .gitignore ├── src │ └── main │ │ ├── assets │ │ ├── annie.jpg │ │ ├── wallpapers │ │ │ └── neom.jpg │ │ └── wallpapers.json │ │ ├── res │ │ ├── values │ │ │ ├── strings.xml │ │ │ ├── integers.xml │ │ │ ├── floats.xml │ │ │ ├── dimens.xml │ │ │ ├── about_setup.xml │ │ │ ├── shape_styles.xml │ │ │ ├── m3_shape_styles.xml │ │ │ ├── m3_styles.xml │ │ │ ├── frames_setup.xml │ │ │ ├── styles.xml │ │ │ ├── dashboard_setup.xml │ │ │ └── colors.xml │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-anydpi-v26 │ │ │ ├── ic_launcher.xml │ │ │ └── ic_launcher_round.xml │ │ ├── xml │ │ │ ├── changelog.xml │ │ │ └── network_security_config.xml │ │ ├── drawable │ │ │ ├── ic_notification.xml │ │ │ └── ic_launcher_background.xml │ │ ├── drawable-v24 │ │ │ └── ic_launcher_foreground.xml │ │ └── values-v31 │ │ │ └── m3_colors.xml │ │ ├── kotlin │ │ └── dev │ │ │ └── jahir │ │ │ └── frames │ │ │ └── app │ │ │ ├── MuzeiService.kt │ │ │ ├── MyApplication.kt │ │ │ ├── NotificationServiceExtension.kt │ │ │ └── MainActivity.kt │ │ └── AndroidManifest.xml ├── proguard-rules.pro ├── proguard-android-optimize.txt └── build.gradle ├── .github ├── triage.yml ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── config.yml │ ├── 2_feature_request.yaml │ └── 1_bug_report.yaml ├── lock.yml ├── ci-reporter.yml ├── PULL_REQUEST_TEMPLATE.md ├── no-response.yml ├── support.yml ├── stale.yml ├── CONTRIBUTING.md ├── config.yml ├── workflows │ └── build.yml └── CODE_OF_CONDUCT.md ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── settings.gradle.kts ├── .idea └── codeStyles │ ├── codeStyleConfig.xml │ └── Project.xml ├── gradle.properties ├── .gitignore ├── gradlew.bat ├── gradlew ├── README.md └── LICENSE.md /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /.github/triage.yml: -------------------------------------------------------------------------------- 1 | # Label to use 2 | label: 'Status: Pending' 3 | # If enabled 4 | enabled: true 5 | -------------------------------------------------------------------------------- /app/src/main/assets/annie.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jahirfiquitiva/Frames/HEAD/app/src/main/assets/annie.jpg -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Frames 3 | 4 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jahirfiquitiva/Frames/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /settings.gradle.kts: -------------------------------------------------------------------------------- 1 | gradle.startParameter.excludedTaskNames.addAll(listOf(":buildSrc:testClasses")) 2 | 3 | include(":app") 4 | -------------------------------------------------------------------------------- /app/src/main/assets/wallpapers/neom.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jahirfiquitiva/Frames/HEAD/app/src/main/assets/wallpapers/neom.jpg -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jahirfiquitiva/Frames/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jahirfiquitiva/Frames/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jahirfiquitiva/Frames/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jahirfiquitiva/Frames/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jahirfiquitiva/Frames/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jahirfiquitiva/Frames/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jahirfiquitiva/Frames/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jahirfiquitiva/Frames/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jahirfiquitiva/Frames/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jahirfiquitiva/Frames/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: jahirfiquitiva 2 | custom: ["https://buymeacoff.ee/jahirfiquitiva", "https://www.paypal.me/jahirfiquitiva", "https://jahir.dev/donate"] 3 | -------------------------------------------------------------------------------- /app/src/main/kotlin/dev/jahir/frames/app/MuzeiService.kt: -------------------------------------------------------------------------------- 1 | package dev.jahir.frames.app 2 | 3 | import dev.jahir.frames.muzei.FramesArtProvider 4 | 5 | class MuzeiService : FramesArtProvider() -------------------------------------------------------------------------------- /.idea/codeStyles/codeStyleConfig.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values/integers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 2 4 | 1 5 | -------------------------------------------------------------------------------- /app/src/main/res/values/floats.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 1.35 4 | 1.7 5 | -------------------------------------------------------------------------------- /.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 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Tue Jul 19 11:05:13 CEST 2022 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/xml/changelog.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /.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. -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8dp 4 | 2dp 5 | 4dp 6 | 6dp 7 | 8dp 8 | 12dp 9 | 10 | -------------------------------------------------------------------------------- /.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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /app/src/main/assets/wallpapers.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "name": "Annie from Assets", 4 | "author": "unsplash", 5 | "url": "file:///android_asset/annie.jpg", 6 | "dimensions": "3200x2560", 7 | "copyright": "Free (do whatever you want)", 8 | "collections": "assets" 9 | }, 10 | { 11 | "name": "Neom from Assets", 12 | "author": "unsplash", 13 | "url": "file:///android_asset/wallpapers/neom.jpg", 14 | "dimensions": "3200x2560", 15 | "copyright": "Free (do whatever you want)", 16 | "collections": "assets" 17 | } 18 | ] 19 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | 4 | 5 | ### Description 6 | 10 | 11 | ### Motivation 12 | -------------------------------------------------------------------------------- /.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/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/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 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_notification.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 17 | -------------------------------------------------------------------------------- /.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/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 | -------------------------------------------------------------------------------- /app/src/main/kotlin/dev/jahir/frames/app/MyApplication.kt: -------------------------------------------------------------------------------- 1 | package dev.jahir.frames.app 2 | 3 | // TODO: Remove comment marks to enable 4 | // import com.onesignal.OSNotificationReceivedEvent 5 | // import com.onesignal.OneSignal 6 | // import dev.jahir.frames.extensions.context.preferences 7 | import dev.jahir.frames.ui.FramesApplication 8 | 9 | class MyApplication : FramesApplication(BuildConfig.ONESIGNAL_APP_ID) { 10 | override fun onCreate() { 11 | super.onCreate() 12 | // TODO: Remove comment marks to enable 13 | /* 14 | OneSignal.initWithContext(this); 15 | OneSignal.setAppId(BuildConfig.ONESIGNAL_APP_ID); 16 | 17 | OneSignal.setNotificationWillShowInForegroundHandler { notificationReceivedEvent: OSNotificationReceivedEvent -> 18 | notificationReceivedEvent.complete( 19 | if (preferences.notificationsEnabled) 20 | notificationReceivedEvent.notification 21 | else null 22 | ) 23 | } 24 | 25 | OneSignal.unsubscribeWhenNotificationsAreDisabled(true) 26 | OneSignal.pauseInAppMessages(true) 27 | OneSignal.setLocationShared(false) 28 | */ 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /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 -------------------------------------------------------------------------------- /app/src/main/res/values/about_setup.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | https://lh3.googleusercontent.com/-0mdcClKXlgM/AAAAAAAAAAI/AAAAAAAAAAA/xgdLWeAg7pM/s120-c/photo.jpg 5 | https://ssl.gstatic.com/images/branding/product/2x/avatar_square_grey_512dp.png 6 | 7 | 8 | 9 | Your Name 10 | Another Name 11 | 12 | 13 | 14 | Details of first credited person 15 | Details of another credited person 16 | 17 | 18 | 19 | Google+|Instagram 20 | Facebook|Website|Twitter 21 | 22 | 23 | 24 | https://www.google.com/+JahirFiquitivaR|http://instagram.com/jahirfiquitiva 25 | https://facebook.com/|https://jahir.dev/|https://twitter.com/jahirfiquitiva 26 | 27 | -------------------------------------------------------------------------------- /.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-latest 17 | steps: 18 | - name: Check out code 19 | uses: actions/checkout@v4 20 | 21 | - name: Set up JDK 17 22 | uses: actions/setup-java@v4 23 | with: 24 | distribution: adopt 25 | java-version: 17 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@v4 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 | 43 | - name: Make gradlew executable 44 | run: chmod +x gradlew; chmod +x gradle/wrapper/gradle-wrapper.jar 45 | 46 | - name: Build 47 | run: ./gradlew clean test --full-stacktrace 48 | -------------------------------------------------------------------------------- /app/src/main/res/values/shape_styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 14 | 15 | 19 | 20 | 24 | 25 | 29 | 30 | -------------------------------------------------------------------------------- /app/src/main/kotlin/dev/jahir/frames/app/NotificationServiceExtension.kt: -------------------------------------------------------------------------------- 1 | package dev.jahir.frames.app 2 | 3 | /* TODO: Remove comment marks to enable 4 | import android.content.Context 5 | import com.onesignal.OSNotificationReceivedEvent 6 | import com.onesignal.OneSignal.OSRemoteNotificationReceivedHandler 7 | import dev.jahir.frames.app.R 8 | import dev.jahir.frames.extensions.context.color 9 | import dev.jahir.frames.extensions.context.hasNotificationsPermission 10 | import dev.jahir.frames.extensions.context.preferences 11 | 12 | class NotificationServiceExtension : OSRemoteNotificationReceivedHandler { 13 | override fun remoteNotificationReceived( 14 | context: Context, 15 | notificationReceivedEvent: OSNotificationReceivedEvent 16 | ) { 17 | if (!context.preferences.notificationsEnabled || !context.hasNotificationsPermission) { 18 | notificationReceivedEvent.complete(null) 19 | return 20 | } 21 | 22 | val notification = notificationReceivedEvent.notification 23 | val mutableNotification = notification.mutableCopy() 24 | mutableNotification.setExtender { extender -> 25 | extender.apply { 26 | color = context.color(R.color.accent) 27 | setSmallIcon(R.drawable.ic_notification) 28 | } 29 | } 30 | notificationReceivedEvent.complete(mutableNotification) 31 | } 32 | } 33 | */ 34 | -------------------------------------------------------------------------------- /app/src/main/res/values/m3_shape_styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 14 | 15 | 19 | 20 | 24 | 25 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /app/src/main/res/values/m3_styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 10 | 11 | 12 | 17 | 18 | 19 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /app/src/main/res/values/frames_setup.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | https://jahir.dev/frames/frames.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 | -------------------------------------------------------------------------------- /.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: Frames Version 19 | description: What version of Frames are you currently using? 20 | placeholder: ex. 3.4.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 | -------------------------------------------------------------------------------- /app/src/main/kotlin/dev/jahir/frames/app/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package dev.jahir.frames.app 2 | 3 | import com.github.javiersantos.piracychecker.PiracyChecker 4 | import dev.jahir.frames.ui.activities.FramesActivity 5 | 6 | class MainActivity : FramesActivity() { 7 | 8 | /** 9 | * These things here have the default values. You can delete the ones you don't want to change 10 | * and/or modify the ones you want to. 11 | */ 12 | override val billingEnabled = true 13 | 14 | override fun amazonInstallsEnabled(): Boolean = false 15 | override fun checkLPF(): Boolean = true 16 | override fun checkStores(): Boolean = true 17 | 18 | /** 19 | * This is your app's license key. Get yours on Google Play Dev Console. 20 | * Default one isn't valid and could cause issues in your app. 21 | */ 22 | override fun getLicKey(): String? = "MIIBIjANBgkqhkiGgKglYGYGihLuihUuhhuBlouBkuiu" 23 | 24 | /** 25 | * This is the license checker code. Feel free to create your own implementation or 26 | * leave it as it is. 27 | * Anyways, keep the 'destroyChecker()' as the very first line of this code block 28 | * Return null to disable license check 29 | */ 30 | override fun getLicenseChecker(): PiracyChecker? { 31 | destroyChecker() // Important 32 | return if (BuildConfig.DEBUG) null else super.getLicenseChecker() 33 | } 34 | 35 | override fun defaultTheme(): Int = R.style.MyApp_Default 36 | override fun amoledTheme(): Int = R.style.MyApp_Default_Amoled 37 | 38 | override fun defaultMaterialYouTheme(): Int = R.style.MyApp_Default_MaterialYou 39 | override fun amoledMaterialYouTheme(): Int = R.style.MyApp_Default_Amoled_MaterialYou 40 | } 41 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- 1 | 7 | 12 | 13 | 19 | 22 | 25 | 26 | 27 | 28 | 34 | 35 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 21 | 22 | 23 | 28 | 29 | 30 | 35 | 36 | 37 | 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 | 62 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /.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 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | #ffffff 5 | #fafafa 6 | #de000000 7 | 8 | #3881fa 9 | #ffffff 10 | 11 | #ffffff 12 | #de000000 13 | #8a000000 14 | 15 | #fafafa 16 | #de000000 17 | 18 | #424242 19 | #ffffff 20 | #88b3fc 21 | 22 | 23 | #212121 24 | #000000 25 | #ffffff 26 | 27 | #ff3f80 28 | #ffffff 29 | 30 | #424242 31 | #ffffff 32 | #b3ffffff 33 | 34 | #303030 35 | #b3ffffff 36 | 37 | #ffffff 38 | #de000000 39 | #cc3266 40 | 41 | 42 | #000000 43 | #000000 44 | #ffffff 45 | 46 | #64ffda 47 | #de000000 48 | 49 | #212121 50 | #ffffff 51 | #101010 52 | 53 | @color/darkThemeOnSurfaceVariant 54 | @color/darkThemeOnBackground 55 | 56 | #ffffff 57 | #de000000 58 | #3c9983 59 | 60 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | 25 | -keep class androidx.core.app.CoreComponentFactory { *; } 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 | # Keep generic signature of Call, Response (R8 full mode strips signatures from non-kept items). 60 | -keep,allowobfuscation,allowshrinking interface retrofit2.Call 61 | -keep,allowobfuscation,allowshrinking class retrofit2.Response 62 | 63 | # With R8 full mode generic signatures are stripped for classes that are not 64 | # kept. Suspend functions are wrapped in continuations where the type argument 65 | # is used. 66 | -keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation 67 | 68 | -dontwarn 69 | -ignorewarnings 70 | -------------------------------------------------------------------------------- /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/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | apply plugin: 'org.jetbrains.kotlin.android' 3 | apply plugin: 'kotlin-parcelize' 4 | apply plugin: 'com.google.devtools.ksp' 5 | 6 | android { 7 | applicationVariants.configureEach { variant -> 8 | variant.outputs.configureEach { output -> 9 | outputFileName = defaultConfig.applicationId + "-v${variant.versionName}-${variant.name}.apk" 10 | } 11 | } 12 | 13 | lint { 14 | abortOnError false 15 | checkReleaseBuilds true 16 | disable 'MissingTranslation', 'GoogleAppIndexingWarning' 17 | } 18 | 19 | namespace MyApp.appId 20 | defaultConfig { 21 | buildConfigField("String", "ONESIGNAL_APP_ID", "\"$OneSignal.appId\"") 22 | manifestPlaceholders = [ 23 | onesignal_app_id : OneSignal.appId, 24 | onesignal_google_project_number: OneSignal.googleProjectNumber 25 | ] 26 | applicationId MyApp.appId 27 | minSdkVersion Versions.minSdk 28 | compileSdk Versions.targetSdk 29 | targetSdkVersion Versions.targetSdk 30 | versionCode MyApp.version 31 | versionName MyApp.versionName 32 | vectorDrawables.useSupportLibrary = true 33 | multiDexEnabled true 34 | proguardFiles 'proguard-android-optimize.txt', 'proguard-rules.pro' 35 | consumerProguardFiles 'proguard-android-optimize.txt', 'proguard-rules.pro' 36 | 37 | javaCompileOptions { 38 | annotationProcessorOptions { 39 | arguments = [ 40 | "room.schemaLocation" : "$projectDir/schemas".toString(), 41 | "room.incremental" : "true", 42 | "room.expandProjection": "true"] 43 | } 44 | } 45 | } 46 | 47 | buildTypes { 48 | buildTypes.each { 49 | it.buildConfigField("String", "ONESIGNAL_APP_ID", "\"$OneSignal.appId\"") 50 | } 51 | release { 52 | debuggable false 53 | zipAlignEnabled true 54 | minifyEnabled true 55 | shrinkResources false 56 | proguardFiles 'proguard-android-optimize.txt', 'proguard-rules.pro' 57 | consumerProguardFiles 'proguard-android-optimize.txt', 'proguard-rules.pro' 58 | } 59 | } 60 | 61 | sourceSets { 62 | main.java.srcDirs += 'src/main/kotlin' 63 | } 64 | 65 | packagingOptions { 66 | resources { 67 | pickFirsts += [ 68 | 'META-INF/core_debug.kotlin_module', 69 | 'META-INF/core_release.kotlin_module', 70 | 'META-INF/library_debug.kotlin_module', 71 | 'META-INF/library_release.kotlin_module' 72 | ] 73 | } 74 | } 75 | 76 | compileOptions { 77 | sourceCompatibility JavaVersion.VERSION_17 78 | targetCompatibility JavaVersion.VERSION_17 79 | } 80 | 81 | kotlinOptions { 82 | jvmTarget = '17' 83 | } 84 | 85 | buildFeatures { 86 | buildConfig = true 87 | } 88 | } 89 | 90 | dependencies { 91 | implementation(Libs.frames) { 92 | transitive = true 93 | } 94 | // TODO: Remove comment marks to enable 95 | // implementation Libs.oneSignal 96 | } 97 | -------------------------------------------------------------------------------- /.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: Frames Version 30 | description: What version of Frames are you currently using? 31 | placeholder: ex. 3.4.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/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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /.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 |
-------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 20 | 21 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 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 | 66 | 71 | 74 | 75 | 76 | 77 | 84 | 85 | 86 | 87 | 88 | 91 | 94 | 95 | 96 | 97 | 101 | 102 | 103 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | Frames 4 | ====== 5 | 6 | ![API](https://img.shields.io/badge/API-21%2B-34bf49.svg) 7 | [![GitHub Release](https://img.shields.io/github/v/release/jahirfiquitiva/Frames?label=Frames&sort=semver)](https://github.com/jahirfiquitiva/Frames/releases/latest) 8 | [![Build Status](https://github.com/jahirfiquitiva/Frames/actions/workflows/build.yml/badge.svg?branch=sample)](https://github.com/jahirfiquitiva/Frames/actions/workflows/build.yml) 9 | [![Crowdin](https://badges.crowdin.net/Frames/localized.svg)](https://crowdin.com/project/Frames/invite) 10 | [![GitHub Sponsor](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&color=ff69b4)](https://github.com/sponsors/jahirfiquitiva) 11 | 12 | Free, feature-rich, easily customizable Android dashboard for wallpapers apps 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | ## Show some :blue_heart: 23 | [![GitHub stars](https://img.shields.io/github/stars/jahirfiquitiva/Frames.svg?style=social&label=Star)](https://github.com/jahirfiquitiva/Frames) 24 | [![GitHub forks](https://img.shields.io/github/forks/jahirfiquitiva/Frames.svg?style=social&label=Fork)](https://github.com/jahirfiquitiva/Frames/fork) 25 | [![GitHub watchers](https://img.shields.io/github/watchers/jahirfiquitiva/Frames.svg?style=social&label=Watch)](https://github.com/jahirfiquitiva/Frames) 26 | 27 | [![Follow on GitHub](https://img.shields.io/github/followers/jahirfiquitiva.svg?style=social&label=Follow)](https://github.com/jahirfiquitiva) 28 | [![Follow on Twitter](https://img.shields.io/twitter/follow/jahirfiquitiva.svg?style=social)](https://twitter.com/jahirfiquitiva) 29 | 30 | --- 31 | 32 | # Previews 33 | 34 | ### Customizable styles 35 |

36 | 37 | 38 | 39 | 40 | 41 |

42 | 43 | ### Full-screen Viewer / Multiple themes 44 |

45 | 46 | 47 | 48 | 49 |

50 | 51 | ### Credits / Settings 52 |

53 | 54 | 55 |

56 | 57 | --- 58 | 59 | # Features: 60 | - Material Design dashboard. 61 | - License Checker. 62 | - Donations. 63 | - [OneSignal](https://onesignal.com/) notifications ready. 64 | - Cloud based (only) wallpapers. 65 | - App can work offline. 66 | - Categories section. 67 | - Favorites section. 68 | - Wallpapers can be applied and downloaded. 69 | - Wallpapers include a full-screen viewer with zooming capabilities and detailed info viewer. 70 | - Credits section. 71 | - Settings section with these options: 72 | - Option to change app theme (Light, Dark, System, AMOLED). 73 | - Option to color navigation bar (Lollipop+). 74 | - Option to clear app cache. 75 | - Tablet layouts. 76 | - Lots of customizations. 77 | - Works with Android 5.0 and newer. 78 | 79 | ## Help translating 80 | :page_facing_up: Help making Frames available in more languages. [Click here to go to the translation site](https://crowdin.com/project/Frames/invite) 81 | 82 | ## Changelog 83 | :radio_button: You can find it in the [Releases page](https://github.com/jahirfiquitiva/Frames/releases) 84 | 85 | --- 86 | 87 | # Including in your project 88 | Frames is available via Maven, so getting it as simple as adding it as a dependency, like this: 89 | 90 | 1. Add `MavenCentral` and `Jitpack` to your root `build.gradle` file 91 | ```gradle 92 | allprojects { 93 | repositories { 94 | mavenCentral() 95 | maven { url 'https://jitpack.io' } 96 | } 97 | } 98 | ``` 99 | 2. Add the dependency in your project `build.gradle` file 100 | ```gradle 101 | dependencies { 102 | implementation('dev.jahir:Frames:{latest version}@aar') { 103 | transitive = true 104 | } 105 | } 106 | ``` 107 | where `{latest version}` corresponds to published version in [![GitHub Release](https://img.shields.io/github/v/release/jahirfiquitiva/Frames?label=Frames&sort=semver)](https://github.com/jahirfiquitiva/Frames/releases/latest) 108 | 109 | ## How to implement 110 | :page_with_curl: Everything you need to know can be found in the **[Wiki Docs](https://github.com/jahirfiquitiva/Frames/wiki/)** 111 | 112 | ## Still need help :question: 113 | Just join our Discord Server and make a post. We'll help you as soon as possible. [![Join chat on Discord](https://badgen.net/badge/discord/join%20chat/7289DA?icon=discord)](https://discord.gg/78h7xgj) 114 | 115 | ### Check out [some cool apps](https://jahir.dev/blog/post-of-fame) built using this dashboard 116 | 117 | --- 118 | 119 | # Developed by 120 | 121 | ### [Jahir Fiquitiva](https://jahir.dev/) 122 | 123 | [![Follow on GitHub](https://img.shields.io/github/followers/jahirfiquitiva.svg?style=social&label=Follow)](https://github.com/jahirfiquitiva) 124 | [![Follow on Twitter](https://img.shields.io/twitter/follow/jahirfiquitiva.svg?style=social)](https://twitter.com/jahirfiquitiva) 125 | 126 | If you found this app/library helpful and want to thank me, you can: 127 | 128 | 129 | 130 | 131 | 132 | **Thanks in advance!** :pray: 133 | 134 | ## Special thanks 🙌 135 | 136 | - [Eduardo Pratti](https://pratti.design/) 🎨 137 | - [Sherry Sabatine](https://www.photography-by-sherry.com/) 💵 138 | - [Allan Wang](https://www.allanwang.ca/) 💻 139 | - [James Fenn](https://theandroidmaster.github.io/) 🔌 140 | - [Maximilian Keppeler](https://twitter.com/maxKeppeler) 🔌 141 | - [Sasi Kanth](https://twitter.com/its_sasikanth) 🔌 142 | - [Alexandre Piveteau](https://github.com/alexandrepiveteau) 💻 143 | - [Lukas Koller](https://github.com/kollerlukas) 🔌 144 | - [Patryk Goworowski](https://twitter.com/pgoworowski) 🎨 145 | - [Lumiq Creative](https://lumiqcreative.com/) 🎨 146 | - [Jackson Hayes](https://jacksonhayes.xyz/) 📖 147 | - [Kevin Aguilar](https://twitter.com/kevttob) 🎨 148 | - [Anthony Nguyen](https://twitter.com/link6155) 🎨 149 | 150 | --- 151 | 152 | # License 153 | 154 | This app is shared under the CreativeCommons Attribution-ShareAlike license. 155 | 156 | Copyright © 2020 Jahir Fiquitiva 157 | 158 | Licensed under the CreativeCommons Attribution-ShareAlike 159 | 4.0 International License. You may not use this file except in compliance 160 | with the License. You may obtain a copy of the License at 161 | 162 | http://creativecommons.org/licenses/by-sa/4.0/legalcode 163 | 164 | Unless required by applicable law or agreed to in writing, software 165 | distributed under the License is distributed on an "AS IS" BASIS, 166 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 167 | See the License for the specific language governing permissions and 168 | limitations under the License. 169 | 170 | ## Library source 171 | 172 | As you may know, the [library source](https://github.com/jahirfiquitiva/Frames/tree/master) is open-source. This means that you can fork it and do your own modifications, but it has some conditions: 173 | 174 | When using the [library source](https://github.com/jahirfiquitiva/Frames/tree/master), anything from it: errors, crashes, issues, etc. including successful builds, must be done completely by yourself and under your own risk and responsibility. I **will not** provide any help/support when using the [library source](https://github.com/jahirfiquitiva/Frames/tree/master). 175 | 176 | Finally, be sure your projects comply with the [license previously mentioned](https://github.com/jahirfiquitiva/Frames#license). Otherwise I will be taking the required legal actions. I hope you understand. 177 | -------------------------------------------------------------------------------- /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 | ``` --------------------------------------------------------------------------------