Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot suport expo 34 sdk #69

Closed
Idan-Lazar opened this issue Sep 12, 2019 · 3 comments · Fixed by #70
Closed

cannot suport expo 34 sdk #69

Idan-Lazar opened this issue Sep 12, 2019 · 3 comments · Fixed by #70

Comments

@Idan-Lazar
Copy link

No description provided.

@dellwatson
Copy link

dellwatson commented Sep 21, 2019

same using expo 34, on iOS cant use it as well, only infinite loading.

Update: on simulator it works, but on real device it always loading

@yaron1m
Copy link

yaron1m commented Sep 30, 2019

Even after fixing the imports, I get errors on Android device:

Encountered an error loading page, Object {
  "canGoBack": false,
  "canGoForward": false,
  "code": -1,
  "description": "net::ERR_ACCESS_DENIED",
  "loading": false,
  "target": 975,
  "title": "Webpage not available",
  "url": "file:///data/user/0/host.exp.exponent/cache/ExperienceData/%2540<MY_APP_NAME>/index.html",
}

I did notice though that if you use import { WebView } from 'react-native-webview' for ios and use import 'WebView' from 'react-native' for android it works well.

@YoniWitz
Copy link

YoniWitz commented Apr 2, 2020

import 'WebView' from 'react-native' for android
@yaron1m can you please elaborate? maybe provide the code? I simply don't understand where or how you would use webview with PdfReader
Also, WebView is no longer included in react-native for android either

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants