Comments (11)
That's interesting. The fact is, in your case, the operating system delivers an empty view hierarchy. Normally it happens when the assist app has no access to the "text from screen". This is why it is advised to verify the assist app settings.
However, it's quite hard to answer, why it happens in your case.
Could you please share more information?:
- What device do you use (model, android version)?
- Did you try to inspect other apps? Does the "Screen data isn't available" appears always, for any inspected app, or only for a specific one?
from android-developer-assistant.
from android-developer-assistant.
The only possibility I see is the fact, the operating system has been modified by Magisk. I'm not familiar with this rooting solution, it is really hard for me to tell something more.
To be honest, I'm focused on support of not rooted devices. Plain devices have multiple constrains but also multiple well established functionalities, Developer Assistant is aligned to that. To work in this environment.
I must say, testing on rooted devices is not my priority. There is just too many cases to handle with official Android distributions.
In case you made any purchase in the app, please contact me via support(at)appsisle.com, sending your order ID, I will refund the purchase of course:)
from android-developer-assistant.
Although I don't think that the issue is being caused by Magisk I understand what you mean and I'd understand if you want to close this issue, however please take a look at what I found while checking the logcat. This appears the first time the app gets called using the home button
from android-developer-assistant.
from android-developer-assistant.
Yep. Tried several times
from android-developer-assistant.
@Galo223344 Thanks for the report related to the requestLayout(), I will verify it. However this won't help with our issue in any way.
Basing on the input from @JohnholderStl (thanks for that!) I will update the screen, which additional suggestion to try to deactivate and activate the "Use text from screen" switcher to verify if it will help in case user sees it activated but still no views information delivered by the operating system.
@Galo223344 for you case, I would like to help, however it's hard to propose something useful, the app has a simple "if statement", if the operating system returned NO views, which could be analyzed by the app, then it shows the UI you have experienced. Normally, during my tests it happened only if user didn't activate the "Use text from screen". Even if the app wouldn't display this screen, we would still have the issue: no data to present on screens displayed instead.
If you would be interested, the exact API I'm mentioning is: https://developer.android.com/reference/android/app/assist/AssistStructure.html#getWindowNodeCount()
I believe, on your device, this method returns 0. Thus the app has no windows to iterate through to collect information on their views.
I will keep this issue open and try to reproduce the case somehow, but I wonder if I will be able to help.
from android-developer-assistant.
The only possibility I see is the fact, the operating system has been modified by Magisk. I'm not familiar with this rooting solution, it is really hard for me to tell something more.
To be honest, I'm focused on support of not rooted devices. Plain devices have multiple constrains but also multiple well established functionalities, Developer Assistant is aligned to that. To work in this environment.
I must say, testing on rooted devices is not my priority. There is just too many cases to handle with official Android distributions.
In case you made any purchase in the app, please contact me via support(at)appsisle.com, sending your order ID, I will refund the purchase of course:)
It's 100% not magisk, Magisk is a systemless root binary so a Non-root app shouldn't even be effected unless he installed some sort of magisk module that effects the app directly; which is unlikely. Most likely it's just his ROM (MIUI) which is notorious for being a pain in the ass for developers because they don't like to stick to the standard.
Example : I have Magisk Root on my OnePlus 6T with Android 10 (OOS ROM) and can use your app just fine.
from android-developer-assistant.
Although I don't think that the issue is being caused by Magisk I understand what you mean and I'd understand if you want to close this issue, however please take a look at what I found while checking the logcat. This appears the first time the app gets called using the home button
Try disabling MIUI Optimization in developer settings.
from android-developer-assistant.
In my case the reason was SmaliPatcher Magisk module for bypassing secure flag.
I disabled the module, rebooted, then the application started working correctly.
from android-developer-assistant.
from android-developer-assistant.
Related Issues (19)
- Please add support for notifications HOT 2
- Just suggestion HOT 1
- Developer Assistant not trigger on OnePlus 8T - Android 11
- Not showing default in assist and input my is infinix hd HOT 2
- Can't press long home button on ldplayer
- Flutter app inspection HOT 2
- Android Compose app inspection
- Add 'Accessibility Service' Mode HOT 2
- Terminal transcript
- Invitation à une réunion : Jessy ste-croix vous invite à une réunion
- xiaomi mix2 long press home not work HOT 4
- New state_of/the#art HOT 2
- Current version doesn't support dialogs HOT 5
- App does not detect button colors
- The application does not detect backgroungTint HOT 1
- Can't find developer assistant app when entering settings>Assistant to set as "default assistant" HOT 2
- ADA not present HOT 1
- Opening app if I have no navigation buttons. HOT 2
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 android-developer-assistant.