react-native-webview Questions

2

Solved

I am trying to retrieve user entered zipcode which is added to the cookie in the webview. How do I get it? I have tried react-native-cookies which is getting an empty object. import CookieManager ...

4

I posted this in the react-native-webview discussion thread in GitHub in case this is something they need to add support for, but wanted to see if anyone had any thoughts here: Disclaimer: I'm a we...

15

Solved

Hello friends i got this error after linking react-native-webview to my project Invariant Violation: requireNativeComponent: "RNCWebView" was not found in the UIManager. This error is located at...
Salyer asked 16/5, 2020 at 5:20

1

Based on this answer I tried to retain my session in IOS and even though I am passing the cookies back with the request, I am still coming back when I exit and re-open the app, the difference from ...

8

Solved

I'm getting this error with npm [email protected] when I try to generate a QR code with react-native-qrcode-generator I'm using react-native with an expo managed workflow. And the thing is it...
Sophronia asked 12/4, 2020 at 10:8

4

Solved

I am developing a new project about publishing Personal CV. I need to show users' CVs in the application. My standard WebView code is below and working well on iOS. import * as React from 'reac...
Overkill asked 29/9, 2019 at 13:22

7

Solved

After upgrading react native from 0.61.2 to 0.68.2 with RN update helper, gradle cant build app. Getting this error FAILURE: Build failed with an exception. What went wrong: Execution failed for t...
Zygophyllaceous asked 23/5, 2022 at 9:37

1

I am trying to render a HTML snippet in my React-Native app using react-native-webview , I also tried react-native-render-html, but in this CSS is not work that much. This is my Error Stack ERROR ...
Nugatory asked 6/12, 2022 at 10:51

3

Solved

I have used react-native-webview for rendering HTML text. But text is too small in iOS while in android it is perfect. Here are lines of code : import { WebView } from "react-native-webview"; ...
Cheekbone asked 5/3, 2019 at 7:20

2

Solved

I have a React Native app in which at some page I've got a web view (react-native-webview) for displaying PDFs from our server. In iOS everything works fine, in Android, whenever I try to view the...

3

Solved

The app I'm currently building for work is mainly focused around displaying articles. Some of them contain Twitter embeds (on the web version) and since the API is shared by both of our apps I also...

5

I’ve successfully managed to send a message from React Native (RN) to a WebView. What I’m struggling with, is getting the message back from the WebView to RN. There’s no errors showing - it’s just ...
Behead asked 24/6, 2019 at 13:8

2

I want to set custom fonts in Webview. I have implemented the below code: @font-face { font-family: 'Poppins-Bold'; src:url('file:///android_asset/fonts/Poppins-Bold.ttf') format('truetype') } ...
Mechanotherapy asked 31/3, 2020 at 12:23

2

Solved

I'm trying to use the postmessage to a page opened in a webview inside a React Native App. I tried many times, but still wasn't able to send it. I can listen to messages from the webpage normally. ...

2

Solved

React Native WebView App not exit on pressing back button after setting Go back functionality on back button pressed. I want go back functionality on pressing back button when webview is not on hom...
Jaella asked 8/4, 2020 at 14:20

2

Want to clear cache from Reaact-native-webView in React Native, {CookieManager.clearAll();}-Not Working in iOS
Ovolo asked 23/7, 2019 at 7:10

0

I have the SCORM file and opened it using the package react-native-webview. I need to track the progress but when I injected the javascript to set the variables the catch part executed and the aler...
Artful asked 8/3, 2022 at 22:5

3

I have <WebView> that is embedded in a <Card.Content> as I am using react-native-paper. I am trying to have WebView scrollable. The webview shows but not scrollable. Code I am using: &...

1

import React, { Component } from 'react'; import { StyleSheet, Text, View } from 'react-native'; import { WebView } from 'react-native-webview'; // ... class MyWebComponent extends Component { re...
Carencarena asked 29/12, 2021 at 13:43

1

I have a React Native project where I'm trying to bundle some pre-generated HTML, JS, and CSS with the application, and have a WebView render the web assets using the react-native-community/react-n...
Monied asked 23/5, 2020 at 12:9

2

I have a webview with a url (for example a payment processing page). When the url is loaded, certain api calls are done and i want to know how to get data from the internal api calls of that partic...
Hayman asked 10/3, 2020 at 15:6

1

Solved

I want to open a webpage in React native Webview and the hrefs (links) to be opened in the default browser. I tried using the stopLoading method of Webview but it freezes the view. I successfully a...

3

Solved

I am trying to build an iOs mobile application for a website with webview in React Native. I am using the library ('react-native-webview') in the expo-cli project. Everything seems so good so far. ...

7

Solved

I am using react-native-webview library to load webpage, it works fine in debuging, but when I create release build. And click on the tab to load webview , application crashes. following is the err...
Telespectroscope asked 10/4, 2020 at 6:55

1

Solved

I have a Single-Sign-On site opened in a webView. After the user logs in I need to take a cookie to request a token from the API and use it in the application for all the other requests. This all w...

© 2022 - 2024 — McMap. All rights reserved.