Code Monkey home page Code Monkey logo

Comments (7)

marchbold avatar marchbold commented on August 17, 2024

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.

rzv86 avatar rzv86 commented on August 17, 2024

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.

marchbold avatar marchbold commented on August 17, 2024

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.

rzv86 avatar rzv86 commented on August 17, 2024

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.

marchbold avatar marchbold commented on August 17, 2024

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.

github-actions avatar github-actions commented on August 17, 2024

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.

github-actions avatar github-actions commented on August 17, 2024

This issue was closed because it has been stalled for 5 days with no activity.

from ane-packagemanager.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.