我在flutter gen-l10 n中使用多种语言,并希望在info. plist中使用多种语言的应用程序名称和权限请求。
- 拒收明细
We noticed an issue in your app that contributes to a lower-quality user experience than App Store users expect:
- Your app's permissions requests are written in English while the app is set to the Japanese localization. To help users understand why your app is requesting access to a specific feature, your app's permission requests should be in the same language as your app's current localization.
- pubspec.yaml
version: 1.0.0+1
environment:
sdk: ">=2.19.6 <3.0.0"
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
intl: ^0.18.1
app_tracking_transparency: ^2.0.4
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^2.0.0
flutter:
uses-material-design: true
true
1条答案
按热度按时间mnowg1ta1#
您需要在
CFBundleLocalizations
属性下的Info.plist
文件中指定应用支持的语言列表。在某些情况下,您的应用支持的语言可能不存在于iOS系统首选语言列表中,这会导致在运行时应用中出现多种语言。这可能是一个潜在的苹果审查拒绝的原因。