Giter Club home page Giter Club logo

react-native-webview's People

Contributors

allcontributors[bot] avatar andreipfeiffer avatar arjan-zuidema avatar asklar avatar bae-unidev avatar ccorcos avatar chiaramooney avatar cristianoccazinsp avatar dependabot[bot] avatar dulmandakh avatar dvicory avatar empyrical avatar ifsnow avatar ivari avatar jamonholmgren avatar matiaskorhonen avatar mookiies avatar pmusaraj avatar punksta avatar renzhenhua-android avatar ryanlntn avatar safaiyeh avatar salakar avatar semantic-release-bot avatar sjchmiela avatar srandazzo avatar thealmightybob avatar tido64 avatar titozzz avatar trcoffman avatar

react-native-webview's Issues

报错网页加载不出来

加载报错,一片空白
[web_delegate.cpp(SetWebCallBack)-(0)] web controller is nullptr
[web_pattern.cpp(OnDirtyLayoutWrapperSwap)-(0)] resize invalid 0.000000, 420.000000
[web_delegate.cpp(SetBoundsOrResize)-(0)] WebDelegate::SetBoundsOrResize width and height error
[web_delegate.cpp(operator())-(0)] Create webview with surface in
CreateNWeb<1335>: creating nweb 1, size 11
CreateNWeb<1337>: creating nweb use enhance surface 0
Resize<108>: NWeb size change from 0
0 to 1*1
Resize<127>: resize for emulator early failed, result = 40001000
SetVirtualDeviceRatio<260>: GetVirtualPixelRatio ratio: 3.500000
[0204/111245.019654:INFO:nweb_application.cc(106)] OnRegisterCustomSchemes
[0204/111245.019814:ERROR:icu_util.cc(196)] /data/storage/el1/bundle/nweb/entry/resources/rawfile/icudtl.dat not exists.
NetAvailable<33>: NetConnCallback enter, net available, net id = 100.
WebView, [RNOH] onControllerAttached
[0204/111245.054905:ERROR:nweb_application.cc(154)] There is no web inited callback to run.

<View style={{height: 120}}> <WebView source={{uri: 'https://www.huawei.com/'}} webviewDebuggingEnabled={true} style={{width:'100%', height:100}} /> </View>

Environment:

  • OS:Harmony
  • OS version:OpenHarmony-4.0.10.10
  • IDE:DevEco 4.0.3.700 (API10)
  • react-native version:0.72.10
  • react-native-webview version:13.6.2-0.0.6

中文乱码

打bundle时,html文件中的中文被编码为unicode,bundle中的数据传到鸿蒙侧就是乱码;鸿蒙侧做编码和转码无效,框架暂时还解决不了此问题

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.