Skip to main content

Android - yuu SDK ID page

Profile Page

Open the yuu user profile page to display the member's QR code (containing their yuu ID). The page also accepts your app's loyalty info as an optional parameter to be displayed alongside.

val partnerInfo = PartnerLoyaltyInfo(
loyaltyId = "12345",
tcDisplayName = "中文名稱",
enDisplayName = "English Name"
)
YuuSdk.launchProfilePage(activity, partnerInfo)

PartnerLoyaltyInfo

The PartnerLoyaltyInfo object is used to display your app's loyalty information on the yuu profile page.

  • loyaltyId: Your app's unique loyalty ID for the user (not the yuu ID).
  • tcDisplayName: The user's name in Traditional Chinese.
  • enDisplayName: The user's name in English.

Note: The displayed name corresponds to the language configured in the SDK. Use YuuSdk.updateLanguage() to synchronize the SDK language with your app's current language setting.