MinaSamir11 / react-native-in-app-review

The Google Play In-App Review API, App store rating API lets you prompt users to submit Play Store or App store ratings and reviews without the inconvenience of leaving your app or game.
MIT License
646 stars 56 forks source link

Android not opening the popup. Shows: [Error: Failed to bind to the service.] #146

Open AahilShahzad opened 1 year ago

AahilShahzad commented 1 year ago

any one please help me out with this. IOS is working fine but not android getting error [Error: Failed to bind to the service.]

AahilShahzad commented 1 year ago

anyone else can help out?

MinaSamir11 commented 1 year ago

please mention your working environment.

AahilShahzad commented 1 year ago

getting exceptions in android

AahilShahzad commented 1 year ago

with version 4.3.1

MinaSamir11 commented 1 year ago

please install the new version 4.3.3.

paschenko commented 1 year ago

have same problem using 4.3.3

AahilShahzad commented 1 year ago

@MinaSamir11 facing the same issue with the latest version 4.3.3.

MinaSamir11 commented 1 year ago

@MinaSamir11 facing the same issue with the latest version 4.3.3.

please mention your working env.(package json dependancies)

yedi97 commented 1 year ago

@MinaSamir11 facing the same issue with the latest version 4.3.3.

please mention your working env.(package json dependancies)

I have same problem above, i'm using ver 4.3.3 working fine on IOS, but android not show, i'm pushed on internal testing

AahilShahzad commented 1 year ago

"dependencies": { "@gorhom/bottom-sheet": "^4.4.5", "@instana/react-native-agent": "1.10.0", "@kichiyaki/react-native-barcode-generator": "^0.6.7", "@ptomasroos/react-native-multi-slider": "^2.2.2", "@react-native-async-storage/async-storage": "^1.15.15", "@react-native-clipboard/clipboard": "^1.8.4", "@react-native-community/datetimepicker": "6.3.4", "@react-native-community/masked-view": "^0.1.10", "@react-native-community/netinfo": "^6.0.2", "@react-native-community/progress-bar-android": "^1.0.4", "@react-native-community/progress-view": "^1.3.2", "@react-native-community/slider": "4.3.1", "@react-native-firebase/analytics": "^12.9.0", "@react-native-firebase/app": "^12.9.0", "@react-native-firebase/messaging": "^12.9.0", "@react-native-picker/picker": "^1.16.6", "@react-navigation/bottom-tabs": "^6.4.0", "@react-navigation/core": "^6.0.1", "@react-navigation/native": "^6.0.2", "@react-navigation/stack": "^6.0.7", "@sentry/react-native": "^2.6.0", "axios": "^0.21.1", "buffer": "^5.5.0", "clevertap-react-native": "0.9.4", "compare-versions": "^4.1.3", "crypto-js": "^3.1.9-1", "fbjs": "^3.0.4", "formik": "^2.2.5", "i18n-js": "^3.8.0", "js-file-download": "^0.4.12", "lodash": "^4.17.20", "lottie-react-native": "^4.0.3", "moment": "^2.29.1", "moment-hijri": "^2.1.2", "react": "17.0.2", "react-native": "^0.66.4", "react-native-actionsheet": "^2.4.2", "react-native-adjust": "^4.28.0", "react-native-android-open-settings": "^1.3.0", "react-native-animated-ellipsis": "^2.0.0", "react-native-base64": "^0.2.1", "react-native-biometrics": "^3.0.1", "react-native-dash": "^0.0.11", "react-native-device-info": "^8.3.1", "react-native-dialog": "^8.2.0", "react-native-document-picker": "^6.0.4", "react-native-fast-image": "^8.3.6", "react-native-file-logger": "^0.2.1", "react-native-flash-message": "^0.3.1", "react-native-flip-card": "^3.5.6", "react-native-geolocation-service": "*", "react-native-gesture-handler": "^2.4.1", "react-native-get-random-values": "^1.4.0", "react-native-haptic-feedback": "^1.11.0", "react-native-image-crop-picker": "^0.36.2", "react-native-in-app-review": "^4.3.3", "react-native-linear-gradient": "^2.6.2", "react-native-map-link": "^2.7.3", "react-native-maps": "^0.28.0", "react-native-modal-datetime-picker": "^10.2.0", "react-native-month-year-picker": "^1.8.0", "react-native-paper": "^4.12.1", "react-native-passkit-wallet": "^0.1.4", "react-native-pdf": "6.3.0", "react-native-permissions": "^3.0.5", "react-native-picker-select": "^8.0.4", "react-native-popup-dialog": "^0.18.3", "react-native-progress": "^5.0.0", "react-native-raw-bottom-sheet": "^2.2.0", "react-native-reanimated": "^2.10.0", "react-native-restart": "0.0.22", "react-native-root-siblings": "^4.1.1", "react-native-root-toast": "^3.2.1", "react-native-safe-area-context": "^3.3.2", "react-native-screens": "^3.6.0", "react-native-share": "^7.0.0", "react-native-smooth-pincode-input": "^1.0.9", "react-native-snap-carousel": "^3.9.1", "react-native-splash-screen": "^3.2.0", "react-native-status-bar-height": "^2.6.0", "react-native-super-ellipse-mask": "^1.0.7", "react-native-svg": "^12.1.1", "react-native-swipe-gestures": "^1.0.5", "react-native-webview": "^11.14.3", "react-redux": "^7.1.3", "redux": "^4.0.5", "redux-persist": "^6.0.0", "redux-thunk": "^2.3.0", "rn-fetch-blob": "0.12.0", "rn-secure-storage": "^2.0.7", "sprintf-js": "^1.1.2", "use-count-up": "^3.0.1", "uuid": "^8.3.2", "yup": "^0.29.3" }, "devDependencies": { "@babel/core": "^7.12.9", "@babel/runtime": "^7.12.5", "@react-native-community/eslint-config": "^2.0.0", "@types/react-native": "^0.66.3", "babel-jest": "^26.6.3", "babel-plugin-module-resolver": "^4.1.0", "chai": "^4.3.6", "enzyme": "^3.11.0", "enzyme-adapter-react-16": "^1.15.2", "enzyme-to-json": "^3.6.2", "eslint": "7.14.0", "eslint-import-resolver-babel-module": "^5.3.1", "eslint-plugin-import": "^2.26.0", "jest": "^26.6.3", "jest-environment-enzyme": "^7.1.2", "jest-enzyme": "^7.1.2", "jetifier": "^2.0.0", "metro-react-native-babel-preset": "^0.66.2", "npm-check-updates": "^11.8.5", "prop-types": "^15.7.2", "react-native-svg-transformer": "^1.0.0", "react-test-renderer": "17.0.2", "reactotron-react-native": "^4.0.2", "replace-in-file": "^6.3.2", "replace-in-files": "^3.0.0" },

