WebView is not rendering correctly after upgrading to sdk 33

Please provide the following:

  1. SDK Version: 33
  2. Platforms(Android/iOS/web/all): Android

My app displays charts using fusioncharts library. It was all working fine on sdk 32, the chart is loaded using a html file as base and is displayed on a webview.

After upgrading to SDK 33

Does anybody know what happened? Expo asset changed? Webview?

Regards,

Hi

My guess would be that the server might not be sending back a Content-Type HTTP header (as opposed to the “<meta http-equiv…” tag within the HTML) or the wrong one. If so, then maybe the WebView is handling that differently to how it did before.

SDK 32

This may have something to do with it:

1 Like

That doesn’t say whether or not the server is sending a sensible Content-Type :slight_smile:

I just did some more tests today. I did a rollback to sdk 32 and then installed package react-native-webview, everything is working fine. So I think its something related to expo asset cause on sdk-32 asset was part of expo package on sdk-33 we have to install an extra package (expo-asset). Is there any sensitive change between these two sks? Specially on “Asset.fromModule”

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.