You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[in_app_purchase] Remove JSON code from Android wrapper objects #146202
The original Android implementation of IAP created the Dart wrapper objects, which are the public API for clients to interact directly with the Android SDK (rather than the higher-level abstraction of the app-facing package, which isn't always sufficient), directly from platform channel JSON serialization. The platform communication has since been converted to Pigeon, but since the JSON methods were public methods on public classes, we couldn't remove them without a breaking change, so they were deprecated instead.
We should, either the next time we are doing a breaking change to the Android implementation anyway, or just as a breaking change to do the cleanup at some point (I would not expect the vast majority of clients to actually be broken by the change, since they would have to have decided to directly used the JSON for some reason, so it should be pretty low-cost).
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
[in_app_purchase] Convert Android data objects to Pigeon (#6453)
[in_app_purchase] Convert Android data objects to Pigeon (flutter#6453)
RobertOdrowaz commentedon Feb 14, 2025
The JSON serialization has been removed from the Android implementation as part of Google Play Billing library update #8218
github-actions commentedon Feb 28, 2025
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.