AahilShahzad commented 1 year ago

@MinaSamir11 if you can help me out it will be a great favour. Thanks

AahilShahzad commented 1 year ago

someone can help please?

matej-podzemny commented 1 year ago

Any updates? have the same issue no pop up on android, works fine for iOS

tsapa44 commented 1 year ago

I have the same error on Android Emulator

Version of the lib: 4.3.3

package.json dependencies:

{
  "dependencies": {
    "@amplitude/analytics-react-native": "1.1.1",
    "@apollo/client": "3.7.5",
    "@hookform/resolvers": "2.9.10",
    "@react-native-async-storage/async-storage": "1.17.11",
    "@react-native-clipboard/clipboard": "1.11.2",
    "@react-native-community/datetimepicker": "6.7.5",
    "@react-native-community/netinfo": "9.3.6",
    "@react-native-community/push-notification-ios": "1.10.1",
    "@react-native-cookies/cookies": "6.2.1",
    "@react-native-firebase/analytics": "17.3.0",
    "@react-native-firebase/app": "17.3.0",
    "@react-native-firebase/crashlytics": "17.3.0",
    "@react-native-firebase/dynamic-links": "17.3.0",
    "@react-native-firebase/messaging": "17.3.0",
    "@react-native-firebase/remote-config": "17.3.0",
    "@react-native-picker/picker": "2.4.8",
    "@react-navigation/bottom-tabs": "6.4.1",
    "@react-navigation/native": "6.0.14",
    "@react-navigation/stack": "6.3.5",
    "@reduxjs/toolkit": "1.9.0",
    "axios": "0.21.1",
    "dayjs": "1.11.7",
    "graphql": "16.6.0",
    "i18next": "21.2.4",
    "lodash.clonedeep": "4.5.0",
    "prop-types": "15.8.1",
    "react": "18.1.0",
    "react-hook-form": "^7.39.7",
    "react-i18next": "11.12.0",
    "react-native": "0.70.6",
    "react-native-actions-sheet": "0.8.10",
    "react-native-appsflyer": "6.9.4",
    "react-native-autoheight-webview": "1.6.5",
    "react-native-bootsplash": "4.6.0",
    "react-native-config": "1.4.11",
    "react-native-device-info": "10.3.0",
    "react-native-gesture-handler": "2.9.0",
    "react-native-image-crop-picker": "0.39.0",
    "react-native-in-app-review": "4.3.3",
    "react-native-localize": "2.2.6",
    "react-native-markdown-display": "7.0.0-alpha.2",
    "react-native-permissions": "3.6.1",
    "react-native-push-notification": "8.1.1",
    "react-native-safe-area-context": "4.4.1",
    "react-native-screens": "3.18.2",
    "react-native-splash-screen": "3.3.0",
    "react-native-svg": "13.6.0",
    "react-native-svg-transformer": "1.0.0",
    "react-native-toast-notifications": "3.3.1",
    "react-native-tracking-transparency": "0.1.2",
    "react-native-webview": "11.26.1",
    "react-native-wheel-pick": "1.2.0",
    "react-redux": "8.0.5",
    "yup": "0.32.11"
  }
}
prashantma-iprogrammer commented 1 year ago

I am also getting the same error in the emulator but when I run on the device it works fine. Please try to run the code on an actual device not on an emulator.

alu0100207385 commented 1 year ago

I tested the last version on a physical device (Samsung Galaxy S10+, Android 12) and it does not work. Even when it runs in debug mode. Do you have any ideas/suggestions? Thank you in advance.

EDIT: Check this https://stackoverflow.com/questions/63286540/play-core-in-app-review-api-not-showing-the-review-activity/65333746#65333746. I hope this information can help you.

rishiankush commented 11 months ago

Any updates on this. I tried on both emulator and actual device for Android. Also I tried with production environment as well, still nothing happens on Android.

davidwinograd1 commented 11 months ago

any updates?

anniewey commented 3 months ago

Same, pop up is not showing in my android devices but i'm not getting any error either. Ran in debug mode.

Both InAppReview.isAvailable() and InAppReview.RequestInAppReview() returns true tho. Not sure if this is google error or some issue with the library.

Tested on Samsung A70, Android 11

"react-native-in-app-review": "^4.3.3",

Update: Pushed to Internal Track and tested but didn't get any pop up either, @MinaSamir11 any pointers?