registerGooglePlayTransaction method
Registers the mapping between this user and a Google Play purchaseToken.
Implementation
Future<void> registerGooglePlayTransaction({
required String purchaseToken,
String? obfuscatedExternalAccountId,
}) async {
final request = UserRegisterGooglePlayTransactionRequest((b) => b
..purchaseToken = purchaseToken
..obfuscatedExternalAccountId = obfuscatedExternalAccountId);
await _sdk._users.registerGooglePlayTransaction(
appUserId: appUserId,
xApiKey: _sdk.apiKey,
userRegisterGooglePlayTransactionRequest: request,
);
}