react-native-in-app-review
react-native-in-app-review copied to clipboard
Android working intermittently
``Hi, I've been trying to prompt the in app review pop up for about month. It's working fine and as intended in iOS but kinda intermittent in android. I noticed that if i create new gmail and install using those brand new gmail it will always worked, but for existing user it sometimes work sometimes doesnt (intermittent). I've been followong this guide below :
- Make sure you have installed latest google play store update.
- Note that the popup will not work if you are signed in to the Play Store with a GSuite ID. Once you switch to an @gmail email address, this will start working.
- Make sure there is only one Google account in the test device.
- Please note, that user must be a tester if you are testing on any testing track.
- CLEAR CACHE and CLEAR STORAGE from Google Play Store app.
- Remove existing app rating in Google Play Store.
- after doing all of pervious solutions, remove your app and reinstall it.
but still kinda the same from what i test. Is there anything else to do in order to makes the experience more consistent?
Thanks
below are my package.json in case needed
"scripts": {
"test": "jest",
"android": "react-native run-android",
"ios": "react-native run-ios",
"start": "react-native start",
"clean": "rm -rf $TMPDIR/react-* && watchman watch-del-all && npm cache clean --force",
"clean:android": "cd android/ && ./gradlew clean && cd .. && react-native run-android",
"newclear": "rm -rf $TMPDIR/react-* && watchman watch-del-all && rm -rf ios/build && rm -rf node_modules/ && npm cache clean --force && npm i",
"test:watch": "jest --watch",
"updateSnapshot": "jest --updateSnapshot",
"coverage": "jest --coverage && open coverage/lcov-report/index.html || xdg-open coverage/lcov-report/index.html",
"android:build": "cd android && ./gradlew assembleRelease",
"android:install": "cd android && ./gradlew assembleRelease && ./gradlew installRelease",
"android:hockeyapp": "cd android && ./gradlew assembleRelease && puck -submit=auto app/build/outputs/apk/app-release.apk",
"android:devices": "$ANDROID_HOME/platform-tools/adb devices",
"android:logcat": "$ANDROID_HOME/platform-tools/adb logcat *:S ReactNative:V ReactNativeJS:V",
"android:shake": "$ANDROID_HOME/platform-tools/adb devices | grep '\\t' | awk '{print $1}' | sed 's/\\s//g' | xargs -I {} $ANDROID_HOME/platform-tools/adb -s {} shell input keyevent 82",
"storybook": "storybook start -p 7007",
"lint": "standard --verbose | snazzy",
"lintdiff": "git diff --name-only --cached --relative | grep '\\.js$' | xargs standard | snazzy",
"fixcode": "standard --fix",
"git-hook": "npm run lint -s && npm run test -s",
"postinstall": "./node_modules/react-native-maps/enable-google-maps 'ios/GoogleMaps/**' && patch-package",
"build:ios": "react-native bundle --entry-file='index.js' --bundle-output='./ios/main.jsbundle' --dev=false --platform='ios'"
},
"dependencies": {
"@native-html/table-plugin": "^3.1.1",
"@react-native-community/netinfo": "2.0.10",
"@react-native-community/progress-bar-android": "^1.0.3",
"@react-native-community/progress-view": "^1.1.1",
"apisauce": "^1.0.2",
"babylon": "^6.18.0",
"base-64": "^0.1.0",
"crypto-js": "^3.1.9-1",
"decode-html": "^2.0.0",
"format-json": "^1.0.3",
"identity-obj-proxy": "^3.0.0",
"jail-monkey": "^2.6.0",
"lodash": "^4.17.11",
"moment": "^2.24.0",
"prop-types": "^15.6.1",
"querystringify": "2.1.0",
"ramda": "^0.27.0",
"react": "16.13.1",
"react-native": "0.63.5",
"react-native-add-calendar-event": "^4.0.0",
"react-native-animatable": "^1.3.1",
"react-native-app-settings": "^2.0.1",
"react-native-background-timer": "^2.4.1",
"react-native-calendars": "^1.22.0",
"react-native-circular-progress": "^1.1.0",
"react-native-config": "^1.4.3",
"react-native-device-info": "^5.6.3",
"react-native-gesture-handler": "^1.7.0",
"react-native-in-app-review": "^4.3.3",
"react-native-inappbrowser-reborn": "^3.7.0",
"react-native-indicators": "^0.13.0",
"react-native-localization": "^2.1.1",
"react-native-maps": "0.27.1",
"react-native-onesignal": "^4.5.0",
"react-native-pdf": "^6.2.1",
"react-native-privacy-snapshot": "https://github.com/simpleTechs/react-native-privacy-snapshot.git#develop",
"react-native-qrcode-svg": "^5.1.2",
"react-native-reanimated": "^1.10.1",
"react-native-render-html": "^5.0.1",
"react-native-screens": "^2.9.0",
"react-native-select-dropdown": "^2.0.4",
"react-native-send-intent": "^1.2.3",
"react-native-snap-carousel": "^3.7.5",
"react-native-splash-screen": "^3.2.0",
"react-native-svg": "^9.2.4",
"react-native-webview": "^10.3.2",
"react-native-wheel-pick": "https://github.com/ARDcode/react-native-wheel-pick.git#2ca6855",
"react-navigation": "^4.4.0",
"react-navigation-drawer": "^1.4.0",
"react-navigation-redux-helpers": "^3.0.0",
"react-navigation-stack": "^1.7.3",
"react-navigation-tabs": "^1.2.0",
"react-redux": "^6.0.1",
"redux": "^4.0.0",
"redux-saga": "^1.0.1",
"reduxsauce": "1.0.1",
"rn-fetch-blob": "^0.12.0",
"seamless-immutable": "^7.1.4"
},
"devDependencies": {
"@babel/core": "^7.8.4",
"@babel/runtime": "^7.8.4",
"@react-native-community/eslint-config": "^1.1.0",
"@storybook/addon-storyshots": "^4.1.12",
"@storybook/addons": "^4.1.12",
"@storybook/channels": "^4.1.12",
"@storybook/react-native": "^4.1.12",
"babel-eslint": "10.0.1",
"babel-jest": "^25.1.0",
"babel-plugin-ignite-ignore-reactotron": "^0.3.0",
"babel-plugin-transform-remove-console": "^6.9.4",
"babel-preset-env": "^1.6.1",
"babel-preset-react-native": "^4.0.1",
"babel-traverse": "^6.26.0",
"enzyme": "^3.2.0",
"enzyme-adapter-react-16": "^1.1.0",
"eslint": "^6.5.1",
"eslint-config-airbnb": "^17.1.0",
"eslint-plugin-import": "^2.17.2",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-react": "^7.13.0",
"ignite-andross": "^3.0.4",
"ignite-animatable": "1.0.2",
"ignite-redux-persist": "^2.0.0",
"ignite-standard": "1.0.0",
"jest": "^25.1.0",
"metro-react-native-babel-preset": "^0.59.0",
"mockery": "^2.1.0",
"patch-package": "^6.5.0",
"postinstall-postinstall": "^2.1.0",
"react-devtools-core": "3.6.0",
"react-dom": "16.8.2",
"react-native-obfuscating-transformer": "^1.0.0",
"react-test-renderer": "16.13.1",
"reactotron-react-native": "^2.1.0",
"reactotron-redux": "^2.1.0",
"reactotron-redux-saga": "^4.0.1",
"snazzy": "^8.0.0",
"standard": "12.0.1"
},
"jest": {
"testMatch": [
"<rootDir>/Tests/**/*.js",
"**/?(*.)(spec|test).js?(x)"
],
"testPathIgnorePatterns": [
"/node_modules/",
"<rootDir>/Tests/Setup.js"
],
"moduleNameMapper": {
"^.+\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "identity-obj-proxy"
},
"transform": {
"^.+\\.(js)$": "<rootDir>/node_modules/react-native/jest/preprocessor.js"
},
"setupFiles": [
"<rootDir>/Tests/Setup"
],
"preset": "react-native"
},
"config": {},
"standard": {
"parser": "babel-eslint",
"globals": [
"describe",
"test",
"jest",
"expect",
"fetch",
"navigator",
"__DEV__",
"XMLHttpRequest",
"FormData",
"React$Element"
]
},
"rnpm": {
"assets": [
"./App/Assets/**/*"
]
}