-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
MapLibreGL.addCustomHeader(...) is not a function (it is undefined) #551
Comments
Huh, I am seeing the native methods, but no, javascript method for |
It only ever was a type definition, which seems to have been removed here: 764a3eb#diff-7aa4473ede4abd9ec099e87fec67fd57afafaf39e05d493ab4533acc38547eb8L111 |
Yeah, I am seeing the same thing. I went back through tags all the way to 9.0.0 and it looks like there never was a javascript method?!? In 9.0.0 there was a typescript function declartion, but no js function. I guess this was never implemented? |
It only needs a passthrough from native, give me 5 minutes. |
🎉 This issue has been resolved in version 10.0.0-beta.8 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Steps to Trigger Behavior
Following the custom HTTP headers docs and then actually adding it triggers an error.
Expected Behavior
The custom header is successfully set and the headers are included on the requests made afterwards.
Actual Behavior
It triggers the following error:
_maplibreReactNative.default.addCustomHeader is not a function (it is undefined)
Environment
@maplibre/maplibre-react-native
Version: 10.0.0-beta.7react-native
Version: 0.74.5expo
Version: 51.0.34The text was updated successfully, but these errors were encountered: