我正在使用Ionic和inAppBrowser(名为ThemeableBrowser的分支)构建混合应用程序。我的问题是我无法在使用inAppBrowser打开的任何应用程序中访问相机。我更改了config.xml并添加了
<config-file parent="NSCameraUsageDescription" platform="ios" target="*-Info.plist">
<string>Godkänner du att appen får tillgång till din kamera?</string>
</config-file>
<config-file parent="NSPhotoLibraryUsageDescription" platform="ios" target="*-Info.plist">
<string>Godkänner du att appen får tillgång till ditt fotobibliotek?</string>
</config-file>
但它仍然无效。我在google搜索时可以找到的是我需要在config.xml中添加以上两项内容,但它在iOS 10上不起作用。在iOS 9上它工作正常。
有什么想法吗?