Webview's loadData() is not working in android 10.0 (Q)

前端 未结 6 1284
暖寄归人
暖寄归人 2021-01-19 06:16

Here i am trying to load Html code as string in webview\'s loadData() .Nothing is happen over this mehtod but same method is working like charm in below sdk 29.

6条回答
  •  盖世英雄少女心
    2021-01-19 07:09

    Now it is working after performing base-64 encoding to string html_code.

    Issue resolved by passing html_code string as per given instruction in docs

提交回复
热议问题