Skip to main content
Solved

gerting a deprecation error using flutter

  • July 2, 2022
  • 1 reply
  • 296 views

Forum|alt.badge.img

I get the following error in iOS build. it looks like the flutter package is using a deprecated method. 
 

/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/amplitude_flutter-3.10.0/ios/Classes/SwiftAmplitudeFlutterPlugin.swift:127:64: warning: 'logRevenue(_:quantity:price:)' is deprecated: Use `logRevenueV2` and `AMPRevenue` instead
                    Amplitude.instance(withName: instanceName).logRevenue(productIdentifier,

 

 

Best answer by Denis Holmes

Hi @assembly ,

 

Is this with the most recent upgrade? If so, can you revert to the previous version for now? If that is the case, can you then PM me your Org ID and the Flutter SDK version you are using and I will log a ticket for it. However, please expect delays as we are observing a company-designated week-off from July 4-8. Support(like right now) will be online for coverage but the Product Development team will only be available for major incidents/bugs. Thank you for your patience and understanding!

 

Kind Regards,
Denis

View original
Did this topic help you find an answer to your question?

1 reply

Denis Holmes
Team Member
Forum|alt.badge.img+8
  • Team Member
  • 448 replies
  • Answer
  • July 4, 2022

Hi @assembly ,

 

Is this with the most recent upgrade? If so, can you revert to the previous version for now? If that is the case, can you then PM me your Org ID and the Flutter SDK version you are using and I will log a ticket for it. However, please expect delays as we are observing a company-designated week-off from July 4-8. Support(like right now) will be online for coverage but the Product Development team will only be available for major incidents/bugs. Thank you for your patience and understanding!

 

Kind Regards,
Denis


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings