What browser engine does Android use for phonegap?

后端 未结 2 1005
余生分开走
余生分开走 2021-01-17 12:25

I\'m trying to implement some CSS animations in a phone gap project. The animations run fine on an iOS device but not on my Android. In fact some things like dashed borders

2条回答
  •  爱一瞬间的悲伤
    2021-01-17 13:24

    PhoneGap uses native browser engines. So in android, it uses WebKit.

    From PhoneGap

    web view used by PhoneGap is the same web view used by the native operating system.On iOS, this is the Objective-C UIWebView class; on Android, this is android.webkit.WebView.Since there are differences in the web view rendering engines between operating systems, make sure that you account for this in your UI

    This tutorial may be helpful for you. It shows how to target for specific browser(means specific render engine).

    Hope this helps!

提交回复
热议问题