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

One of receiver_exported or receiver_not_exported should be specified #92

Closed
samuelyee opened this issue Aug 5, 2024 · 2 comments
Closed

Comments

@samuelyee
Copy link

Describe the bug
Related to new Google policies to target Android SDK 34 where you must explicitly specify export behaviour for broadcasts including share intent (https://developer.android.com/about/versions/14/behavior-changes-14#runtime-receivers-exported).

To Reproduce
Steps to reproduce the behavior:

  1. Specify the Android target to SDK 34 using expo-build-properties in app.json.
"plugins":  [
                "expo-build-properties",
                {
                    "android": {
                        "compileSdkVersion": 34,
                        "targetSdkVersion": 34,
                        "buildToolsVersion": "34.0.0"
                    }
                }
            ],

Environment
Android Development Build would drop the security error

Additional context
Add any other context about the problem here.

  • expo version (ex: 49) : 51
  • using firebase : yes
  • using static build : no
  • routing : expo-router
  • platform target : Android
  • device : real device
  • type: local build
@samuelyee
Copy link
Author

This is the error shown in the Android development build
error

@samuelyee
Copy link
Author

The issue was caused by another expo plugin react-native-appearance. For more info: joltup/rn-fetch-blob#866. This plugin works great and is very useful. Hope it can continue to be maintained and supported.

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