Open apatelVse opened 3 years ago
How to solve this issue?
I have a project which uses Ionic 3 and Angular 5. A few month's again the plugin stopped registering devices. Has anyone had any issues happening the last few month's? the code has not changed...could it be the plugin or the Mobile OS being updated or something else? Any ideas?
I have ionic 7 and android 13.0.0 project . It works fine up to previous week but now facing same issue 'string resource id #0x0' even after code has not changed. I even removed and added android platform to check but nothing happens.
Bug Report
Push plugin conflict with cordova-plugin-ionic (ionic applfow live update plugin), not registering device on Android
Expected Behaviour
After initialize push object , should register device on PushObj.on('registration') method
Actual Behaviour
it initialize push object but not registering device for android and return error
Reproduce Scenario (including but not limited to)
Steps to Reproduce
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
(Android) Device Vendor (e.g. Samsung, HTC, Sony...)
Samsung galaxy
cordova info
Printouthere is my package json { "name": "", "version": "0.0.1", "author": "", "homepage": "", "scripts": { "ng": "ng", "start": "ng serve", "build": "ng build", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e" }, "private": true, "dependencies": { "@angular/animations": "^7.2.15", "@angular/common": "^7.2.2", "@angular/core": "^7.2.2", "@angular/forms": "^7.2.2", "@angular/http": "^7.2.2", "@angular/platform-browser": "^7.2.2", "@angular/platform-browser-dynamic": "^7.2.2", "@angular/router": "^7.2.2", "@ionic-native/app-version": "^5.27.0", "@ionic-native/core": "^5.10.0", "@ionic-native/firebase-analytics": "^5.26.0", "@ionic-native/in-app-browser": "^5.11.0", "@ionic-native/market": "^5.27.0", "@ionic-native/open-native-settings": "^5.26.0", "@ionic-native/push": "^5.10.0", "@ionic-native/splash-screen": "^5.0.0", "@ionic-native/status-bar": "^5.0.0", "@ionic/angular": "^4.6.0", "@ionic/cli": "^6.10.0", "@ionic/storage": "^2.2.0", "@types/cordova": "0.0.34", "angular2-text-mask": "^9.0.0", "cordova": "^9.0.0", "cordova-open-native-settings": "^1.5.2", "cordova-plugin-androidx": "3.0.0", "cordova-plugin-androidx-adapter": "1.1.3", "cordova-plugin-app-version": "^0.1.9", "cordova-plugin-device": "^2.0.3", "cordova-plugin-inappbrowser": "3.2.0", "cordova-plugin-ionic": "^5.4.7", "cordova-plugin-ionic-webview": "^4.2.1", "cordova-plugin-market": "^1.2.0", "cordova-plugin-tag-manager": "^1.0.1", "cordova-plugin-whitelist": "^1.3.4", "cordova-support-android-plugin": "^1.0.2", "cordova-support-google-services": "^1.3.2", "core-js": "^2.5.4", "ionic-selectable": "^4.6.0", "libphonenumber-js": "^1.7.24", "phonegap-plugin-multidex": "^1.0.0", "rxjs": "~6.5.1", "tsd": "0.7.3", "tslib": "^1.9.0", "zone.js": "~0.8.29" }, "devDependencies": { "@angular-devkit/architect": "~0.13.8", "@angular-devkit/build-angular": "~0.13.8", "@angular-devkit/core": "~7.3.8", "@angular-devkit/schematics": "~7.3.8", "@angular/cli": "~7.3.8", "@angular/compiler": "~7.2.2", "@angular/compiler-cli": "~7.2.2", "@angular/language-service": "~7.2.2", "@havesource/cordova-plugin-push": "git+https://github.com/havesource/cordova-plugin-push.git#1.0.0", "@ionic/angular-toolkit": "~1.5.1", "@ionic/lab": "^1.0.24", "@types/jasmine": "~2.8.8", "@types/jasminewd2": "~2.0.3", "@types/node": "~12.0.0", "codelyzer": "~4.5.0", "cordova-plugin-firebase-analytics": "^5.0.0", "cordova-plugin-splashscreen": "^5.0.2", "cordova-plugin-statusbar": "^2.4.2", "jasmine-core": "~2.99.1", "jasmine-spec-reporter": "~4.2.1", "karma": "~4.1.0", "karma-chrome-launcher": "~2.2.0", "karma-coverage-istanbul-reporter": "~2.0.1", "karma-jasmine": "~1.1.2", "karma-jasmine-html-reporter": "^0.2.2", "protractor": "~5.4.0", "ts-node": "~8.1.0", "tslint": "~5.16.0", "typescript": "~3.1.6" }, "cordovaPlugins": [ { "variables": { "SENDER_ID": "766226653480" }, "locator": "phonegap-plugin-push" } ], "description": "An Ionic project", "cordova": { "plugins": { "cordova-plugin-whitelist": {}, "cordova-plugin-statusbar": {}, "cordova-plugin-device": {}, "cordova-plugin-splashscreen": {}, "cordova-plugin-ionic-webview": { "ANDROID_SUPPORT_ANNOTATIONS_VERSION": "27.+" }, "cordova-support-android-plugin": {}, "phonegap-plugin-multidex": {}, "cordova-support-google-services": {}, "cordova-plugin-inappbrowser": {}, "cordova-open-native-settings": {}, "cordova-plugin-app-version": {}, "cordova-plugin-market": {}, "cordova-plugin-firebase-analytics": { "FIREBASE_ANALYTICS_COLLECTION_ENABLED": "true", "FIREBASE_ANALYTICS_VERSION": "18.0.+", "ANALYTICS_COLLECTION_ENABLED": "true", "AUTOMATIC_SCREEN_REPORTING_ENABLED": "true", "ANDROID_FIREBASE_ANALYTICS_VERSION": "18.0.+" }, "havesource-cordova-plugin-push": { "ANDROID_SUPPORT_V13_VERSION": "28.0.0", "FCM_VERSION": "18.+" }, "cordova-plugin-androidx": {}, "cordova-plugin-androidx-adapter": {}, "cordova-plugin-ionic": { "APP_ID": "3b1945da", "CHANNEL_NAME": "staging", "UPDATE_METHOD": "none", "MAX_STORE": "2", "MIN_BACKGROUND_DURATION": "30", "UPDATE_API": "https://api.ionicjs.com" } }, "platforms": [] } }
Sample Push Data Payload
Sample Code that illustrates the problem
Logs taken while reproducing problem