Unity IAP not working with App Bundle build.

When I build the game to an App Bundle (Google Play) .aab extension, the IAP module doesn’t work.
Looking at the logcat of the app, IAP is not getting initialized because of the next error:

E/Unity: AndroidJavaException: java.lang.
ClassNotFoundException: com.android.billingclient.api.PurchasesUpdatedListener
java.lang.ClassNotFoundException: com.android.billingclient.api.PurchasesUpdatedListener

If I build to an APK everything works fine.
This error is keeping me from publishing the App Bundle to the Play Console. I can still upload the APK file, but an App Bundle would decrease the installation size in the devices.

Same problem here.

I think you can find some new info here:

https://forum.unity.com/threads/java-lang-classnotfoundexception-com-android-billingclient-api-purchasesupdatedlistener.1004868/