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

Receiving: UnsupportedOperationException: System does not support feature android.software.telecom error on android #815

Open
1 of 2 tasks
awlui opened this issue Nov 1, 2024 · 0 comments

Comments

@awlui
Copy link

awlui commented Nov 1, 2024

Bug report

  • Reproduced on:
  • Android
  • iOS

Description

Hey team! One of our customers is reporting that the app crashes immediately when booting our app. It looks like this is the error that they are running into. I guess their device doesn't have telephony support? It looks like a tablet so I guess that lines up. There are no workarounds, correct? Other than declaring no support for devices with no telephony support

Steps to Reproduce

Can't open the app on android tablet

Versions

- Callkeep: 4.3.8
- React Native:0.71.19
- iOS:
- Android: 14
- Phone model: Lenovo TB132FU

Logs

Exception java.lang.UnsupportedOperationException: System does not support feature android.software.telecom
  at android.os.Parcel.createExceptionOrNull (Parcel.java:3023)
  at android.os.Parcel.createException (Parcel.java:2995)
  at android.os.Parcel.readException (Parcel.java:2978)
  at android.os.Parcel.readException (Parcel.java:2920)
  at com.android.internal.telecom.ITelecomService$Stub$Proxy.registerPhoneAccount (ITelecomService.java:1738)
  at android.telecom.TelecomManager.registerPhoneAccount (TelecomManager.java:1503)
  at io.wazo.callkeep.RNCallKeepModule.registerPhoneAccount (RNCallKeepModule.java:979)
  at io.wazo.callkeep.RNCallKeepModule.registerPhoneAccount (RNCallKeepModule.java:286)
  at io.wazo.callkeep.RNCallKeepModule.setup (RNCallKeepModule.java:263)
  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.jni.NativeRunnable.run
  at android.os.Handler.handleCallback (Handler.java:942)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage (MessageQueueThreadHandler.java:27)
  at android.os.Looper.loopOnce (Looper.java:201)
  at android.os.Looper.loop (Looper.java:288)
  at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run (MessageQueueThreadImpl.java:228)
  at java.lang.Thread.run (Thread.java:1012)
Caused by android.os.RemoteException: Remote stack trace:
  at com.android.server.telecom.TelecomServiceImpl.enforceTelecomFeature (TelecomServiceImpl.java:2449)
  at com.android.server.telecom.TelecomServiceImpl.enforcePhoneAccountModificationForPackage (TelecomServiceImpl.java:2409)
  at com.android.server.telecom.TelecomServiceImpl.-$$Nest$menforcePhoneAccountModificationForPackage
  at com.android.server.telecom.TelecomServiceImpl$1.registerPhoneAccount (TelecomServiceImpl.java:564)
  at com.android.internal.telecom.ITelecomService$Stub.onTransact (ITelecomService.java:857)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant