Sim91
Sim91

Reputation: 21

stop mapbox from requestin location on android not possible-> react native

I got a problem with my newest react native app. I have implemented @rnmapbox/maps and only use it to show the location of the operator of the app. So I don't use any data from the user. This is the only usage:

      <Mapbox.MapView
      style={styles.map}
      logoEnabled={false}
      scaleBarEnabled={false}>
      <Camera
        centerCoordinate={[
          community.address.latitude ?? 0,
          community.address.longitude ?? 0,
        ]}
        ...
      />
      <PointAnnotation
        coordinate={[
          community.address.latitude ?? 0,
          community.address.longitude ?? 0,
        ]}
        id={'location'}>
        <Icon
          name={'location'}
          ...
        />
      </PointAnnotation>
    </Mapbox.MapView>

Since my last update of the app, I got an issue from google/android (in iOS everything is fine)

Issue details

We found an issue in the following area(s):

Version code 26: Policy Declaration - Data Safety Section: Location Data Type - Precise Location

We detected user data transmitted off devices that you have not disclosed in your app’s >data safety form as user data collected.

Can anybody help me? How can I stop mapbox from trying to get the location? I can't find anybody with the same problem...

Thanks for your help Greetings Sim

Upvotes: 0

Views: 20

Answers (0)

Related Questions