Flutter-位置设置未显示在设置选项中[仅IOS]
我有些棘手的情况,我正在开发一个高度取决于位置服务的应用程序。它在Android上效果很好,但是在iOS上,它说许可证的许可被永久拒绝。 我的信息中确实有许可字符串。除此之外,我制作了一个按钮,可以在设置中打开应用程序设置。 在那里,我根本找不到位置选项。
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>some string</string>
<key>NSLocationAlwaysUsageDescription</key>
<string>some string</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>some string</string>
这些是我正在使用的权限。
Geolocator的版本=&gt;网格: ^8.2.0
我好心地请求帮助:)谢谢!
I somewhat got in a tricky situation, I'm developing an app that highly depends on location services. It works perfectly fine on android but on ios, it says PermissionException permission is denied permanently.
I do have permission strings in my info.plist and I'm actively requesting it on the home screen if the permission status is not accepted in any kind. Besides that, I made a button that opens the app settings in settings.
There I cant find a location option at all.
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>some string</string>
<key>NSLocationAlwaysUsageDescription</key>
<string>some string</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>some string</string>
Those are the permissions I'm using.
The version of Geolocator => geolocator: ^8.2.0
I kindly request help :) Thanks beforehand!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论