I use appinventor sources to create extensions and already have knowledge to create extensions.
Thanks anyway.
But sorry I am quite busy in making an extension which will be released in the middle of the month.
That’s why I asked @Ken to give it a try.
@taifun can you Please Give it a try. You are only the last hope. I have done my 90% App but stuck because of Notification Listener Service… There is no other way to complete it.
Please don’t shoot. On a similar note, could someone help show me how they handle services when building extensions. I’v’e tried using inner classes implementing the service but not sure that’s such a good idea.
We Reached at this Stage. Note: I Don’t Have JAVA Knowledge Is required to add Manifest Permission in Extension? is it possible to add Permissions in Extension?
I got This Permission using Activity Starter: android.settings.ACTION_NOTIFICATION_LISTENER_SETTINGS
@vknow360 Also, Suggest Which Permissions are required. to read Notification of third party app.
android.permission.BIND_NOTIFICATION_LISTENER_SERVICE cannot be asked from the app itself because it must be defined with the <service> element by the android:permission attribute in the AndroidManifest.xml.
The problem is that I don’t think this can even be asked because Kodular adds services and elements with attributes to the AndroidManifest.xml after the app has been launched. There’s no definitive way as far as I know to do it. Even if you run the app and extract the .APK, it will still not work. However this can vary from situation to situation as I haven’t really went into much detail.
@akshay_gadekar However hope should not be lost. Define the permission in your extension @UsesPermissions("android.permission.BIND_NOTIFICATION_LISTENER_SERVICE"). When you build your extension, obviously upgrade it in your app and compile your .APK. It won’t ask you for the permission, but you should be able to find it somewhere. On an S7 Edge, you’d navigate like this Settings ~ Apps ~ 3-dotted Menu ~ Special Access ~ then Notification Access. You’d find your app there and enable it. I’m not sure if it’d work, but it’s a shear attempt at something good.