SiftScience / sift-react-native

React Native Wrapper for Sift iOS and Android SDKs
MIT License
1 stars 12 forks source link

disallowConllectingLocationData crashes on Android when set to false #37

Open defnotsuhas opened 4 months ago

defnotsuhas commented 4 months ago

Hi I see that this issue has already been addressed https://github.com/SiftScience/sift-react-native/issues/31 but this is currently causing a crash on Android.

When the user selects on 'Only this time' for the location permission, app instantly crashes.

 OS: macOS 14.5
  CPU: (8) arm64 Apple M2
  Memory: 127.11 MB / 24.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 21.2.0
    path: ~/.nvm/versions/node/v21.2.0/bin/node
  Yarn:
    version: 1.22.22
    path: ~/.nvm/versions/node/v21.2.0/bin/yarn
  npm:
    version: 10.2.4
    path: ~/.nvm/versions/node/v21.2.0/bin/npm
  Watchman:
    version: 2024.05.06.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.14.3
    path: /var/folders/vk/66mgsvdj3s5fv6kkmrwxfmqm0000gn/T/frum_17156_1719236832218/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.5
      - iOS 17.5
      - macOS 14.5
      - tvOS 17.5
      - visionOS 1.2
      - watchOS 10.5
  Android SDK: Not Found
IDEs:
  Android Studio: 2023.3 AI-233.14808.21.2331.11926650
  Xcode:
    version: 15.4/15F31d
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.10
    path: /usr/bin/javac
  Ruby:
    version: 3.1.4
    path: /var/folders/vk/66mgsvdj3s5fv6kkmrwxfmqm0000gn/T/frum_17156_1719236832218/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.73.8
    wanted: 0.73.8
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: Not found
  newArchEnabled: false

react-native-sift: 0.1.12

Device: OnePlus 6T running LineageOS Android 14