push-plugin icon indicating copy to clipboard operation
push-plugin copied to clipboard

Badge count is gone when app is opened (iOS)

Open dimaklaxon opened this issue 7 years ago • 0 comments

Hi, I have issue with clearing badge counter every time when app is opened, despite that clearBadge: false.

Steps to reproduce:

  1. Register pushPlugin
  2. Sending push notification from Amazon AWS SNS
  3. Receive notification in background mode
  4. Tap on notification or on app icon with badge
  5. App opens
  6. Push on main button on iPhone to push app to background
  7. No any badge on app icon

Screen capture

Version numbers:

  • CLI: 4.1.0
  • Cross-platform modules: 4.1.0
  • Runtime(s): tns-ios: 4.1.1
  • Plugin(s):
"dependencies": {
    "@angular/animations": "~6.0.0",
    "@angular/common": "~6.0.0",
    "@angular/compiler": "~6.0.0",
    "@angular/core": "~6.0.0",
    "@angular/forms": "~6.0.0",
    "@angular/http": "~6.0.0",
    "@angular/platform-browser": "~6.0.0",
    "@angular/platform-browser-dynamic": "~6.0.0",
    "@angular/router": "~6.0.0",
    "nativescript-angular": "~6.0.0",
    "nativescript-fonticon": "^1.1.1",
    "nativescript-material-icons": "^1.0.3",
    "nativescript-phone": "^1.3.1",
    "nativescript-push-notifications": "^1.1.4",
    "nativescript-theme-core": "~1.0.4",
    "nativescript-ui-calendar": "^3.6.1",
    "nativescript-ui-dataform": "^3.6.1",
    "nativescript-ui-listview": "^3.5.7",
    "nativescript-ui-sidedrawer": "~4.1.0",
    "reflect-metadata": "~0.1.10",
    "rxjs": "~6.1.0",
    "rxjs-compat": "^6.2.1",
    "tns-core-modules": "4.1.0",
    "zone.js": "~0.8.18"
  },
  "devDependencies": {
    "@angular-devkit/core": "~0.6.3",
    "@angular/compiler-cli": "~6.0.0",
    "@ngtools/webpack": "~6.0.3",
    "babel-traverse": "6.26.0",
    "babel-types": "6.26.0",
    "babylon": "6.18.0",
    "clean-webpack-plugin": "~0.1.19",
    "codelyzer": "~4.3.0",
    "copy-webpack-plugin": "~4.5.1",
    "css-loader": "~0.28.11",
    "extract-text-webpack-plugin": "~3.0.2",
    "lazy": "1.0.11",
    "nativescript-dev-sass": "~1.6.0",
    "nativescript-dev-typescript": "~0.7.0",
    "nativescript-dev-webpack": "~0.12.0",
    "nativescript-worker-loader": "~0.9.0",
    "raw-loader": "~0.5.1",
    "resolve-url-loader": "~2.3.0",
    "sass-loader": "~7.0.1",
    "tslint": "~5.10.0",
    "typescript": "~2.7.2",
    "uglifyjs-webpack-plugin": "~1.2.5",
    "webpack": "~4.6.0",
    "webpack-bundle-analyzer": "~2.13.0",
    "webpack-cli": "~2.1.3",
    "webpack-sources": "~1.1.0"
  }

dimaklaxon avatar Jul 24 '18 16:07 dimaklaxon