Flutter-位置设置未显示在设置选项中[仅IOS]

发布于 2025-01-27 21:02:01 字数 571 浏览 8 评论 0原文

我有些棘手的情况,我正在开发一个高度取决于位置服务的应用程序。它在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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文