yokeshchronus opened a new issue, #1270:
URL: https://github.com/apache/cordova-ios/issues/1270

   # Bug Report
       Whenever I click on push notifications when app is not in background, it 
is not getting redirected properly. 
   ## Problem
               Getting an error "Failed to load web page with error , The 
operation couldn't be completed. NSURLDomain error -999"
   ### What is expected to happen?
               App is expected to take the corresponding page of push 
notification but throws this error instead and shows the error page of cordova.
                 
   ## Information
   On debugging found out there was some problem in window.location.href = 
"requiredurltoopen" , this is the line failing and throwing such issues. The 
same works well in android and older cordova ios version. Would like to know 
what should we do to avoid such issue?
   
   ### Command or Code
      window.location.href = "requiredurltoopen" when app is not in background
   
   ### Environment, Platform, Device
     Problem is in all ios phones
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   cordova ios - 6.2
   -->
   
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [X] I searched for existing GitHub issues
   - [X] I updated all Cordova tooling to 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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to