Deprecated API - Google Pay Module / Unsafe Card Entry Module

The Google Pay Module and Card Entry Module are included the in the InApp Payments Module Package which is imported with the inApp Payments API. I have received the following exceptions below during the gradle rebuild of my project.

Is this a common issue? Is this problem being addressed?

Note: C:\Users\phill\AppData\Local\Pub\Cache\hosted\pub.dev\square_in_app_payments-1.7.8\android\src\main\java\sqip\flutter\internal\GooglePayModule.java uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details. Note: C:\Users\phill\AppData\Local\Pub\Cache\hosted\pub.dev\square_in_app_payments-1.7.8\android\src\main\java\sqip\flutter\internal\CardEntryModule.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details.

Yes, the team is aware of this. It’s just a warning and isn’t a blocker for taking payments. Thanks for reaching out about this. :slightly_smiling_face:

1 Like