iou90
0a9fc24017
calculate scale inside updateSize function to fix https://github.com/iou90/react-native-autoheight-webview/pull/141
5 vuotta sitten
iou90
10bb38ea0a
using function instead of arrow function for getInjectedSource to fix arrow function not supported problem below android 6.0, https://github.com/iou90/react-native-autoheight-webview/issues/139
5 vuotta sitten
iou90
8ce8ce6ec0
remove makeScalePageToFit script when scalesPageToFit prop was true; apply scale on size when scalesPageToFit prop was true to fix https://github.com/iou90/react-native-autoheight-webview/pull/133
5 vuotta sitten
iou90
35e3f37c93
Clean up code styles
5 vuotta sitten
iou90
6a2defdf53
Try to fix height not changed in some cases issue https://github.com/iou90/react-native-autoheight-webview/pull/133
5 vuotta sitten
Vladimir Panov
6730392446
Added code scoping fix. General codestyle fixes and optimizations
5 vuotta sitten
Vladimir Panov
6b7eacaa51
Added additional height check with delay to fix issues with third party embeds
5 vuotta sitten
iou90kant
8f04163451
fix baseUrl not assigned to source
5 vuotta sitten
iou90kant
50211735af
remove baseUrl prop
5 vuotta sitten
iou90kant
978c33b8bc
use React.memo instead of useMemo
5 vuotta sitten
iou90
8505010fce
fix Converting circular structure to JSON issue on some android devices
5 vuotta sitten
iou90
7cfb03f05c
fix react hooks using
5 vuotta sitten
Pavel T
23417cbed8
fixed passing props
5 vuotta sitten
Pavel T
b6b1ba5c5b
added zoomable prop for ios
5 vuotta sitten
iou90
1481190012
rewrite with Hooks
5 vuotta sitten
iou90
506b3e069a
rewrite with using react-native-webview
5 vuotta sitten
iou90
5e8d98fade
refactor index.ios.js with using postMessage
5 vuotta sitten
iou90
1f2a472428
remove getRenderSize & remove getIframeBaseScript parameter from getScript for common.js
5 vuotta sitten
iou90
d172f58637
add baseUrl prop
6 vuotta sitten
iou90
4e76126447
fix appendFilesToHead issue for common
6 vuotta sitten
iou90
62acbcedce
fix the iframe issue & clean up code style
6 vuotta sitten
iou90
b5d2ee6ab1
add getRenderSize to common; add onNavigationStateChange to index.ios/index.android
6 vuotta sitten
iou90
d58b03d7ae
rewirte index.android for dynamic auto height & better animation
6 vuotta sitten
iou90
5dac43b2c4
improved updating size on ios
6 vuotta sitten
iou90
f022a5e10a
WIP
6 vuotta sitten
iou90
819b4c7275
WIP
6 vuotta sitten
iou90
38ef16302b
add memoize; apply memoize for common & index.ios; add onMessage to index.ios
6 vuotta sitten
iou90
d83aa2b404
improve componentWillReceiveProps for index.ios.js
6 vuotta sitten
iou90
10c1516970
add a feature when changing the customStyle or customScript, auto changing the height of webview on iOS
6 vuotta sitten
iou90
8d3ce7adbc
clean up code style for common.js
6 vuotta sitten
iou90
b14666eae1
update common.js to support auto width
6 vuotta sitten
ShaMan123
c33fa90a22
Update common.js
Updated the following functions:
appendStylesToHead
getScript
Added:
onWidthUpdated
onHeightWidthUpdated
6 vuotta sitten
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 vuotta sitten
iou90
78e5a9888f
clean up code style for index.android, index.ios
6 vuotta sitten
iou90
971a3ea804
add common; clean code style for index.ios
6 vuotta sitten