简体   繁体   中英

Any way to Programmatically enable guided access using ionic capacitor/cordova cross platform?

I am using capacitor , ionic and react and was wondering how this would be done? Are there any plugins that I can use? Is there native Ionic functionality anywhere?

I believe Capacitor is backwards compatible with Cordova so you could use a Cordova plugin. I haven't tested the plugin but this one seems to do it for iOS: https://github.com/wizpanda/cordova-ios-guided-access You have to be enrolled in some program though, as it states.

If you need other platforms, then you could expose those native capabilities/APIs with the core platform language (Koltin/Java for Android, C#/C++ for Windows, etc..) and fork/extend this plugin. That way, at least the iOS version is already done (given this works).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM