microsoft / code-push

A cloud service that enables Cordova and React Native developers to deploy mobile app updates directly to their users’ devices.
https://microsoft.github.io/code-push/
Other
4.34k stars 484 forks source link

Conflicts with phonegap-plugin-push #681

Closed phyr0s closed 2 years ago

phyr0s commented 4 years ago

When this plugin is used, the push notifications plugin (https://github.com/phonegap/phonegap-plugin-push ) stops working. It only happens with this plugin. Never return the token from Firebase or APNs.

Info: Cordova: Cordova CLI : 9.0.0 (cordova-lib@9.0.1) Cordova Platforms : android 8.1.0 Cordova Plugins :

"cordova-plugin-whitelist": {}, "cordova-plugin-statusbar": {}, "cordova-plugin-device": {}, "cordova-plugin-splashscreen": {}, "cordova-plugin-ionic-keyboard": {}, "cordova-plugin-ionic-webview": { "ANDROID_SUPPORT_ANNOTATIONS_VERSION": "27.+" }, "cordova-sqlite-storage": {}, "tealium-cordova-plugin": {}, "cordova-plugin-app-version": {}, "cordova-plugin-inappbrowser": {}, "cordova-plugin-file-opener2": { "ANDROID_SUPPORT_V4_VERSION": "27.+" }, "cordova-plugin-x-socialsharing": { "ANDROID_SUPPORT_V4_VERSION": "27.+" }, "cordova-plugin-screen-orientation": {}, "cordova-plugin-code-push": {}, "cordova-plugin-zip": {}, "cordova-plugin-camera": {}, "phonegap-plugin-push": { "ANDROID_SUPPORT_V13_VERSION": "27.+", "FCM_VERSION": "11.6.2" }, "cordova-plugin-file-transfer": {}, "cordova-plugin-file": {}, "cordova-plugin-advanced-http": { "OKHTTP_VERSION": "3.10.0" } Utility:

cordova-res : 0.6.0 native-run : 0.2.7

System:

Android SDK Tools : 26.1.1 (/Users/pc/Library/Android/sdk) ios-deploy : 1.9.4 ios-sim : 8.0.1 NodeJS : v10.17.0 (/Users/pc/.nvm/versions/node/v10.17.0/bin/node) npm : 6.11.3 OS : macOS Catalina Xcode : Xcode 11.2 Build version 11B52

annakocheshkova commented 4 years ago

Hi there! To speed up the investigation process, could you please share the build and application verbose logs? Thanks!

phyr0s commented 4 years ago

@annakocheshkova 12-04 12:32:44.329 18546 18667 D SERVER : Handling local request: https://app/plugins/cordova-plugin-code-push/bin/www/codePush.js

12-04 12:32:44.339 18546 18667 D SERVER : Handling local request: https://app/plugins/cordova-plugin-code-push/bin/www/codePushUtil.js

12-04 12:32:46.986 18546 18546 D SystemWebChromeClient: https://app/plugins/cordova-plugin-code-push/bin/www/codePushUtil.js: Line 36 : [CodePush] Checking for update.

12-04 12:32:46.986 18546 18546 I chromium: [INFO:CONSOLE(36)] “[CodePush] Checking for update.“, source: https://app/plugins/cordova-plugin-code-push/bin/www/codePushUtil.js (36)

12-04 12:32:47.917 18546 18783 V Push_Plugin: execute: action=init

12-04 12:32:47.918 18546 21444 V Push_Plugin: execute: data=[{“android”:{“icon”:“notification_icon”,“iconColor”:“#007ACC”},“ios”:{“alert”:true,“badge”:true,“sound”:true,“clearBadge”:true}}] 12-04 12:32:47.920 18546 21444 V Push_Plugin: execute: jo={“icon”:“notification_icon”,“iconColor”:“#007ACC”}

12-04 12:32:47.921 18546 21444 E Push_Plugin: execute: Got Resources NotFoundException String resource ID #0x0

12-04 12:32:48.076 18546 18546 D SystemWebChromeClient: https://app/plugins/cordova-plugin-code-push/bin/www/codePushUtil.js: Line 36 : [CodePush] App is up to date.

12-04 12:32:48.076 18546 18546 I chromium: [INFO:CONSOLE(36)] “[CodePush] App is up to date.“, source: https://app/plugins/cordova-plugin-code-push/bin/www/codePushUtil.js (36)

annakocheshkova commented 4 years ago

@videmort, do you install code-push plugin before or after phonegap-push? Does the error go away if you change this order?

phyr0s commented 4 years ago

@annakocheshkova Same error before and after

phyr0s commented 4 years ago

@annakocheshkova any news?

ahdbilal commented 4 years ago

The issue has been escalated however note that you might get a delayed response from the code-push team. The team is currently on a new version of CodePush that will address some of the most common performance issues our customers are facing. This updated version will allow a better experience and enable our team to better support CodePush moving forward. Because of these changes, the support on code-push has slowed down and bug fixes have been limited to critical bugs until the core update is released.

phyr0s commented 4 years ago

@ahdbilal @annakocheshkova any update on this?

phyr0s commented 4 years ago

Any news on this?

JacoboSegovia commented 4 years ago

Same issue, any solution?

jmarcosop commented 4 years ago

I have the same problem, Anyone to know anything about the fix?

ghost commented 2 years ago

This issue will now be closed because it hasn't had any activity for 15 days after stale. Please feel free to open a new issue if you still have a question/issue or suggestion.