Version 1.0.2
Summary
This PR introduces two improvements to the project and releases version 1.0.2.
Fix
Fixes OpenStreetMap tile requests returning 403 when using react-native-webview v13+.
Recent versions of react-native-webview changed the default User-Agent, causing OpenStreetMap tile servers to reject tile requests.
This PR adds applicationNameForUserAgent to the WebView configuration to ensure a valid identifier is sent in the request header, complying with the OpenStreetMap tile usage policy.
Example
Adds a React Native Web example project demonstrating how to run the library on web.
The library already supports React Native Web, but there was no example showing how to configure and run it.
This PR includes a working example using webpack, with the necessary configuration files.
Version
1.0.2