iou90
70f3e5a759
apply webview props for index.ios.js
il y a 5 ans
于广吉
8107e171ad
Update index.ios.js
播放视频
il y a 5 ans
于广吉
1611ff6263
Update index.ios.js
il y a 5 ans
于广吉
d8fab04ad7
Update index.ios.js
il y a 6 ans
gongdao123
932c2b8df5
add missing param in callback
il y a 6 ans
iou90
3aa2dd6387
fix this.webView ref issue for stopLoading on ios
il y a 6 ans
iou90
d6521d5669
pass state for onNavigationStateChange for ios
il y a 6 ans
Jørgen Orehøj Erichsen
4aa522e38e
Only insert wrapper element once
il y a 6 ans
iou90
d172f58637
add baseUrl prop
il y a 6 ans
iou90
62acbcedce
fix the iframe issue & clean up code style
il y a 6 ans
iou90
339f10516e
modified default animationDuration for ios.index
il y a 6 ans
iou90
b5d2ee6ab1
add getRenderSize to common; add onNavigationStateChange to index.ios/index.android
il y a 6 ans
iou90
5dac43b2c4
improved updating size on ios
il y a 6 ans
iou90
f022a5e10a
WIP
il y a 6 ans
iou90
38ef16302b
add memoize; apply memoize for common & index.ios; add onMessage to index.ios
il y a 6 ans
iou90
d83aa2b404
improve componentWillReceiveProps for index.ios.js
il y a 6 ans
iou90
c4314dceb5
add orginWihitelist={['*']} to index.ios.js to fix https://github.com/facebook/react-native/issues/19986 error
il y a 6 ans
iou90
10c1516970
add a feature when changing the customStyle or customScript, auto changing the height of webview on iOS
il y a 6 ans
iou90
6071298135
update index.ios.js to support auto width
il y a 6 ans
ShaMan123
976e789cbd
Add autoWidth Adjusment
Couldn't test.... don't have Mac.
Did my best updating the code.
il y a 6 ans
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
il y a 6 ans
iou90
5078a6946d
fix not update script issue for ios.index; clean up code style for demo;
il y a 6 ans
iou90
78e5a9888f
clean up code style for index.android, index.ios
il y a 6 ans
iou90
bbaf0edca2
clean up code style for index.android, index.ios
il y a 6 ans
iou90
971a3ea804
add common; clean code style for index.ios
il y a 6 ans
Calvin Kei
1fedd1f471
Add: DOM change detection, android setup guide on README
il y a 6 ans
Hleb Barylskyi
d34995b786
add stopLoading function for ios
il y a 7 ans
Hleb Barylskyi
89bbccc2f3
make it possible to get WebView's reference
il y a 7 ans
iou90
60c23560e8
add rn WebView callbacks; update demo to rn 0.50.1; bump version to 0.4.0
il y a 7 ans
Rich
855b1636dc
Switch appendFilesToHead to use template strings to make it clearer
il y a 7 ans
Rich
f24db13426
Escape any custom CSS to avoid problems with quotes or newlines
il y a 7 ans
Rich
01216cf154
Add prop for injecting custom styles into the webview head
il y a 7 ans
iou90
2449cc93a2
add hasIframe property to support iframe on iOS; bump version to 0.3.4
il y a 7 ans
iou90
f8a449c649
fix flicking issue on iOS 11; bump version to 0.3.3
il y a 7 ans
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 );
il y a 7 ans
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
il y a 7 ans
iou90
41cd08a3fb
use stylesheet; bump version number to 0.2.3
il y a 7 ans
iou90
c5e633f55e
fix iframe issue on iOS; bump version to 0.2.2
il y a 7 ans
iou90
2c77738d36
enable animation by default; bump version number to 0.2.1
il y a 7 ans
iou90
e3401d6a7b
add animation; update example rn version to 0.43.4;
il y a 7 ans
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
il y a 7 ans
iou90
0835399fd1
update version to 0.1.0; use react-immutable-component; update example; change name to react-native-autoheight-webview
il y a 7 ans
iou90
6e3d01b952
minor changes; update version to 0.0.18
il y a 7 ans
iou90
49e654775c
fix files issue
il y a 7 ans
iou90
1c8f2880c1
change update height method on android; update version to 0.0.11
il y a 7 ans
iou90
afa3b4e372
add default width (screen width); add example
il y a 7 ans
iou90
58d756f9ae
call onHeightUpdated when height is valid
il y a 7 ans
iou90
a4833a6bf9
autoheightwebview; disable scrollbar in android webview;
il y a 7 ans