Skip to content
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

[Bug]: (NOBRIDGE) WARN locationManager Error: [Error: RNMBXLocationModule.getLastKnownLocation()Objective C type was unsupported.] [Component Stack] #3707

Open
vasilring opened this issue Nov 30, 2024 · 3 comments
Labels
bug 🪲 Something isn't working

Comments

@vasilring
Copy link

Mapbox Implementation

Mapbox

Mapbox Version

10.1.31

React Native Version

0.76.3

Platform

iOS

@rnmapbox/maps version

10.0.0-beta.11

Standalone component to reproduce

import React from 'react';
import {
  MapView,
  ShapeSource,
  LineLayer,
  Camera,
} from '@rnmapbox/maps';

const aLine = {
  type: 'LineString',
  coordinates: [
    [-74.00597, 40.71427],
    [-74.00697, 40.71527],
  ],
};

class BugReportExample extends React.Component {
  render() {
    return (
      <MapView style={{flex: 1}}>
        <Camera centerCoordinate={[-74.00597, 40.71427]} zoomLevel={14} />
        <ShapeSource id="idStreetLayer" shape={aLine}>
          <LineLayer id="idStreetLayer" />
        </ShapeSource>
      </MapView>
    );
  }
}

Observed behavior and steps to reproduce

No response

Expected behavior

No response

Notes / preliminary analysis

No response

Additional links and references

No response

@vasilring vasilring added the bug 🪲 Something isn't working label Nov 30, 2024
@alfianlensundev
Copy link

alfianlensundev commented Dec 3, 2024

I also have the same issue

"react-native": "0.76.3",
"@rnmapbox/maps": "^10.1.33",

"RNMapboxMapsVersion": "11.5.0-beta.1"

@HamoBoker
Copy link

HamoBoker commented Dec 3, 2024

Same issue on new architecture using

[email protected]
@rnmapbox/[email protected]

Native Mapbox v11.8.0

@tyrauber
Copy link

I am seeing the same thing with Expo SDK 52 and the new arch.

[email protected]
@rnmapbox/[email protected]
Native Mapbox v11.6.0, v11.8.0, v11.9.0

Disabling new arch resolves the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants