Giter Club home page Giter Club logo

Comments (12)

oasisfeng avatar oasisfeng commented on July 24, 2024 1

Hi. I found this (Delegated-Scopes-Manager) from the developer of ice-box, it seem to be a way to share device administrator permissions, and it is based on the Android DevicePolicyManager.DELEGATION mechanism.

I'm working on a future-proof and more flexible API design.

from island.

oasisfeng avatar oasisfeng commented on July 24, 2024

Do you or you know any developer wish to build app ops features with these requested APIs? I'd like to discuss the API details in real world scenario.

from island.

JohnWang1023 avatar JohnWang1023 commented on July 24, 2024

I use the a app called 权限狗 AppOps to change App Ops. It uses Device Owner mode from 小黑屋 to change App Ops. I'd like to be able to use island with the app to change App Ops.

from island.

oasisfeng avatar oasisfeng commented on July 24, 2024

Thanks for your information. I'm contacting the developer of the app you mentioned above to discuss the API requirements.

from island.

JohnWang1023 avatar JohnWang1023 commented on July 24, 2024

Thanks for your information. I'm contacting the developer of the app you mentioned above to discuss the API requirements.

By the way the developer of 小黑屋 has a telegram account web1n and a telegram group at stopapp_group

from island.

wpecker avatar wpecker commented on July 24, 2024

@oasisfeng @JohnWang1023 I have also used App ops recently; but it seems that as long as it is frozen in the island and then unfrozen , App ops is considered a new application, and the previous settings will be lost.

from island.

oasisfeng avatar oasisfeng commented on July 24, 2024

@penhauer-xiao On device running Android P+, the App Ops will be preserved after being unfrozen. For lower version of Android, this will be implemented with root privilege in the future version of Island.

from island.

wpecker avatar wpecker commented on July 24, 2024

@oasisfeng Ok

APP ops has a problem with invalid permissions. However, I probably know that the APP ops has been tested to invalidate the permissions.

from island.

JohnWang1023 avatar JohnWang1023 commented on July 24, 2024

Hi. I found this (Delegated-Scopes-Manager) from the developer of ice-box, it seem to be a way to share device administrator permissions, and it is based on the Android DevicePolicyManager.DELEGATION mechanism.

from island.

oasisfeng avatar oasisfeng commented on July 24, 2024

New delegation-based API: https://island.oasisfeng.com/api

from island.

isaackwan avatar isaackwan commented on July 24, 2024

Piggybacking on this request, can I ask if you can open up additional delegated scopes, or even create a "God mode" scope where all DevicePolicyManager methods can be invoked?

For context: I am trying to create an app (for myself really) calling the addUserRestriction method so that non-Play-Store apps cannot be installed on the main profile.

This is the current list of supported delegated scopes:

    private fun getSupportedDelegatedScope(delegation: String): Pair<String, Int>? {
        return delegation to when (delegation) {
            ApiConstants.DELEGATION_PACKAGE_ACCESS ->   R.string.label_delegation_package_access
            ApiConstants.DELEGATION_APP_OPS ->          R.string.label_delegation_app_ops
            else -> return null
        }
    }

from island.

oasisfeng avatar oasisfeng commented on July 24, 2024

Piggybacking on this request, can I ask if you can open up additional delegated scopes, or even create a "God mode" scope where all DevicePolicyManager methods can be invoked?

For context: I am trying to create an app (for myself really) calling the addUserRestriction method so that non-Play-Store apps cannot be installed on the main profile.

This is the current list of supported delegated scopes:

    private fun getSupportedDelegatedScope(delegation: String): Pair<String, Int>? {
        return delegation to when (delegation) {
            ApiConstants.DELEGATION_PACKAGE_ACCESS ->   R.string.label_delegation_package_access
            ApiConstants.DELEGATION_APP_OPS ->          R.string.label_delegation_app_ops
            else -> return null
        }
    }

Additional delegated scopes can be added on demand, but only for scenarios targeting general public. If you need the new scope for your public app, please file a new feature request.

BTW, user restrictions are planned to be added in the future version of Island, as many users requested.

from island.

Related Issues (20)

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.