You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2020/01/03 01:22:54 UTC

[GitHub] [cordova-ios] chary2060 opened a new issue #758: How to replace 'CDVRemoteNotification' in platform ios@5.1.1

chary2060 opened a new issue #758: How to replace 'CDVRemoteNotification' in platform ios@5.1.1
URL: https://github.com/apache/cordova-ios/issues/758
 
 
   <!--
   Please have a look at the issue templates you get when you click "New issue" in the GitHub UI.
   We very much prefer issues created by using one of these templates.
   -->
   
   ### Issue Type
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [ ] Bug Report
   - [ ] Feature Request
   - [x] Support Question
   
   ## Description
   I add plugin cordova-plugin-push-baidu in my cordova project,and then run cmd 'cordova build ios'
   It goes wrong .I open the ios project to see the error: Use of undeclared identifier 'CDVRemoteNotification'.
   
   I find that  'CDVRemoteNotification' has been removed in cordova ios@5.1.1.
   I'm an entry-level Cordova programmer.So how to deal with it? can anyone help me?tks
   ## Information 
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   
   
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   Cordova CLI - 8.0.0
   Cordova Platforms ios - 5.1.1
   Cordova Plugins : cordova-plugin-push-baidu - 5.6.1
   Xcode - 11.2.1
   
   ## Checklist
   <!-- Please check the boxes by putting an `x` in the `[ ]` like so: `[x]` -->
   
   - [x] I searched for already existing GitHub issues about this
   - [x] I updated all Cordova tooling to their most recent version
   - [x] I included all the necessary information above
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[GitHub] [cordova-ios] chary2060 commented on issue #758: How to replace 'CDVRemoteNotification' in platform ios@5.1.1

Posted by GitBox <gi...@apache.org>.
chary2060 commented on issue #758: How to replace 'CDVRemoteNotification' in platform ios@5.1.1
URL: https://github.com/apache/cordova-ios/issues/758#issuecomment-570509159
 
 
   > This may help:
   > 
   > https://github.com/apache/cordova-ios/blob/master/guides/API%20changes%20in%204.0.md#deprecated
   > 
   > > These constants were unfortunately not removed in 4.0, but will be removed in 5.0. Local and remote push notification functionality was removed in the core in 4.0.
   > 
   > Any plugins that rely on these constants will need to be updated to support 5.x. Since the functionality has been removed, you probably will have to find a plugin that introduces that functionality again.
   > 
   > I'm not sure of any notification plugins myself, but you can probably ask on our [slack](http://slack.cordova.io/)
   
   Thank you very much for your help.I finally decide to replace the previous  plugin with  a different one that doesn't use ‘ CDVRemoteNotification’.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[GitHub] [cordova-ios] breautek removed a comment on issue #758: How to replace 'CDVRemoteNotification' in platform ios@5.1.1

Posted by GitBox <gi...@apache.org>.
breautek removed a comment on issue #758: How to replace 'CDVRemoteNotification' in platform ios@5.1.1
URL: https://github.com/apache/cordova-ios/issues/758#issuecomment-570436083
 
 
   I looked in the 4.5.x branch and even the 3.x and saw no `CDVRemoteNotification` class in the sources. Are you sure that file originally comes from `cordova-ios`? 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[GitHub] [cordova-ios] jcesarmobile closed issue #758: How to replace 'CDVRemoteNotification' in platform ios@5.1.1

Posted by GitBox <gi...@apache.org>.
jcesarmobile closed issue #758: How to replace 'CDVRemoteNotification' in platform ios@5.1.1
URL: https://github.com/apache/cordova-ios/issues/758
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[GitHub] [cordova-ios] breautek commented on issue #758: How to replace 'CDVRemoteNotification' in platform ios@5.1.1

Posted by GitBox <gi...@apache.org>.
breautek commented on issue #758: How to replace 'CDVRemoteNotification' in platform ios@5.1.1
URL: https://github.com/apache/cordova-ios/issues/758#issuecomment-570436083
 
 
   I looked in the 4.5.x branch and even the 3.x and saw no `CDVRemoteNotification` class in the sources. Are you sure that file originally comes from `cordova-ios`? 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[GitHub] [cordova-ios] breautek commented on issue #758: How to replace 'CDVRemoteNotification' in platform ios@5.1.1

Posted by GitBox <gi...@apache.org>.
breautek commented on issue #758: How to replace 'CDVRemoteNotification' in platform ios@5.1.1
URL: https://github.com/apache/cordova-ios/issues/758#issuecomment-570438165
 
 
   This may help:
   
   https://github.com/apache/cordova-ios/blob/master/guides/API%20changes%20in%204.0.md#deprecated
   
   > These constants were unfortunately not removed in 4.0, but will be removed in 5.0. Local and remote push notification functionality was removed in the core in 4.0.
   
   Any plugins that rely on these constants will need to be updated to support 5.x. Since the functionality has been removed, you probably will have to find a plugin that introduces that functionality again.
   
   I'm not sure of any notification plugins myself, but you can probably ask on our [slack](http://slack.cordova.io/)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[GitHub] [cordova-ios] jcesarmobile commented on issue #758: How to replace 'CDVRemoteNotification' in platform ios@5.1.1

Posted by GitBox <gi...@apache.org>.
jcesarmobile commented on issue #758: How to replace 'CDVRemoteNotification' in platform ios@5.1.1
URL: https://github.com/apache/cordova-ios/issues/758#issuecomment-570554455
 
 
   Yeah, you need a different plugin, those constants were deprecated in 2015, so if that plugin was last updated in 2017, it shouldn't have been using it.
   
   This is the JIRA ticket for reference:
   https://issues.apache.org/jira/browse/CB-8474

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org