Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16750

make a package for react native that uses files in native codes

$
0
0

I want to make a package for react native that uses WebView (react-native-webview) component to load a local html file, but to load a local file it must be in the native folders: https://aboutreact.com/load-local-html-file-url-using-react-native-webview/

How to make the package uses the file in it's native code or copy the files to project's native code when installing the package?

PS: the local html contains JS libraries and css files so I cant use inline html.


Viewing all articles
Browse latest Browse all 16750

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>