All Projects → scazzy → React Native Webview Autoheight

scazzy / React Native Webview Autoheight

WebView which sets it's height automatically with minimal efforts

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to React Native Webview Autoheight

Forpda
Alternative client for 4pda.ru
Stars: ✭ 43 (-59.43%)
Mutual labels:  webview
React Native Web Webview
React Native for Web implementation of RN's WebView
Stars: ✭ 79 (-25.47%)
Mutual labels:  webview
Iamport React Native
React Native용 아임포트 일반.결제 및 휴대폰 본인인증 모듈입니다.
Stars: ✭ 88 (-16.98%)
Mutual labels:  webview
Customtabs Kotlin
Helpers of the Chrome Custom tabs re-written in Kotlin and with Architecture Components to offer a simpler API
Stars: ✭ 48 (-54.72%)
Mutual labels:  webview
Parser Javascript
Browser sniffing gone too far — A useragent parser library for JavaScript
Stars: ✭ 66 (-37.74%)
Mutual labels:  webview
Flutter inappwebview
A Flutter plugin that allows you to add an inline webview, to use a headless webview, and to open an in-app browser window.
Stars: ✭ 1,259 (+1087.74%)
Mutual labels:  webview
Andorid Litehybrid Webview
A android hybrid framework, works for H5 and native interactions via webview.
Stars: ✭ 39 (-63.21%)
Mutual labels:  webview
Unity Webview
主に gree/unity-webview のリファクタリング。本家を元に改良してく!
Stars: ✭ 102 (-3.77%)
Mutual labels:  webview
Journey
JCEF-powered cross-platform web browser
Stars: ✭ 68 (-35.85%)
Mutual labels:  webview
Android Ssl Pinning Webviews
A simple demo app that demonstrates Certificate pinning and scheme/domain whitelisting in Android WebViews
Stars: ✭ 86 (-18.87%)
Mutual labels:  webview
Agentweb
AgentWeb is a powerful library based on Android WebView.
Stars: ✭ 8,375 (+7800.94%)
Mutual labels:  webview
Ultimaterefreshview
UltimateRefreshView 实现下拉刷新,上拉加载更多的轻量级库;支持RecyclerView ,ListView ,ScrollView & WebView
Stars: ✭ 64 (-39.62%)
Mutual labels:  webview
Flutter browser app
A Full-Featured Mobile Browser App (such as the Google Chrome mobile browser) created using Flutter and the features offered by the flutter_inappwebview plugin.
Stars: ✭ 85 (-19.81%)
Mutual labels:  webview
Android File Chooser
Handle Android file chooser click actions on all Android versions
Stars: ✭ 46 (-56.6%)
Mutual labels:  webview
React Native Webview Crosswalk
Crosswalk's WebView for React Native on Android.
Stars: ✭ 92 (-13.21%)
Mutual labels:  webview
Youtubetv
📺 YouTube embedded player library for Android TV
Stars: ✭ 44 (-58.49%)
Mutual labels:  webview
Coolindicator
A dazzling indicator
Stars: ✭ 85 (-19.81%)
Mutual labels:  webview
Codeview
Codeview is an Android library that lets you preview code in webview very easy and simple with highlights and colors.
Stars: ✭ 103 (-2.83%)
Mutual labels:  webview
3dsview
Android UI component to process banking 3D Secure (MasterCard SecureCode / Verified By Visa) payment authorizations in Android apps.
Stars: ✭ 96 (-9.43%)
Mutual labels:  webview
Easy web view
Flutter Web Views on Mobile and Web made easy!
Stars: ✭ 85 (-19.81%)
Mutual labels:  webview

React Native WebView Autoheight

React Native WebView which sets it's height automatically with minimal efforts.

You can also add custom CSS style or javascript to your webview using below example.

Downloads

Installation

npm install --save react-native-webview-autoheight

Usage

import MyWebView from 'react-native-webview-autoheight';
const customStyle = "<style>* {max-width: 100%;} body {font-family: sans-serif;} h1 {color: red;}</style>";
const htmlContent = "<h1>This is title</h1><p>Throw your entire HTML here</p>";

<MyWebView
    source={{html: customStyle + htmlContent}}
    startInLoadingState={true}
/>
<MyWebView
    source={{uri: 'http://example.com/helloworld.html'}}
    startInLoadingState={true}
/>

Props

How it works

It is a very simple wrapper around the built-in React Native Webview, which updates the height of the webview based on a state change using onNavigationStateChange.

Feel free to add issues or feature requests

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].