{"id":27453222,"url":"https://github.com/mikespub/android-webview","last_synced_at":"2025-10-07T00:59:53.492Z","repository":{"id":38333077,"uuid":"237610297","full_name":"mikespub/android-webview","owner":"mikespub","description":"Experiment with Android WebView","archived":false,"fork":false,"pushed_at":"2024-12-02T20:31:45.000Z","size":73121,"stargazers_count":18,"open_issues_count":5,"forks_count":20,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-15T12:46:46.095Z","etag":null,"topics":["android-webview"],"latest_commit_sha":null,"homepage":"https://github.mikespub.net/android-webview/deeplinks.html","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/mikespub.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,"zenodo":null}},"created_at":"2020-02-01T12:16:54.000Z","updated_at":"2025-04-06T15:07:36.000Z","dependencies_parsed_at":"2023-12-26T16:31:56.441Z","dependency_job_id":"d58bb33c-bda3-45ef-863c-5a27f07721a8","html_url":"https://github.com/mikespub/android-webview","commit_stats":null,"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/mikespub/android-webview","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikespub%2Fandroid-webview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikespub%2Fandroid-webview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikespub%2Fandroid-webview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikespub%2Fandroid-webview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikespub","download_url":"https://codeload.github.com/mikespub/android-webview/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikespub%2Fandroid-webview/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278703572,"owners_count":26031205,"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-06T02:00:05.630Z","response_time":65,"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-webview"],"created_at":"2025-04-15T12:35:59.517Z","updated_at":"2025-10-07T00:59:53.472Z","avatar_url":"https://github.com/mikespub.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Android WebView\n\nExperiment with Android WebView based on various tutorials:\n\n- https://developer.chrome.com/multidevice/webview/gettingstarted\n- http://tutorials.jenkov.com/android/android-web-apps-using-android-webview.html\n- https://ukacademe.com/MobileApplication/AndroidGUI/Android_WebView\n- https://developer.android.com/guide/webapps\n- ...\n\n## Development\n\nUse Android Studio to import this Git repository\n\nAdapt [assets/web/](app/src/main/assets/web/) and [res/values/strings.xml](app/src/main/res/values/strings.xml) for predefined websites, allowed hosts...\n\n## Testing\n\nCheck the [latest release](https://github.com/mikespub/android-webview/releases) for [app-release.apk](app/release/app-release.apk)\n\nNote: steps 10-12 are updated for release v1.16\n\n\u003cimg src=\"https://github.com/mikespub/android-webview/raw/master/app/screenshots/index.png\" width=\"200\"\u003e\n\n1. Press on HTML5 Test Site link or select in dropdown list\n\n\u003cimg src=\"https://github.com/mikespub/android-webview/raw/master/app/screenshots/html5test.png\" width=\"200\"\u003e\n\nVerify that the app goes to the site via its own WebView and not by opening the standard browser\n\n2. Press Back on your phone or tablet to return to the first page\n\n3. Type in another URL like https://www.google.com/ in the Other: box and press the Go button\n\nVerify that the app does NOT go to that site and tells you the link does not match.\nThis default behavior can be changed in Advanced Options to open the regular browser instead\n\n4. Click on the Update Settings link to allow another site\n\n\u003cimg src=\"https://github.com/mikespub/android-webview/raw/master/app/screenshots/update.png\" width=\"200\"\u003e\n\nVerify that you get to the Update Settings page with all the input fields\n\n5. Add https://www.google.com/ in the Other: field, and add the following in the empty Match fields:\n\nhost  equals  www.google.com\n\n6. Press the Update Settings button to submit the changes\n\n\u003cimg src=\"https://github.com/mikespub/android-webview/raw/master/app/screenshots/settings.png\" width=\"200\"\u003e\n\nVerify that your changes are shown in the result page (json format)\n\n7. Press the My WebView link or Back until you get to the first page\n\nVerify that your new website is in the Other: field, and the host match is there\n\n8. Press the Go button to go to the site you specified above\n\n\u003cimg src=\"https://github.com/mikespub/android-webview/raw/master/app/screenshots/diskstation.png\" width=\"200\"\u003e\n\nVerify that now the app goes to that site without telling the link does not match or trying to open the standard browser\n\n9. Close the app and open it again\n\nVerify that your new settings are still there\n\n10. Click on the Local Websites link and specify a .zip file in Download Bundle from trusted site (v1.16+)\n\nFor testing, you could download a bootstrap template from https://bootstrapmade.com/ and put it on your site,\ne.g. https://owncloud.mikespub.net/Moderna.zip\n\n\u003cimg src=\"https://github.com/mikespub/android-webview/raw/master/app/screenshots/site_bundle.png\" width=\"200\"\u003e\n\n11. Press the Download Bundle button to download the site bundle and extract it (v1.16+)\n\nVerify that your changes are shown in the result page (json format)\n\n12. Press the Local Websites link or Back until you get to the Local Websites page (v1.16+)\n\nVerify that your local website is in the Site List now, and click the link to test it.\n\n\u003cimg src=\"https://github.com/mikespub/android-webview/raw/master/app/screenshots/local_site.png\" width=\"200\"\u003e\n\n## Testing without Manage Local Websites\n\nIf you don't use Local Websites much and you unchecked the option to manage Local Websites separately, you can also:\n\n10. Click on the Update Settings link and specify a .zip file in Update Assets from trusted site (v1.15+)\n\nIf the .zip file contains a homepage at Moderna/index.html, also change the Other: field to\nhttps://appassets.androidplatform.net/sites/Moderna/index.html (or http://localhost/sites/Moderna/index.html)\nto go to the local site in your app after the update.\n\n\u003cimg src=\"https://github.com/mikespub/android-webview/raw/master/app/screenshots/update_assets.png\" width=\"200\"\u003e\n\n11. Press the Update Settings button to submit the changes (v1.15+)\n\nVerify that your changes are shown in the result page (json format)\n\n12. Press the My WebView link or Back until you get to the first page (v1.15+)\n\nVerify that your local website is in the Other: field, and press Go to test it.\n\n## Try out Deep Links\n\nSee [Deep Links](https://github.mikespub.net/android-webview/deeplinks.html)\n\n## Privacy Policy\n\nSee [Privacy Policy](https://github.mikespub.net/android-webview/privacy.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikespub%2Fandroid-webview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikespub%2Fandroid-webview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikespub%2Fandroid-webview/lists"}