权限控制 - Android混合开发的权限问题?
迷茫
迷茫 2017-04-18 09:05:46
0
4
503

因为本人没有做过混合开发, 想问问 在android 的混合开发中. 页面由前端人员控制吗? 那 权限怎么办呢? 之前面试当中遇到过,求大神解答!

迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all(4)
大家讲道理

Hybrid development uses Java and H5 to jointly develop the interface, and communicates through JsBridge. Part of the interface is written locally, and then the data is obtained through network requests for display. Of course, it can also be completely H5 interface and displayed in WebView.
Permissions can be applied for in Manifest.xml, and above 6.0 can be applied dynamically through code.
The H5 interface can be written by specialized front-end personnel, or simply Android developers.

PHPzhong

Android side control permissions

刘奇

Permissions are controlled by the Android side, and after executing the Java code, it interacts with the web layer to transfer information.

小葫芦

Use JS to allow web and native to interact and dynamically apply for required permissions

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template