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

[Bug]: [Android] logPurchase not passing amount #359

Closed
1 task done
darajava opened this issue May 21, 2024 · 3 comments
Closed
1 task done

[Bug]: [Android] logPurchase not passing amount #359

darajava opened this issue May 21, 2024 · 3 comments
Labels
bug🐞 Something isn't working no-issue-activity

Comments

@darajava
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I am passing amount in logPurchase() like so:

final facebookAppEvents = FacebookAppEvents();
await facebookAppEvents.logPurchase(
  amount: priceAmountMicros / 1000000,
  currency: currencyCode,
);

When it goes to facebook, the amount is not registered

image

Expected Behavior

I expect the amount to be passed to facebook in _valueToSum

Steps To Reproduce

Run above code and see event metadata in facebook.

Platform

Android

Flutter Doctor

[✓] Flutter (Channel stable, 3.19.6, on macOS 13.5 22G74 darwin-arm64, locale en-GB)
    • Flutter version 3.19.6 on channel stable at /Users/dara/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 54e66469a9 (5 weeks ago), 2024-04-17 13:08:03 -0700
    • Engine revision c4cd48e186
    • Dart version 3.3.4
    • DevTools version 2.31.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/dara/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] VS Code (version 1.89.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.88.0

[✓] Connected device (4 available)
    • sdk gphone64 arm64 (mobile) • emulator-5554             • android-arm64  • Android 14 (API 34) (emulator)
    • Dara’s iPhone (mobile)      • 00008110-001E35E10CDB801E • ios            • iOS 17.5.1 21F90
    • macOS (desktop)             • macos                     • darwin-arm64   • macOS 13.5 22G74 darwin-arm64
    • Chrome (web)                • chrome                    • web-javascript • Google Chrome 125.0.6422.60

[✓] Network resources
    • All expected network resources are available.

• No issues found!
@darajava darajava added the bug🐞 Something isn't working label May 21, 2024
@darajava
Copy link
Author

project dead?

Copy link

github-actions bot commented Jun 5, 2024

This issue is stale because it has been open 7 days with no activity. Remove stale label or comment or this will be closed in 5 days.

Copy link

This issue was closed because it has been stalled for 5 days with no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug🐞 Something isn't working no-issue-activity
Projects
None yet
Development

No branches or pull requests

1 participant