{"id":20340224,"url":"https://github.com/webengage/android-push-template-sample","last_synced_at":"2026-03-07T11:32:45.837Z","repository":{"id":184378356,"uuid":"632871093","full_name":"WebEngage/android-push-template-sample","owner":"WebEngage","description":"Android Push Template Sample","archived":false,"fork":false,"pushed_at":"2023-04-26T09:55:58.000Z","size":291,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-04T14:49:12.919Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/WebEngage.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,"governance":null}},"created_at":"2023-04-26T09:53:00.000Z","updated_at":"2023-04-26T09:54:50.000Z","dependencies_parsed_at":"2023-07-28T07:42:23.467Z","dependency_job_id":null,"html_url":"https://github.com/WebEngage/android-push-template-sample","commit_stats":null,"previous_names":["webengage/android-push-template-sample"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/WebEngage/android-push-template-sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebEngage%2Fandroid-push-template-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebEngage%2Fandroid-push-template-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebEngage%2Fandroid-push-template-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebEngage%2Fandroid-push-template-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WebEngage","download_url":"https://codeload.github.com/WebEngage/android-push-template-sample/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebEngage%2Fandroid-push-template-sample/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30212124,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T09:02:10.694Z","status":"ssl_error","status_checked_at":"2026-03-07T09:02:08.429Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-11-14T21:20:18.894Z","updated_at":"2026-03-07T11:32:45.792Z","avatar_url":"https://github.com/WebEngage.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# PushTemplates\n\n## How to use: \n\n### 1. Download the module from the github and add the module as a dependency in your build.gradle file of you application.\n\n### 2. Follow the guide provided \u003ca href=\"https://docs.webengage.com/docs/android-customizing-push-notifications\"\u003ehere\u003c/a\u003e for customizing push notifications to create your own templates as required.\n\n### 3. Add below line to the application class of your application or edit your callbacks for including the callbacks provided in the module.\n\n```\nWebEngage.registerCustomPushRenderCallback(CustomCallback())\nWebEngage.registerCustomPushRerenderCallback(CustomCallback())\n```\n\n### 4. Go to your webengage dashboard and add below key value pairs to your push campaign based on your template type.\n###   - Progress Bar Template\n| Key | Value | Use | \n| --- | --- | --- |\n| `we_custom_render` | `true` | Tells the WebEngage SDK to use the custom renderer registered in the callbacks above.\n| `template_type` | `bar` | **(required)**  Progress Bar template. \n| `future_time` | *epoch time in millis* | **(required)**  The time till which the notification is to be shown\n| `timer_color` | *hex value* | The color for the countdown timer\n| `show_dismiss_cta` | `true` / `false` | Show the Dismiss button at end of the CTA list\n\n\n###   - CountDown Template\n| Key | Value | Use | \n| --- | --- | --- |\n| `we_custom_render` | `true` | Tells the WebEngage SDK to use the custom renderer registered in the callbacks above.\n| `template_type` | `timer` | **(required)** CountDown Timer template\n| `future_time` | *epoch time in millis* | **(required)**  The time till which the notification is to be shown\n| `timer_color` | *hex value* | The color for the countdown timer\n| `show_dismiss_cta` | `true` / `false` | Show the Dismiss button at end of the CTA list\n\n\n\n\u003ch4\u003e\nSample Key Value Pairs: \u003c/h4\u003e\n\u003cimg width=\"633\" alt=\"image\" src=\"https://user-images.githubusercontent.com/88337360/184459615-693e2666-112a-4e9d-bab0-dc3c2482227b.png\"\u003e\n\n\u003ch2\u003eProgress Bar\u003c/h2\u003e\n\u003cimg src = \"https://user-images.githubusercontent.com/88337360/191495313-df29a1e1-f8f8-49ef-a3f1-2cb59cb00ba9.gif\" width=\"500\"/\u003e\n\n\n\u003ch2\u003eCountDown Timer\u003c/h2\u003e\n\u003cimg src = \"https://user-images.githubusercontent.com/88337360/191495355-d64fcf75-12e9-47b4-9ba9-3bee47b6e6d9.gif\" width=\"500\"/\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebengage%2Fandroid-push-template-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebengage%2Fandroid-push-template-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebengage%2Fandroid-push-template-sample/lists"}