{"id":4645,"url":"https://github.com/Intellicode/react-native-bridgeable-webview","last_synced_at":"2025-08-04T01:32:51.013Z","repository":{"id":33903523,"uuid":"37618945","full_name":"Intellicode/react-native-bridgeable-webview","owner":"Intellicode","description":"Provides the ability to perform React Native calls from the WebView","archived":false,"fork":false,"pushed_at":"2017-05-15T19:48:49.000Z","size":20,"stargazers_count":18,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-01T14:34:12.366Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Intellicode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-17T20:25:33.000Z","updated_at":"2023-12-25T22:37:36.000Z","dependencies_parsed_at":"2022-08-03T15:18:48.098Z","dependency_job_id":null,"html_url":"https://github.com/Intellicode/react-native-bridgeable-webview","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Intellicode/react-native-bridgeable-webview","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Intellicode%2Freact-native-bridgeable-webview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Intellicode%2Freact-native-bridgeable-webview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Intellicode%2Freact-native-bridgeable-webview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Intellicode%2Freact-native-bridgeable-webview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Intellicode","download_url":"https://codeload.github.com/Intellicode/react-native-bridgeable-webview/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Intellicode%2Freact-native-bridgeable-webview/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268636482,"owners_count":24282096,"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-08-03T02:00:12.545Z","response_time":2577,"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":[],"created_at":"2024-01-05T20:17:18.897Z","updated_at":"2025-08-04T01:32:50.725Z","avatar_url":"https://github.com/Intellicode.png","language":"Objective-C","readme":"## react-native-bridgeable-webview\n\nA `\u003cWebView\u003e` component replacement for react-native\n\nRequires react-native == 0.6\n\n### Add it to your project\n\n1. Run `npm install react-native-bridgeable-webview --save`\n2. Open your project in XCode, right click on `Libraries` and click `Add Files to \"Your Project Name\"`\n   * ![Screenshot](http://url.brentvatne.ca/jQp8.png) ![Screenshot](http://url.brentvatne.ca/1gqUD.png) (use the RNBridgeableWebview project rather than the one pictured in screenshot).\n3. Add `libRNBridgeableWebview.a` to `Build Phases -\u003e Link Binary With Libraries`\n   ![(Screenshot)](http://url.brentvatne.ca/g9Wp.png).\n5. Whenever you want to use it within React code now you can: `var WebView = require('react-native-bridgeable-webview');`\n\n\n## Usage\n```\nvar WebView = require('react-native-bridgeable-webview');\n```\n\nIt is the exact same component as `WebView` except it offers a custom url scheme that acts as message bridge and a method `onWebViewMessageSent` to respond to calls made from the webview.\n\nIn your react-native code you can include the following snippet as a `WebView` replacement:\n\n```jsx\n  \u003cWebView\n    ref={WEBVIEW_REF}\n    automaticallyAdjustContentInsets={false}\n    style={styles.webView}\n    url={this.state.url}\n    javaScriptEnabledAndroid={true}\n    onNavigationStateChange={this.onNavigationStateChange}\n    onWebViewMessageSent={this.onWebViewMessageSent}\n    startInLoadingState={true}\n  /\u003e\n```\n","funding_links":[],"categories":["Components"],"sub_categories":["Web"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FIntellicode%2Freact-native-bridgeable-webview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FIntellicode%2Freact-native-bridgeable-webview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FIntellicode%2Freact-native-bridgeable-webview/lists"}