iou90
365b36eed5
fix clearInterval not works on react issue for index.android.js; fix package path issue for android
6 years ago
iou90
f0b1e7e269
clean up code style for the pr which fixed updating size issue on Android (https://github.com/iou90/react-native-autoheight-webview/pull/88 )
6 years ago
notjiam
3e1a732a37
Update index.android.js
I have an issue when I set props style.width
<AutoHeightWebView
style={{ width: 300 }}
...
/>
In some case, stage.height can update with null and WebView doesn't show.
I add some condition to check before an update stage.
Thank you!
6 years ago
iou90
bc425f7610
clean up code style for index.android.js
6 years ago
Jørgen Orehøj Erichsen
0f9f8b4706
Robustness fix for clients returning weird stuff in the message data
6 years ago
iou90
d172f58637
add baseUrl prop
6 years ago
iou90
62acbcedce
fix the iframe issue & clean up code style
6 years ago
iou90
b5d2ee6ab1
add getRenderSize to common; add onNavigationStateChange to index.ios/index.android
6 years ago
iou90
d58b03d7ae
rewirte index.android for dynamic auto height & better animation
6 years ago
iou90
8d0f99f8eb
WIP
6 years ago
iou90
f022a5e10a
WIP
6 years ago
iou90
819b4c7275
WIP
6 years ago
ShaMan123
1f59b599e1
Adding autoWidth Adjustment
Tested! Works!
6 years ago
iou90
1ee501e889
change android package name to com.iou90.autoheightwebview; update index.ios.js to improve capacity; update rn version of demo to 0.54.3; bump version to 0.6.0
6 years ago
iou90
78e5a9888f
clean up code style for index.android, index.ios
6 years ago
iou90
15d694077d
config eslint
6 years ago
iou90
bbaf0edca2
clean up code style for index.android, index.ios
6 years ago
Calvin Kei
1fedd1f471
Add: DOM change detection, android setup guide on README
6 years ago
Hleb Barylskyi
221df3d50e
Update index.android.js
7 years ago
iou90
60c23560e8
add rn WebView callbacks; update demo to rn 0.50.1; bump version to 0.4.0
7 years ago
Rich
855b1636dc
Switch appendFilesToHead to use template strings to make it clearer
7 years ago
Rich
f24db13426
Escape any custom CSS to avoid problems with quotes or newlines
7 years ago
Rich
01216cf154
Add prop for injecting custom styles into the webview head
7 years ago
iou90
8fc54f87fe
make scalesPageToFit to true by default on android; update demo to show supporting raw text
7 years ago
iou90
c775c298ed
use document.body.offsetHeight instead of document.body.firstChild.clientHeight on iOS to support uri & raw text autoheight; default scalesPageToFit to false to fix the issue of react native 0.47 (Fix scalesPageToFit default property for iOS WebView. (185948604c/) - @peterp );
7 years ago
iou90
fd8afb34db
update demo rn version to 0.45.1; use purecomponent instead of immutablecomponent; use ViewPropTypes for rn 0.44+ & import PropTypes from 'prop-types' for react 16
7 years ago
iou90
41cd08a3fb
use stylesheet; bump version number to 0.2.3
7 years ago
iou90
2c77738d36
enable animation by default; bump version number to 0.2.1
7 years ago
iou90
e3401d6a7b
add animation; update example rn version to 0.43.4;
7 years ago
iou90
c4879bbf1b
change html property to source (now can use uri as webview source); make background color transparent by default; update version to 0.1.2
7 years ago
iou90
63b07da680
minor fix; update version to 0.1.1
7 years ago
iou90
0835399fd1
update version to 0.1.0; use react-immutable-component; update example; change name to react-native-autoheight-webview
8 years ago
iou90
6e3d01b952
minor changes; update version to 0.0.18
8 years ago
iou90
49e654775c
fix files issue
8 years ago
iou90
1c02c00f24
update version to 0.0.16
8 years ago
iou90
e26d65984b
fix issues in unmount (android)
8 years ago
iou90
6febf27d30
update version to 0.0.14; add support for android version below kitkat; more reliable height update when changing source (android); update example;
8 years ago
iou90
711d824539
update android version; update version to 0.0.13
8 years ago
iou90
5751a6b8c9
fix not clear setinterval on android; update version to 0.0.12
8 years ago
iou90
1c8f2880c1
change update height method on android; update version to 0.0.11
8 years ago
iou90
afa3b4e372
add default width (screen width); add example
8 years ago
iou90
f819342b0f
remove comments; update to version 0.0.4
8 years ago
iou90
5e367166e7
fix index.android.js
8 years ago
iou90
79af40ae55
fix index.android.js
8 years ago
iou90
5d3fe7f950
fix index.android.js; update version to 0.0.3
8 years ago
iou90
e0cf19231f
fix index.android.js; update version to 0.0.2
8 years ago
iou90
a4833a6bf9
autoheightwebview; disable scrollbar in android webview;
8 years ago