Skip to content

Conversation

KingkorAtMaxint
Copy link
Contributor

Fixes #114

@KingkorAtMaxint KingkorAtMaxint changed the base branch from master to dev September 20, 2024 06:05
@KingkorAtMaxint
Copy link
Contributor Author

KingkorAtMaxint commented Sep 20, 2024

Temporarily this can be used to let the build succeed in your app (if using Flutter 3.24.x)

dependencies:
  adapty_flutter:
    git:
      url: https://github.com/maxint-app/AdaptySDK-Flutter.git
      ref: fix/flutter-3.24.3-android-build-fails
  adapty_ui_flutter: ^2.1.3

dependency_overrides:
  adapty_flutter:
    git:
      url: https://github.com/maxint-app/AdaptySDK-Flutter.git
      ref: fix/flutter-3.24.3-android-build-fails

@andim27
Copy link

andim27 commented Feb 18, 2025

Not correct for Flutter 3.29.0:

lib/app/observers/adapty_observer.dart:86:10: Error: Type 'AdaptyPurchaseResult' not found.
  Future<AdaptyPurchaseResult?> callMakePurchase(AdaptyPaywallProduct product) async {
         ^^^^^^^^^^^^^^^^^^^^
lib/app/controllers/subscription_controller.dart:313:14: Error: 'AdaptyPurchaseResultSuccess' isn't a type.
        case AdaptyPurchaseResultSuccess(profile: final profile):
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
lib/app/controllers/subscription_controller.dart:316:14: Error: 'AdaptyPurchaseResultUserCancelled' isn't a type.
        case AdaptyPurchaseResultUserCancelled():
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
lib/app/controllers/subscription_controller.dart:318:14: Error: 'AdaptyPurchaseResultPending' isn't a type.
        case AdaptyPurchaseResultPending():
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
lib/app/controllers/subscription_controller.dart:457:46: Error: The getter 'subscription' isn't defined for the class 'AdaptyPaywallProduct'.

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

Successfully merging this pull request may close these issues.

Android Release Build Fails On Flutter 3.24.0
2 participants