react-native-in-app-review icon indicating copy to clipboard operation
react-native-in-app-review copied to clipboard

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

Open AahilShahzad opened this issue 1 year ago • 20 comments

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 avatar Mar 13 '23 07:03 AahilShahzad

anyone else can help out?

AahilShahzad avatar Mar 14 '23 14:03 AahilShahzad

please mention your working environment.

MinaSamir11 avatar Mar 14 '23 14:03 MinaSamir11

getting exceptions in android

AahilShahzad avatar Mar 15 '23 08:03 AahilShahzad

with version 4.3.1

AahilShahzad avatar Mar 15 '23 11:03 AahilShahzad

please install the new version 4.3.3.

MinaSamir11 avatar Mar 16 '23 14:03 MinaSamir11

have same problem using 4.3.3

paschenko avatar Mar 17 '23 13:03 paschenko

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

AahilShahzad avatar Mar 19 '23 09:03 AahilShahzad

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

please mention your working env.(package json dependancies)

MinaSamir11 avatar Mar 20 '23 15:03 MinaSamir11

@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

yedi97 avatar Mar 21 '23 03:03 yedi97

"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 avatar Mar 21 '23 08:03 AahilShahzad

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

AahilShahzad avatar Mar 22 '23 09:03 AahilShahzad

someone can help please?

AahilShahzad avatar Apr 05 '23 09:04 AahilShahzad

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

matej-podzemny avatar Apr 24 '23 21:04 matej-podzemny

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"
  }
}

tsapa44 avatar May 09 '23 15:05 tsapa44

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.

prashantma-iprogrammer avatar May 31 '23 10:05 prashantma-iprogrammer

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.

alu0100207385 avatar Jun 15 '23 08:06 alu0100207385

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.

rishiankush avatar Jul 20 '23 06:07 rishiankush

any updates?

davidwinograd1 avatar Jul 25 '23 16:07 davidwinograd1

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?

anniewey avatar Mar 05 '24 08:03 anniewey