Кто-нибудь знает, почему у меня нет доступа к моим пакетам приложений на Android 11?
Я пытаюсь объединить два приложения через намерение, но когда я нажимаю кнопку, которая отправляет намерение другого приложения у меня есть следующая ошибка():
Код: Выделить всё
AppsFilter system_server I interaction: PackageSetting{57a38b5 com.example.testintent/10199} -> PackageSetting{ca6f0a0 com.example.testintentcencosud/10198} BLOCKEDКод: Выделить всё
ActivityManager system_server W Unable to start service Intent { act=android.intent.action.SEND typ=text/plain cmp=com.example.testintentcencosud/.Servicio (has extras) } U=0: not foundДругое, что я сделал, это перечислил все пакеты в Logcat, и он показывает мне все пакеты, кроме тех, которые я установил из других предыдущих приложений, есть ли какие-то ограничения или что-то в Android 11 ?
Я действительно не знаю, что может быть причиной этой проблемы, возможно, мне нужно добавить новое разрешение в файл AndroidManifest.xml, возможно, мне нужно что-то включить в настройках или настройки устройства, надеюсь, вы мне поможете, большое спасибо за ваше время.
Обновление:
Это код из моего AndroidManifest. xml-файл:
Код: Выделить всё
Код: Выделить всё
The purpose of this project was to be able to create a service to be able to print on a POS type device with a built-in printer and that another application could access this service through Intent, the other application that is going to access my service through Intent is developed in Expo and the Expo development team could not send the Intent to my service, can someone help me or who has experience in Intent from Expo to a service developed in Android Studio? I would greatly appreciate it since we are now analyzing creating a local database on the device to which the two applications have access (application developed in Expo and service developed in Android Studio) but we do not know if it is 100% viable, this database local data will only have a table with 3 columns, the columns would be INT id, String base64, boolean printed, but as I said before I don't know if it is viable, I don't know if you can have a local database that two different applications can access and Also developed in different environments and languages, I hope you can help me, thank you very much for your time.
Источник: https://stackoverflow.com/questions/781 ... the-device
Мобильная версия