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.