-
-
Notifications
You must be signed in to change notification settings - Fork 276
Description
I am using ionic1 cordova-plugin-fcm-with-dependecy-updated
push is working fine on all android version getting issue on tap notification. When app is in background or foreground or app is killed on tapping notification app is not open and notification disappear.
my package.json
{
"name": "brvapp_standard",
"version": "101.202.303",
"description": "BrancheView App Name",
"main": "index.js",
"devDependencies": {
"@ionic/v1-toolkit": "^1.0.0",
"cordova-android": "^10.1.2",
"cordova-ios": "^6.3.0",
"cordova-plugin-androidx": "^3.0.0",
"cordova-plugin-androidx-adapter": "^1.1.3",
"cordova-plugin-camera": "github:felicienfrancois/cordova-plugin-camera#e6e49b85b59263fc5782e835160d01a8932e3690",
"cordova-plugin-fcm-with-dependecy-updated": "^7.8.0",
"cordova-plugin-ionic-keyboard": "^2.2.0",
"cordova-plugin-ionic-webview": "^5.0.0",
"cordova-plugin-splashscreen": "^5.0.2",
"cordova-plugin-statusbar": "^2.4.2",
"cordova-support-android-plugin": "2.0.4",> 7.4.0",
"gulp": "^3.5.6",
"gulp-clean-css": "^3.7.0",
"gulp-rename": "^1.2.0",
"gulp-sass": "^3.1.0",
"javascript-obfuscator": "^1.7.0",
"phonegap-plugin-barcodescanner": "github:phonegap/phonegap-plugin-barcodescanner",
"replace-in-file": "^6.1.0"
},
"scripts": {
"move:resources": "mv theme/resources resources",
"move:theme": "mv theme/app www/theme",
"move:done": "echo "Moved files done"",
"move:start": "npm run move:resources && npm run move:theme && npm run move:done",
"build:replace": "replace-in-file --configFile=replace.js --verbose",
"build:minify": "javascript-obfuscator www/js/index.js --output www/js/index.js",
"build:done": "echo "files updated"",
"build:start": "npm run build:replace && npm run build:minify && npm run build:done",
"cleanup:file1": "rm -f www/js/index.js.bak",
"cleanup:file2": "rm -f replace.js",
"cleanup:done": "echo "CleanUp done"",
"cleanup:start": "npm run cleanup:file1 && npm run cleanup:file2 && npm run cleanup:done",
"prepublish": "npm run move:start && npm run build:start && npm run cleanup:start",
"test": "echo "Error: no test specified" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://bitbucket.org/yob_services/basis-ionic-build.git"
},
"author": "BrancheView",
"license": "ISC",
"homepage": "https://bitbucket.org/yob_services/basis-ionic-build#readme",
"dependencies": {
"cordova-plugin-android-permissions": "^1.1.5",
"cordova-plugin-background-mode": "^0.7.3",
"cordova-plugin-device": "^2.1.0",
"cordova-plugin-file": "^7.0.0",
"cordova-plugin-file-opener2": "^3.0.5",
"cordova-plugin-foreground-service": "^1.1.3",
"cordova-plugin-inappbrowser": "^5.0.0",
"cordova-plugin-network-information": "^3.0.0",
"cordova-plugin-whitelist": "^1.3.5",
"cordova-res": "^0.15.4"
},
"cordova": {
"plugins": {
"cordova-plugin-statusbar": {},
"cordova-plugin-device": {},
"cordova-plugin-splashscreen": {},
"cordova-plugin-ionic-webview": {},
"cordova-plugin-ionic-keyboard": {},
"cordova-plugin-inappbrowser": {},
"cordova-plugin-file-opener2": {
"ANDROID_SUPPORT_V4_VERSION": "27.+"
},
"cordova-plugin-file": {
"ANDROIDX_WEBKIT_VERSION": "1.4.0"
},
"cordova-plugin-network-information": {},
"cordova-plugin-whitelist": {},
"cordova-plugin-android-permissions": {},
"cordova-plugin-androidx": {},
"cordova-plugin-androidx-adapter": {},
"cordova-plugin-fcm-with-dependecy-updated": {
"ANDROID_DEFAULT_NOTIFICATION_ICON": "@mipmap/ic_launcher",
"ANDROID_FIREBASE_BOM_VERSION": "31.0.0",
"ANDROID_GOOGLE_SERVICES_VERSION": "4.3.4",
"ANDROID_GRADLE_TOOLS_VERSION": "4.1.0",
"IOS_FIREBASE_MESSAGING_VERSION": "
"ANDROID_FCM_VERSION": "21.1.0"
},
"cordova-plugin-background-mode": {},
"cordova-plugin-camera": {
"ANDROIDX_CORE_VERSION": "1.6.+"
},
"phonegap-plugin-barcodescanner": {
"CAMERA_USAGE_DESCRIPTION": "To scan barcodes",
"ANDROID_SUPPORT_V4_VERSION": "27.+"
}
},
"platforms": [
"ios",
"android"
]
}
}