{"id":17867148,"url":"https://github.com/caarmen/processtextbug","last_synced_at":"2025-10-12T09:35:38.798Z","repository":{"id":239495020,"uuid":"799679496","full_name":"caarmen/ProcessTextBug","owner":"caarmen","description":"Reproduction project for a bug with the Android PROCESS_TEXT intent action.","archived":false,"fork":false,"pushed_at":"2024-05-12T21:29:44.000Z","size":1085,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T22:13:32.063Z","etag":null,"topics":["android-intent","bug-reproduction"],"latest_commit_sha":null,"homepage":"https://issuetracker.google.com/issues/340098899","language":"Kotlin","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/caarmen.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-12T21:00:55.000Z","updated_at":"2024-05-12T21:45:01.000Z","dependencies_parsed_at":"2024-05-12T22:22:24.829Z","dependency_job_id":"83e7d720-111e-4ab0-9d6c-f5ca2fd403dd","html_url":"https://github.com/caarmen/ProcessTextBug","commit_stats":null,"previous_names":["caarmen/processtextbug"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/caarmen/ProcessTextBug","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caarmen%2FProcessTextBug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caarmen%2FProcessTextBug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caarmen%2FProcessTextBug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caarmen%2FProcessTextBug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caarmen","download_url":"https://codeload.github.com/caarmen/ProcessTextBug/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caarmen%2FProcessTextBug/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279010939,"owners_count":26084837,"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","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["android-intent","bug-reproduction"],"created_at":"2024-10-28T09:44:32.541Z","updated_at":"2025-10-12T09:35:38.782Z","avatar_url":"https://github.com/caarmen.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ProcessText bug reproduction demo\n\n## App functionality\nThis app displays the text \"Hello `processText`\", where `processText` is the `EXTRA_PROCESS_TEST` extra passed to the activity's `Intent`. \n\nWhen launching the app from the launcher, this intent extra isn't present, and the app displays \"Hello No processed text\".\n\nWhen launching the app from a `PROCESS_TEXT` intent action (for example, from the text selection menu in Chrome), the app displays \"Hello `selected text`\".\n\n\n## Bug\n\nThe app isn't displayed in the text selection menu in some Google apps, like:\n* Keep notes\n* Gmail\n\n### Expected behavior:\n\n#### Keep\n\n\u003cimg height=\"320\" src=\"screenshots/keep-expected.png\"\u003e\n\n#### Gmail\n\u003cimg height=\"320\" src=\"screenshots/gmail-expected.png\"\u003e\n\n#### Chrome\n\u003cimg height=\"320\" src=\"screenshots/chrome.png\"\u003e\n\n### Actual behavior:\n\n#### Keep\n\u003cimg height=\"320\" src=\"screenshots/keep-actual.png\"\u003e\n\n#### Gmail\n\u003cimg height=\"320\" src=\"screenshots/gmail-actual.png\"\u003e\n\n### Chrome\nWorks as expected.\n\n## Workaround\n\nAdd the following intent filter to **any activity** in the application, and the activity with the `PROCESS_TEXT` intent filter will appear in the text selection in these apps:\n\n```xml\n\u003cintent-filter\u003e\n    \u003caction android:name=\"android.intent.action.VIEW\" /\u003e\n    \u003ccategory android:name=\"android.intent.category.BROWSABLE\" /\u003e\n    \u003cdata android:scheme=\"https\" /\u003e\n\u003c/intent-filter\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaarmen%2Fprocesstextbug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaarmen%2Fprocesstextbug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaarmen%2Fprocesstextbug/lists"}