iou90
d83aa2b404
improve componentWillReceiveProps for index.ios.js
пре 6 година
iou90
c4314dceb5
add orginWihitelist={['*']} to index.ios.js to fix https://github.com/facebook/react-native/issues/19986 error
пре 6 година
iou90
10c1516970
add a feature when changing the customStyle or customScript, auto changing the height of webview on iOS
пре 6 година
iou90
6071298135
update index.ios.js to support auto width
пре 6 година
ShaMan123
976e789cbd
Add autoWidth Adjusment
Couldn't test.... don't have Mac.
Did my best updating the code.
пре 6 година
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 година
iou90
5078a6946d
fix not update script issue for ios.index; clean up code style for demo;
пре 6 година
iou90
78e5a9888f
clean up code style for index.android, index.ios
пре 6 година
iou90
bbaf0edca2
clean up code style for index.android, index.ios
пре 6 година
iou90
971a3ea804
add common; clean code style for index.ios
пре 6 година
Calvin Kei
1fedd1f471
Add: DOM change detection, android setup guide on README
пре 6 година
Hleb Barylskyi
d34995b786
add stopLoading function for ios
пре 7 година
Hleb Barylskyi
89bbccc2f3
make it possible to get WebView's reference
пре 7 година
iou90
60c23560e8
add rn WebView callbacks; update demo to rn 0.50.1; bump version to 0.4.0
пре 7 година
Rich
855b1636dc
Switch appendFilesToHead to use template strings to make it clearer
пре 7 година
Rich
f24db13426
Escape any custom CSS to avoid problems with quotes or newlines
пре 7 година
Rich
01216cf154
Add prop for injecting custom styles into the webview head
пре 7 година
iou90
2449cc93a2
add hasIframe property to support iframe on iOS; bump version to 0.3.4
пре 7 година
iou90
f8a449c649
fix flicking issue on iOS 11; bump version to 0.3.3
пре 7 година
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 година
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 година
iou90
41cd08a3fb
use stylesheet; bump version number to 0.2.3
пре 7 година
iou90
c5e633f55e
fix iframe issue on iOS; bump version to 0.2.2
пре 7 година
iou90
2c77738d36
enable animation by default; bump version number to 0.2.1
пре 7 година
iou90
e3401d6a7b
add animation; update example rn version to 0.43.4;
пре 7 година
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 година
iou90
0835399fd1
update version to 0.1.0; use react-immutable-component; update example; change name to react-native-autoheight-webview
пре 7 година
iou90
6e3d01b952
minor changes; update version to 0.0.18
пре 7 година
iou90
49e654775c
fix files issue
пре 7 година
iou90
1c8f2880c1
change update height method on android; update version to 0.0.11
пре 7 година
iou90
afa3b4e372
add default width (screen width); add example
пре 7 година
iou90
58d756f9ae
call onHeightUpdated when height is valid
пре 7 година
iou90
a4833a6bf9
autoheightwebview; disable scrollbar in android webview;
пре 7 година