react-native-doc-viewer icon indicating copy to clipboard operation
react-native-doc-viewer copied to clipboard

package com.facebook.react.views.webview does not exist

Open uendar opened this issue 5 years ago • 12 comments

when i run : react-native run-android i get error:


error: package com.facebook.react.views.webview does not exist
import com.facebook.react.views.webview.ReactWebViewManager;

Any one did resolve this ?

I am using react-native 0.60.3 react:16.8.6

uendar avatar Jul 12 '19 14:07 uendar

I have same problem. Any Solution?

aybarsyalcin avatar Jul 16 '19 20:07 aybarsyalcin

i also have the same issue please suggest any solution.Thanks in advance.

I am using react-native 0.60.2 react:16.8.6 react-native-doc-viewer: ^2.7.8

tushartakamol avatar Jul 17 '19 10:07 tushartakamol

@uendar @aybarsyalcin @tushartakamol did you fix this issue? how?

monicse09ku avatar Jul 23 '19 09:07 monicse09ku

because react native discontinued webview to https://github.com/react-native-community/react-native-webview . it seriously needs to be updated even react-native-fetch-blob with rn-fetch-blob

amitbravo avatar Jul 28 '19 13:07 amitbravo

@uendar, sorry to spam your thread: Did you ever fix this issue you posted in June? I've got the same thing.

chichilatte avatar Aug 01 '19 14:08 chichilatte

@monicse09ku I still did not found any solution for this issue .I started using below repo for my project. File Viewer

tushartakamol avatar Aug 04 '19 10:08 tushartakamol

@tushartakamol I degraded the react native version to 0.59.10 :( that fixed my issue.

monicse09ku avatar Aug 04 '19 11:08 monicse09ku

@uendar @monicse09ku Anyone found another solution to this?

JDLegaspi avatar Sep 03 '19 01:09 JDLegaspi

The deprecated class com.facebook.react.views.webview is not actually being used. It is just a redundant import. Could be fixed by removing the import in node_modules/react-native-doc-viewer/android/src/main/java/com/reactlibrary/RNReactNativeDocViewerModule.java

Remove the ununsed import:

import com.facebook.react.views.webview.ReactWebViewManager;

krizpoon avatar Sep 04 '19 11:09 krizpoon

Fixed in PR #133

lonnylot avatar Sep 19 '19 13:09 lonnylot

I just created my own repo.

https://github.com/bear1030/react-native-doc-viewer

bear1030 avatar Feb 20 '20 14:02 bear1030

The deprecated class com.facebook.react.views.webview is not actually being used. It is just a redundant import. Could be fixed by removing the import in node_modules/react-native-doc-viewer/android/src/main/java/com/reactlibrary/RNReactNativeDocViewerModule.java

Remove the ununsed import:

import com.facebook.react.views.webview.ReactWebViewManager;

This solved it for me

madgreasemonkey avatar Aug 24 '20 10:08 madgreasemonkey