Comments (7)
Can you grab the logs from the device? There should be some reason logged for the termination of the app.
https://docs.airnativeextensions.com/docs/tutorials/device-logs
from ane-packagemanager.
Replaced domain and app name with: air.myCompany.myApp
I used cmd command for generating log:
C:\AIR_SDK_33.1.63\lib\android\bin\adb.exe logcat air.myCompany.myApp:I ActivityManager:I *:S
I've tried to cut down all the unnecesary code from log.
samsung a71 activity2.txt
I also used C:\AIR_SDK_33.1.63\lib\android\bin\adb.exe logcat command, but the log is so long and I didn't got what I needed.
from ane-packagemanager.
Nothing obvious there, the system is stopping your app. This could be the new process in android 11. I'll setup some tests to replicate.
from ane-packagemanager.
One more thing, I've just made a simple app in java (android studio), using the startActivity(new Intent(android.provider.Settings.ACTION_MANAGE_UNKNOWN_APP_SOURCES, Uri.parse("package:your.application.package")));
, target sdk 30, and works fine, app doesn't restart.
Maybe the Air SDK needs to be updated, should I send this issue also to harman?
from ane-packagemanager.
Hi, I've been looking through this and as far as I understand when you change permissions like this, Android won't restart a simple activity but will restart services which may cause an activity to be restarted if it is tied to a service. This is highly likely in an app that is more than just a simple one.
I don't think there's anything we can do from the ANE side here. This seems to be solely related to the AIR activity and the Android system.
You could report it to Harman and see if it's something they'll look into.
However there are a few of these "restart" type scenarios around permission changes now so it might be better if you just design around it?
from ane-packagemanager.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
from ane-packagemanager.
This issue was closed because it has been stalled for 5 days with no activity.
from ane-packagemanager.
Related Issues (12)
- PackageManager Android 64bit support HOT 1
- PackageManager.service.validateSignature(signature) HOT 2
- APP - different ANDROID versions, different behavior HOT 4
- Error: uses-sdk:minSdkVersion 21 cannot be smaller than version 23 HOT 3
- Issue when trying to install an apk on older devices HOT 10
- AndroidX migration
- getUserApps get list of installed user apps HOT 4
- What is the minimum Android version supported? HOT 4
- Feature request HOT 3
- Error # Need to declare android.permission.REQUEST_INSTALL_PACKAGES to call this api HOT 4
- Can I check if my app has been installed from the Play Store? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ane-packagemanager.