You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importReactfrom'react';// importa Mapbox and set tokenimportMapboxfrom'@rnmapbox/maps';// (token is defined here, but commented for your rule) Mapbox.setAccessToken('xxxxxxxxxxxxxxx');import{MapView}from'@rnmapbox/maps';import{View}from'react-native';exportdefaultfunctionMap(){return(<Viewstyle={{flex: 1}}><MapViewstyle={{flex: 1}}/></View>);};
Observed behavior and steps to reproduce
The error “Mapbox [error] ViewTagResolver | view: null found with tag: xxxx but it's either null or not the correct type” appears randomly as soon as you arrive on the map, sometimes yes, sometimes no.
Note that the “with tag” increases as the error is encountered (may help debugging).
See captures taken one by one. And the console for more details.
After a round-trip index-map
After a round-trip index-map
After a round-trip index-map
After a round-trip index-map
After a round-trip index-map
Expected behavior
Do not display this error.
Notes / preliminary analysis
The “with tag: xxx” increases as the error is encountered.
If the error doesn't appear, go to the map, zoom in or out, then back to the index, then back to the map.
It can take 4 or 5 round trips before there's an error, sometimes 0, sometimes more.
Mapbox Implementation
Mapbox
Mapbox Version
10.1.33
React Native Version
0.76.6
Platform
Android
@rnmapbox/maps
version11.0.0
Standalone component to reproduce
Index page (for navigation test : index <-> map):
Map page
Observed behavior and steps to reproduce
The error “Mapbox [error] ViewTagResolver | view: null found with tag: xxxx but it's either null or not the correct type” appears randomly as soon as you arrive on the map, sometimes yes, sometimes no.
Note that the “with tag” increases as the error is encountered (may help debugging).
See captures taken one by one. And the console for more details.
After a round-trip index-map
After a round-trip index-map
After a round-trip index-map
After a round-trip index-map
After a round-trip index-map
Expected behavior
Do not display this error.
Notes / preliminary analysis
The “with tag: xxx” increases as the error is encountered.
If the error doesn't appear, go to the map, zoom in or out, then back to the index, then back to the map.
It can take 4 or 5 round trips before there's an error, sometimes 0, sometimes more.
My package.json :
My device :
Android Emulator - OUKITEL_API_31:5554
Additional links and references
No response
The text was updated successfully, but these errors were encountered: