react-native-geolocation icon indicating copy to clipboard operation
react-native-geolocation copied to clipboard

App crash in release mode when using react native geolocation

Open imranali4264 opened this issue 4 years ago • 4 comments

Environment

Platforms

Versions

  • Android:
  • iOS:
  • react-native-geolocation:
  • react-native:
  • react:

Description

Reproducible Demo

imranali4264 avatar Apr 10 '20 07:04 imranali4264

My app keeps stopping at start after installing @react-native-community/geolocation today. I don't see any error in emulator neither in console. I'm using react native 0.62.2.

piatkiewicz avatar Jul 13 '20 19:07 piatkiewicz

+1 Using "@react-native-community/geolocation": "^2.0.2" and "react-native": "0.59.10" It crashed on my phone (using Android version 9 PKQ1.180904.001, the phone is a Redmi Note 7) and my girlfriend's phone (using Android version 9 (only stuff I could see in the phone settings), the phone is OPPO A5 2020)

My app launch. When it asks for geoloc info, I get Android's pop-up "Allow [app] to access this phone's position". When I click on "Allow", it crashes. I'm asking for a bug report, but the phone doesn't show it to me

afouchet avatar Jul 20 '20 17:07 afouchet

I've decided to move to another project. This has been an issue for me for months. https://www.npmjs.com/package/react-native-location

I spent about 10 mins implementing the new package. Altogether an hour looking at docs, remove old package, add new properly, dev release checked out, gradlew assembleRelease, and 3-4 different tests in that release APK.. all good, no errors or crashing.

odnarb avatar Oct 15 '20 14:10 odnarb

Any resolution?

hugoh59 avatar Jul 13 '21 15:07 hugoh59