-
-
Notifications
You must be signed in to change notification settings - Fork 924
Open
Labels
bug 🪲Something isn't workingSomething isn't working
Description
Mapbox Implementation
Mapbox
Mapbox Version
11.15.2
React Native Version
0.82.1
React Native Architecture
New Architecture (Fabric/TurboModules)
Platform
iOS
@rnmapbox/maps version
10.2.6
Standalone component to reproduce
import React from 'react';
import MapboxGL, { UserLocation } from '@rnmapbox/maps';
import { MapView } from '@rnmapbox/maps';
import { View } from 'react-native';
MapboxGL.setAccessToken('YOUR_ACCESS_TOKEN_HERE');
const App = () => {
return (
<View style={{ flex: 1 }}>
<MapView style={{ flex: 1 }}>
<UserLocation />
</MapView>
</View>
);
};
export default App;Observed behavior and steps to reproduce
Using the component causes repeated errors such as:
TypeError: this._listeners.forEach is not a function (it is undefined) at __callListeners (AnimatedNode.js:126:22) …
Expected behavior
No response
Notes / preliminary analysis
should mount and display the user‐location puck on the map without throwing repeated animation/listener errors.
No crash or infinite loop of errors.
Additional links and references
No response
crasneanucristian, StrauneanuDimitri, huytm2k3 and PentamapRainer
Metadata
Metadata
Assignees
Labels
bug 🪲Something isn't workingSomething isn't working