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

[🐛] React Native not track in_app_purchase event for Android #8068

Open
CVHOANG-coder opened this issue Oct 17, 2024 · 4 comments
Open

[🐛] React Native not track in_app_purchase event for Android #8068

CVHOANG-coder opened this issue Oct 17, 2024 · 4 comments

Comments

@CVHOANG-coder
Copy link

Issue
Describe your issue here

Hello everyone i have problem with firebase analytics tracking for Android.My application is React Native.On Android i dont receive in_app_purchase event.

Javascript:

"dependencies": {
"@hookform/resolvers": "^3.9.0",
"@notifee/react-native": "^9.0.2",
"@react-native-clipboard/clipboard": "^1.14.1",
"@react-native-community/slider": "^4.5.2",
"@react-native-firebase/analytics": "^21.0.0",
"@react-native-firebase/app": "^21.0.0",
"@react-native-firebase/crashlytics": "^21.0.0",
"@react-native-firebase/messaging": "^21.0.0",
"@react-native-firebase/remote-config": "^21.0.0",
"@react-navigation/bottom-tabs": "^6.6.1",
"@react-navigation/native": "^6.1.18",
"@react-navigation/native-stack": "^6.11.0",
"@react-navigation/stack": "^6.4.1",
"@tanstack/react-query": "^5.52.2",
"axios": "^1.7.5",
"lottie-ios": "^4.5.0",
"lottie-react-native": "^7.0.0",
"moment": "^2.30.1",
"react": "18.2.0",
"react-hook-form": "^7.53.0",
"react-native": "0.72.15",
"react-native-blob-util": "^0.19.11",
"react-native-device-info": "^11.1.0",
"react-native-dotenv": "^3.4.11",
"react-native-gesture-handler": "^2.18.1",
"react-native-iap": "^12.15.2",
"react-native-in-app-review": "^4.3.3",
"react-native-linear-gradient": "^2.8.3",
"react-native-mmkv": "^2.12.2",
"react-native-modal": "^13.0.1",
"react-native-pager-view": "^6.3.4",
"react-native-permissions": "^4.1.5",
"react-native-reanimated": "^3.15.0",
"react-native-reanimated-carousel": "^3.5.1",
"react-native-safe-area-context": "^4.10.9",
"react-native-screens": "^3.34.0",
"react-native-share": "^11.0.3",
"react-native-splash-screen": "^3.3.0",
"react-native-svg": "15.1.0",
"react-native-tab-view": "^3.5.2",
"react-native-track-player": "^4.1.1",
"react-native-vector-icons": "^10.1.0",
"react-native-webview": "^13.12.3",
"yup": "^1.4.0",
"zustand": "^4.5.5"
}

Android:

// We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP.
buildscript {
ext {
buildToolsVersion = "34.0.0"
minSdkVersion = 24
compileSdkVersion = 34
targetSdkVersion = 34
ndkVersion = "23.1.7779620"
supportLibVersion = "28.0.0"
}
repositories {
google()
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle")
classpath("com.facebook.react:react-native-gradle-plugin")
classpath 'com.android.tools.build:gradle:7.4.2'
classpath 'com.google.gms:google-services:4.4.2'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.9'
}
}

@russellwheatley
Copy link
Member

hi @CVHOANG-coder - we're going to need more information than that. What API are you calling? Is the event not appearing in debug view?

@ouarrtaha
Copy link

Same here,
it works fine with ios iap events, but not android

@mikehardy
Copy link
Collaborator

@ouarrtaha

we're going to need more information than that. What API are you calling? Is the event not appearing in debug view?

Copy link

github-actions bot commented Dec 8, 2024

Hello 👋, to help manage issues we automatically close stale issues.

This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?

This issue will be closed in 15 days if no further activity occurs.

Thank you for your contributions.

@github-actions github-actions bot added the Stale label Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants