Downloading files from expo react native webView - react-native

I need to download pdf from the site I opened with webView. When I try this the application closes. Is there any way to do this? Do I need to add permission.
I am using expo. What I do is connect to a site with the webView. When you press the download button on the site it downloads base64 as pdf. I can do this on the Internet. I did it in Chrome. However, I could not do it in the mobile application. How can I do that. When I click the button, the application closes. I’m getting this warning on the console Can’t open url: data:application/pdf;base64,JVBERi0xLjQKJeLjz9MKNCAwIG9iag… I can view but not download

Related

How can I verify that correct page is open in safari after clicking on iOS Native app link

I am using Appium with Webdriveio and testing Native app where I have a scenario to click on a button within the Native app that opens a link in the Safari browser.
As I am testing a native app I do not have the privilege to get in deep link from the dev tool so need to fetch the URL from safari browser to verify that the correct link is open
Is there any way to fetch Safari URL via Appium/Webdriveio within Native automation?

Website template popup feature doesn't work after downloading

I am looking at a website template with themewagon. There is a modal feature using magnific-popup that works on the live web version to display a video in a modal.
https://themewagon.github.io/videograph/
However, when I download the template and open the index file from my browser, the video modals do not function properly.
Can anyone explain why this may be the case?
I used the theme online, but when I downloaded it, the functionality was not there.

Native way to inform user there is a mobile app?

Often when viewing a website on a mobile device you'll get a notification that a mobile app is available, or if you already have the app downloaded you'll have the option to open the URL in the app.
Is there a native way to do this or are these notifications always custom?
When users click on a link or download a file and the suggestion pops up to open the respective app, that's called deep linking. iOS labels it as Universal Links and Android uses App Links.

Branchio Universal Deeplink redirecting to safari and shows popup to launch the application even app is installed in iOS 13.3.1

Even though the Application is installed in the iPhone, tapping Branchio universal deep-link redirecting to safari and shows a popup to launch the application.
Expected: if the application is already installed, tapping deep link should launch the application.
Pre- requests:
OS: iPhone iOS 13.3.1
Release build in Appcenter
Set custom URL to https://install.appcenter.ms/app (Appcenter)
Generate the Universal deeplink
Steps to reproduce:
Generate the Universal deep-link
Using the deep-link install the application
Again Tap on the same deep-link will redirect to Safari and popup alert with CANCEL and OPEN options
Tap OPEN in safari to launch the application
This is an expected behaviour where Apple prompts the user first time if to open the app. Only if universal links are implemented, it does not ask for the second time. Our AASA validator tool (https://branch.io/resources/aasa-validator/) shows the AASA file to validated correctly but while testing on the install page of your redirected website, it is showing a 404 error. So, we are unable to replicate this on our end to check further.
Could you please share your app store link so as to help us out here.
Also, would request to check our documentation here ( https://help.branch.io/developers-hub/docs/ios-troubleshooting#section-validate-if-aasa-file-successfully-downloaded ) so as to confirm if the device is receiving the generated AASA files. This is a known issue with Apple for iOS 13.x+ where the AASA files do not get ingested into the device and causes the link redirection to show a prompt or a fail.

Website popup is blocked in react native webview

I want to integrate a website into a webview with react native.
Everything is fine until I want to login with facebook. When I press the "Login With Facebook" button, the webview become just a white screen and it is blocked.
This happens because when I press the login button, it tries to open a popup, but the popups are not enabled in react native webview.
So, my question is: how is possible to enable popups in webview? I just want my website to behave just like in a normal browser (like chrome, where everything is working fine), but inside my webview.
I use react native 0.55.
I read https://codeburst.io/webviews-and-social-authentication-with-react-native-cfecf96ac7d7 but didn't help me because I don't have access to the website source code.