FCM通知能否在Android上使用“复数”作为可本地化的标题或正文?
Firebase负载文档显示可本地化的标题 标题\位置\键可选,字符串 应用程序字符串资源中标题字符串的键,用于 将标题文本本地化为用户的当前本地化FCM通知能否在Android上使用“复数”作为可本地化的标题或正文?,android,firebase,push-notification,firebase-cloud-messaging,Android,Firebase,Push Notification,Firebase Cloud Messaging,Firebase负载文档显示可本地化的标题 标题\位置\键可选,字符串 应用程序字符串资源中标题字符串的键,用于 将标题文本本地化为用户的当前本地化 有人知道使用复数资源是否有效吗?如果没有字符串资源,只可能它会尝试复数(getQuantityString)使用Firebase libs版本10.2.6运行的测试表明title\u loc\u key或body\u loc\u key指定的资源必须是字符串资源复数资源 在我的测试中,当title\u loc\u key或body\u loc\u
有人知道使用
复数资源是否有效吗?如果没有字符串
资源,只可能它会尝试复数
(getQuantityString)使用Firebase libs版本10.2.6运行的测试表明title\u loc\u key
或body\u loc\u key
指定的资源必须是字符串
资源<收到消息时,不会搜索代码>复数
资源
在我的测试中,当title\u loc\u key
或body\u loc\u key
的消息中提供了复数标记时,会记录一条警告消息:
W/FirebaseMessaging: title_loc_key resource not found: myPluralsTitle Default value will be used
W/FirebaseMessaging: body_loc_key resource not found: myPluralsBody Default value will be used
使用Firebase libs版本10.2.6运行的测试表明,由title\u loc\u key
或body\u loc\u key
指定的资源必须是字符串
资源<收到消息时,不会搜索代码>复数
资源
在我的测试中,当title\u loc\u key
或body\u loc\u key
的消息中提供了复数标记时,会记录一条警告消息:
W/FirebaseMessaging: title_loc_key resource not found: myPluralsTitle Default value will be used
W/FirebaseMessaging: body_loc_key resource not found: myPluralsBody Default value will be used
好的,现在是使用数据消息的另一个原因。好的,现在是使用数据消息的另一个原因。