Category : webview

I am calling a json API from which I am getting a pdf element , it looks like this , this file is only for example as it is corrupted but looks like this : JVBERi0xLjUNCiW1tbW1DQoxIDAgb2JqDQo8PC9UeXBlL0NhdGFsb2cvUGFnZXMgMiAwIFIvTGFuZyhlbi1VUykgL1N0cnVjdFRyZWVSbDQTRGRTNBQ0MxQTg5PjwxOTIzMDRGMTgwOTZCMzQ0QjExQ0E0RkUzQUNDMUE4OT5dIC9QcmV2IDk3NjgwL1hSZWZTdG0gOTY0MTg+Pg0Kc3RhcnR4cmVmDQoxMDgzNzgNCiUlRU9G I want to convert it into pdf to display it into web view in my application. My tried Code: ..

Read more

i have one html file which content as below and i put my html file inside assets folder in my android project src/main/assets/index.html And my React Native code as below <WebView style={{ flex:1, padding:10}} originWhitelist={[‘*’]} source={{ uri: ‘file:///android_asset/index.html’ }} style={{ marginTop: 20 }} javaScriptEnabled={true} domStorageEnabled={true} /> But when i run in Android devices my script ..

Read more