Google.Play.Billing.Editor.GooglePlayBillingBuildHelper

Helper class to address building issues of GooglePlayBilling Plugin.

Summary

Public static functions

HasConflictingGoogleAarFile()
bool
Returns whether there is a conflicting aar file that will cause failure when building the APK.
RemoveConflictingAarFiles()
bool
Remove the conflicting GoogleAIDL.aar and GooglePlayBilling.aar from Assets scope by moving it to a backup directory.
RestoreConflictingAarFiles()
bool
Restore the conflicting GoogleAIDL.aar and GooglePlayBilling.aar back to Assets scope by moving it back from the backup directory.

Public static functions

HasConflictingGoogleAarFile

bool HasConflictingGoogleAarFile()

Returns whether there is a conflicting aar file that will cause failure when building the APK.

RemoveConflictingAarFiles

bool RemoveConflictingAarFiles()

Remove the conflicting GoogleAIDL.aar and GooglePlayBilling.aar from Assets scope by moving it to a backup directory.

TODO (b/145928532): display error message on UI.

Details
Returns
true if operation succeed, otherwise false.

RestoreConflictingAarFiles

bool RestoreConflictingAarFiles()

Restore the conflicting GoogleAIDL.aar and GooglePlayBilling.aar back to Assets scope by moving it back from the backup directory.

TODO (b/145928532): display error message on UI.

Details
Returns
true if operation succeed, otherwise false.