{"id":19311787,"url":"https://github.com/salyangoz/updateme-android","last_synced_at":"2025-04-22T14:30:49.916Z","repository":{"id":57736146,"uuid":"98783912","full_name":"salyangoz/updateme-android","owner":"salyangoz","description":"A powerful force update library for Android","archived":false,"fork":false,"pushed_at":"2020-06-29T07:19:49.000Z","size":488,"stargazers_count":62,"open_issues_count":3,"forks_count":16,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-02T00:36:26.583Z","etag":null,"topics":["android-library","firebase","remote-config"],"latest_commit_sha":null,"homepage":"https://www.salyangoz.co","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/salyangoz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-30T08:07:12.000Z","updated_at":"2024-08-19T18:48:41.000Z","dependencies_parsed_at":"2022-08-23T22:40:33.173Z","dependency_job_id":null,"html_url":"https://github.com/salyangoz/updateme-android","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salyangoz%2Fupdateme-android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salyangoz%2Fupdateme-android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salyangoz%2Fupdateme-android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salyangoz%2Fupdateme-android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/salyangoz","download_url":"https://codeload.github.com/salyangoz/updateme-android/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250258809,"owners_count":21400975,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android-library","firebase","remote-config"],"created_at":"2024-11-10T00:30:17.358Z","updated_at":"2025-04-22T14:30:48.028Z","avatar_url":"https://github.com/salyangoz.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"UpdateMe\n=======\n\nA powerful force update library for Android\n\n\n![alt text](http://www.salyangoz.com.tr/updateme/sample-android.png)\n\n\n\nFor more information please see [the website][1]\n\nDownload\n--------\n\nDownload [the latest JAR][2] or grab via Gradle. (Project's gradle file):\nThis project uses Firebase remote config feature. Because of this reason you need to add google services into your project.\n```groovy\ndependencies {\n  compile 'io.salyangoz.updateme:updateme:0.1.0'\n}\napply plugin: 'com.google.gms.google-services'\n```\nor Maven:\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003eio.salyangoz.updateme\u003c/groupId\u003e\n  \u003cartifactId\u003eupdateme\u003c/artifactId\u003e\n  \u003cversion\u003e0.1.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nSnapshots of the development version are available in [Sonatype's `snapshots` repository][snap].\n\nDependencies (Google Services)\n--------\n\nGrab via Gradle: (Add it to project's main gradle file)\n\n```groovy\ndependencies {\n  classpath 'com.google.gms:google-services:3.1.0'\n}\n```\n\nIntroduction\n--------\n\n1. Create Firebase project http://firebase.google.com \n2. Firebase will give you google-services.json file. Paste this file into your projects root directory.\n3. In the left menu choose remote config and add these parameters.\n4. Add these parameters\n\n| Parameter Key  | Default Value |\n| ------------- | ------------- |\n| android_update_me_required  | Do you want to force update App (Ex: false|true)  |\n| android_update_me_current_version  | The version of your app(Ex: 1.0.0)  |\n| android_update_me_store_url  | The store url(Ex: http://play.google.com/store/apps/com.salyangoz.torrentfinder)  |\n| android_update_me_dialog_title  | Update dialog title(You can leave blank)  |\n| android_update_me_dialog_description  | Update dialog message(You can leave blank)  |\n\n5. Publish Changes (Top right corner)\n\nUsage\n--------\n\n###### Basic Usage\n\n```groovy\nUpdateMe.with(this).check();\n```\n\n###### Advanced Usage\nFeatures\n1. Set dialog visibility\n2. Add listeners to Positive and Negative button clicks. \n3. Set positive and negative button text and colors. \n4. Set custom icon \n\n```groovy\nUpdateMe.with(this, 30).setDialogVisibility(true)\n                .continueButtonVisibility(true)\n                .setPositiveButtonText(\"MF Go!\")\n                .setNegativeButtonText(\"Oh No...\")\n                .setDialogIcon(R.drawable.common_google_signin_btn_icon_dark)\n                .onNegativeButtonClick(new OnNegativeButtonClickListener() {\n\n                    @Override\n                    public void onClick(LovelyStandardDialog dialog) {\n\n                        Log.d(UpdateMe.TAG, \"Later Button Clicked\");\n                        dialog.dismiss();\n                    }\n                })\n                .onPositiveButtonClick(new OnPositiveButtonClickListener() {\n\n                    @Override\n                    public void onClick(LovelyStandardDialog dialog) {\n\n                        Log.d(UpdateMe.TAG, \"Update Button Clicked\");\n                        dialog.dismiss();\n                    }\n                })\n                .check();\n```\n\nSpecial Thanks\n--------\nCustom alert dialogs pulled from LovelyDialog for Android repository. https://github.com/yarolegovich/LovelyDialog\n\n\nLicense\n--------\n\n    Copyright 2017 Salyangoz Teknoloji, Inc.\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n\n\n [1]: http://salyangoz.github.io/updateme-android/\n [2]: https://search.maven.org/remote_content?g=com.salyangoz.updateme\u0026a=updateme\u0026v=LATEST\n [snap]: https://oss.sonatype.org/content/repositories/snapshots/\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalyangoz%2Fupdateme-android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsalyangoz%2Fupdateme-android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalyangoz%2Fupdateme-android/lists"}