I build android Application with API 30 with VS 2022.The AndroidManifest.xml file is in root of project and I need bluetooth permission to connect to printer. and I added it to manifest file. but in application setting in mobile permission part is no permission requested and it is disabled. the manifest file is
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.nn.PDA">
<!-- Bluetooth legacy -->
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<!-- Android 12+ -->
<uses-permission
android:name="android.permission.BLUETOOTH_CONNECT"
android:usesPermissionFlags="neverForLocation" />
<uses-permission
android:name="android.permission.BLUETOOTH_SCAN"
android:usesPermissionFlags="neverForLocation" />
<uses-permission android:name="android.permission.INTERNET" />
<application
android:label="@string/app_name"
android:icon="@mipmap/ic_launcher"
android:allowBackup="true"
android:usesCleartextTraffic="true">
</application>
</manifest>
-
It is android application not .Net MAUI App. in .Net 6.Project made this file it self .I did not add in manually .I changed the Path to Platforms\Android but project got error .Esmail– Esmail2025年12月23日 09:26:23 +00:00Commented Dec 23, 2025 at 9:26
1 Answer 1
It seems that There is no relations between Manifest permissions and app setting permissions in device .The problem was from SDK not permissions
Sign up to request clarification or add additional context in comments.
Comments
lang-cs