Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgraded the plugin so it works with AGP-8.x.x #254

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

SSamratR
Copy link
Contributor

@SSamratR SSamratR commented Jan 2, 2025

This pull request addresses compatibility issues with the Square In-App Payments Flutter SDK on newer versions of Android Gradle Plugin (AGP) and updates the Java implementation to align with the latest Android development standards. Specifically, this PR:

Updates the compileSdk to 35 to ensure compatibility with the latest Android APIs.
Updates the Android Gradle Plugin to version 8.6.0 and JDK to version 17, ensuring compatibility with the latest build tools.
Refactors the CardEntryModule.java to correctly reference style resources, resolving runtime issues related to UI customization.
These updates collectively address and resolve issues #240, #251, and #252, improving the reliability and compatibility of the plugin with modern Android development environments.

Related Issues
Fix #240
Fix #251
Fix #252

Changelog
Android Compatibility:

Updated compileSdk to 35.
Updated AGP to 8.6.0.
Updated JDK to 17.
Java Refactor:

Modified CardEntryModule.java to correctly reference style resources, fixing crashes and inconsistencies in UI rendering.

@SSamratR
Copy link
Contributor Author

SSamratR commented Jan 5, 2025

@brandonjenniges hello, can u please review this PR .

Copy link
Contributor

@shauna-kimura shauna-kimura left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@SSamratR
Copy link
Contributor Author

@shauna-kimura thanks for the approval, could u help me with the next step, i have already signed the cla.

@Armaxis Armaxis force-pushed the feature/upgrade-agp-8.6 branch from 6ebd4ac to 5cb781c Compare January 28, 2025 16:54
@CLAassistant
Copy link

CLAassistant commented Jan 28, 2025

CLA assistant check
All committers have signed the CLA.

@Armaxis Armaxis merged commit d03a993 into square:master Jan 28, 2025
2 checks passed
@shauna-kimura
Copy link
Contributor

@SSamratR We have released IAP SDK 1.7.10, the issues should now be resolved! Apologies for the delay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants