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
getting this error on android #37674
Comments
|
Not enough information to debug this. You need to provide a reproducer, codesnippet or a Snack. We can't just support with basically just a stacktrace. |
I opened the related issue here bit more info, yes stack trace is not clear but this is certainly an issue. |
This issue is waiting for author's feedback since 24 days. Please provide the requested feedback or this will be closed in 7 days. |
Closing as @mrsants is unresponsive |
Issue still there just right after trying to upgrade the Android to use the targetSdkVersion = 33 Where I can have more details about such bug? it's not printed anywhere. In Google play console I have the below error only com.facebook.react.common.JavascriptException
Anyone have any directions here? Thanks in advance, |
same issue here. |
Same issue here! @mrsants did you fix it or not yet |
Same issue |
I'm also facing the same. |
same here |
I've tried the same in new Android 13 Device (Xiaomi Redmi 13C) and got a clear Exception as below com.facebook.react.common.JavascriptException: Error: Exception in HostObject::get(propName:NativeUnimoduleProxy): java.lang.SecurityException: Settings key: <bluetooth_name> is only readable to apps with targetSdkVersion lower than or equal to: 31, stack:
Therefore, I've upgraded the expo-device to 5.6.0 (Latest as for today 27 NOV 23) Make sure to access ios/Podfile and increase the platform io to 13 minimum.
## 5.0.0 — 2022-10-25 🛠 Breaking changes🐛 Bug fixes |
Fast way to resolve it and it's actually worked fine for me. Access Android studio, Search for "DeviceModule.kt" file, In the file, search for the below line: Replace it with the below lines: Source: https://github.com/expo/expo/pull/19666/files I've tested the APK version from Google play and working fine. |
I still have this problem. Is there a solution? |
Please elaborate on your issue? What you’re facing exactly? |
at com.facebook.react.modules.core.ExceptionsManagerModule.reportException(ExceptionsManagerModule.java:83) |
Description
Exception com.facebook.react.common.JavascriptException:
at com.facebook.react.modules.core.ExceptionsManagerModule.reportException (ExceptionsManagerModule.java:72)
at java.lang.reflect.Method.invoke
at com.facebook.react.bridge.JavaMethodWrapper.invoke (JavaMethodWrapper.java:372)
at com.facebook.react.bridge.JavaModuleWrapper.invoke (JavaModuleWrapper.java:188)
at com.facebook.react.bridge.queue.NativeRunnable.run
at android.os.Handler.handleCallback (Handler.java:751)
at android.os.Handler.dispatchMessage (Handler.java:95)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage (MessageQueueThreadHandler.java:27)
at android.os.Looper.loop (Looper.java:154)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run (MessageQueueThreadImpl.java:226)
at java.lang.Thread.run (Thread.java:762)
React Native Version
0.71.8
Output of
npx react-native info
System:
OS: macOS 13.4
CPU: (12) x64 Intel(R) Core(TM) i5-10500 CPU @ 3.10GHz
Memory: 40.75 MB / 8.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.16.0 - ~/.nvm/versions/node/v18.16.0/bin/node
Yarn: 1.22.19 - ~/.nvm/versions/node/v18.16.0/bin/yarn
npm: 9.5.1 - ~/.nvm/versions/node/v18.16.0/bin/npm
Watchman: Not Found
Managers:
CocoaPods: 1.12.1 - /Users/mrsants/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4
Android SDK: Not Found
IDEs:
Android Studio: 2022.2 AI-222.4459.24.2221.10121639
Xcode: 14.3.1/14E300c - /usr/bin/xcodebuild
Languages:
Java: 11.0.19 - /usr/local/opt/openjdk@11/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.2.0 => 18.2.0
react-native: 0.71.8 => 0.71.8
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
Snack, code example, screenshot, or link to a repository
The text was updated successfully, but these errors were encountered: