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

Targeting sdk version 31 require <activity> declare android:exported #718

Open
robert0ng opened this issue Aug 12, 2022 · 1 comment
Open

Comments

@robert0ng
Copy link

Description of the problem:

I've found in merged AndroidManifest.xml there is a activity which we can't add android:exported=false to it. This will cause app can't be installed. Is there anyway we can modify this?

<activity
            android:name="com.journeyapps.barcodescanner.CaptureActivity"
            android:clearTaskOnLaunch="true"
            android:screenOrientation="sensorLandscape"
            android:stateNotNeeded="true"
            android:theme="@style/zxing_CaptureTheme"
            android:windowSoftInputMode="stateAlwaysHidden" />

Which library version are you using? E.g. 3.2.0.

4.3.0

Which phone/tablet are you using, and which Android version does it run? (e.g. Samsung Galaxy S5,
Android 5.0)

Pixel 4a

Does the same happen on other devices or an emulator?

Yes

@crazyserver
Copy link

crazyserver commented Aug 23, 2022

Same problem here!
#680

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

2 participants