من مزايا ربط التطبيقات أنّه يمكّن عبارة الطلب من توجيه
المستخدمين إلى تجاربك المرتبطة بعلامتك التجارية من "محفظة Google". تظهر الروابط التي تتضمّن هذه الميزة في أسفل
البطاقة.
مثال على الميزة
جهة الإصدار
ضبط رابط التطبيق في بطاقة "محفظة Google"
بالنسبة إلى بطاقة مرور عامة معيّنة، اضبط الحقل GenericObject.appLinkData
على معرّف الموارد المنتظم (URI) أو اسم الحزمة لتطبيقك أو موقعك الإلكتروني.
اطّلِع على تنسيق حقل appLinkData وسياقه في رمز المصدر التالي:
يمكن إدخال 30 حرفًا كحد أقصى في حقل displayText.
تاريخ التعديل الأخير: 2025-02-28 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-02-28 (حسب التوقيت العالمي المتفَّق عليه)"],[[["There are four ways to add links to Generic passes: using `GenericClass.LinksModuleData` for all passes of a class, using `GenericObject.LinksModuleData` for a specific pass, using `GenericObject.appLinkData` for an app link at the bottom of a specific pass, and using `GenericClass.appLinkData` for an app link at the bottom of all passes of a class."],["App linking allows call-to-actions on Google Wallet passes to direct users to branded experiences, with links appearing at the bottom of the pass."],["To set an app link, configure the `GenericObject.appLinkData` field with the URI or package name of your app or website for a specific pass or `GenericClass.appLinkData` for all passes of that class."],["The `appLinkData` field can include `androidAppLinkInfo` for Android apps and `webAppLinkInfo` for websites, and the `displayText` field, limited to 30 characters, provides a label for the link."],["You can alternatively use `targetUri` within `androidAppLinkInfo` to link directly to your app's Play Store listing instead of opening the app directly."]]],["Links can be added to Generic passes via `GenericClass.LinksModuleData` (for all class passes) or `GenericObject.LinksModuleData` (for specific passes). App links, displayed at the pass's bottom, are added using `GenericObject.appLinkData` (specific pass) or `GenericClass.appLinkData` (all class passes). `appLinkData` uses either `androidAppLinkInfo` with a package name or `webAppLinkInfo` for deep linking. `displayText` field is limited to 30 characters.\n"]]