iou90
d6521d5669
pass state for onNavigationStateChange for ios
6 лет назад
iou90
d172f58637
add baseUrl prop
6 лет назад
iou90
62acbcedce
fix the iframe issue & clean up code style
6 лет назад
iou90
339f10516e
modified default animationDuration for ios.index
6 лет назад
iou90
b5d2ee6ab1
add getRenderSize to common; add onNavigationStateChange to index.ios/index.android
6 лет назад
iou90
5dac43b2c4
improved updating size on ios
6 лет назад
iou90
f022a5e10a
WIP
6 лет назад
iou90
38ef16302b
add memoize; apply memoize for common & index.ios; add onMessage to index.ios
6 лет назад
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 лет назад