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

Support for Android 14 - With Receiver Export and Not Exported #13998

Closed
dakshay-devstree opened this issue Oct 30, 2023 · 1 comment · Fixed by #13999
Closed

Support for Android 14 - With Receiver Export and Not Exported #13998

dakshay-devstree opened this issue Oct 30, 2023 · 1 comment · Fixed by #13999
Labels
feature-request Issue which suggest an idea, enhancement or feature to implement

Comments

@dakshay-devstree
Copy link

dakshay-devstree commented Oct 30, 2023

Provide support for Android 14 which is up and running on most of the pixel devices..

Right now sdk is crashing on Android 14 with Exception
java.lang.SecurityException: com.pasta.android: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified at android.os.Parcel.createExceptionOrNull(Parcel.java:3057) at android.os.Parcel.createException(Parcel.java:3041) at android.os.Parcel.readException(Parcel.java:3024) at android.os.Parcel.readException(Parcel.java:2966) at android.app.IActivityManager$Stub$Proxy.registerReceiverWithFeature(IActivityManager.java:5684) at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1852) at android.app.ContextImpl.registerReceiver(ContextImpl.java:1792) at android.app.ContextImpl.registerReceiver(ContextImpl.java:1780) at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:755) at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:755) at org.wonday.orientation.OrientationModule.start(OrientationModule.java:356) at org.wonday.orientation.OrientationActivityLifecycle.registerListeners(OrientationActivityLifecycle.java:30) at org.wonday.orientation.OrientationModule.<init>(OrientationModule.java:134) at org.wonday.orientation.OrientationPackage.createNativeModules(OrientationPackage.java:28) at com.facebook.react.ReactPackageHelper.getNativeModuleIterator(ReactPackageHelper.java:42) at com.facebook.react.NativeModuleRegistryBuilder.processPackage(NativeModuleRegistryBuilder.java:42) at com.facebook.react.ReactInstanceManager.processPackage(ReactInstanceManager.java:1458) at com.facebook.react.ReactInstanceManager.processPackages(ReactInstanceManager.java:1429) at com.facebook.react.ReactInstanceManager.createReactContext(ReactInstanceManager.java:1340) at com.facebook.react.ReactInstanceManager.access$1200(ReactInstanceManager.java:136) at com.facebook.react.ReactInstanceManager$5.run(ReactInstanceManager.java:1108) at java.lang.Thread.run(Thread.java:1012) Caused by: android.os.RemoteException: Remote stack trace: at com.android.server.am.ActivityManagerService.registerReceiverWithFeature(ActivityManagerService.java:13908) at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:2570) at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2720) at android.os.Binder.execTransactInternal(Binder.java:1339) at android.os.Binder.execTransact(Binder.java:1275)

@dakshay-devstree dakshay-devstree added the feature-request Issue which suggest an idea, enhancement or feature to implement label Oct 30, 2023
@saghul
Copy link
Member

saghul commented Oct 30, 2023

We are going to need to patch the orientation module with this PR: wonday/react-native-orientation-locker#276

saghul added a commit to saghul/jitsi-meet that referenced this issue Oct 30, 2023
saghul added a commit that referenced this issue Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Issue which suggest an idea, enhancement or feature to implement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants