[ 
https://issues.apache.org/jira/browse/CB-13510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aqeel Raza Syed updated CB-13510:
---------------------------------
    Description: 
With iOS11 upgrade Cordova-ios library is braking copy/paste functionality for 
consumer apps utilizing both web and native UI. 

*Steps to reproduce :*
- Copy text to clipboard (e.g. Notes app)
- Foreground consumer app (app must be running in background)
- Paste clipboard text to native UI component (i.e. UITextField)

*Expected:*
- Text should be pasted on native UI component 

*Actual:*
- Nothing happens

*Note:* This only happens with native UI components and works fine with Web 
interface. Also once consumer app goes foreground, after backgrounding that 
app, clipboard text can never be pasted in any other iOS app with native UI.

*Investigation:*

Seems like following patch fix is causing this issue in iOS 11:
https://github.com/apache/cordova-ios/pull/139

*Potential Fix:* Since above patch has been done a while ago, removing that bit 
of code, doesn't seems to reintroduce original bug (i.e. 
https://voxpelli.com/2015/03/ios-safari-url-copy-paste-bug/)


  was:
With iOS11 upgrade Cordova-ios library is braking copy/paste functionality for 
consumer apps utilizing both web and native UI. 

*Steps to reproduce :*
- Copy text to clipboard (e.g. Notes app)
- Foreground consumer app (app must be running in background)
- Paste clipboard text to native UI component (i.e. UITextField)

*Expected:*
- Text should be pasted on native UI component 

*Actual:*
- Nothing happens

*Note:* This only happens with native UI components and works fine with Web 
interface. Also once consumer app goes foreground, after backgrounding that 
app, clipboard text can never be pasted in any other iOS app with native UI.

*Investigation:*

Seems like this patch fix is causing this issue in iOS 11:
https://github.com/apache/cordova-ios/pull/139

*Potential Fix:* Since above patch has been done a while ago, removing that bit 
of code, doesn't seems to reintroduce original bug (i.e. 
https://voxpelli.com/2015/03/ios-safari-url-copy-paste-bug/)



> Copy/Paste functionality is not working for iOS native components.
> ------------------------------------------------------------------
>
>                 Key: CB-13510
>                 URL: https://issues.apache.org/jira/browse/CB-13510
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-ios
>    Affects Versions: cordova-ios@4.4.0, cordova-ios 4.5.0
>         Environment: iOS 11 and up... Not reproducible in iOS 10.x 
>            Reporter: Aqeel Raza Syed
>            Assignee: Suraj Pindoria
>
> With iOS11 upgrade Cordova-ios library is braking copy/paste functionality 
> for consumer apps utilizing both web and native UI. 
> *Steps to reproduce :*
> - Copy text to clipboard (e.g. Notes app)
> - Foreground consumer app (app must be running in background)
> - Paste clipboard text to native UI component (i.e. UITextField)
> *Expected:*
> - Text should be pasted on native UI component 
> *Actual:*
> - Nothing happens
> *Note:* This only happens with native UI components and works fine with Web 
> interface. Also once consumer app goes foreground, after backgrounding that 
> app, clipboard text can never be pasted in any other iOS app with native UI.
> *Investigation:*
> Seems like following patch fix is causing this issue in iOS 11:
> https://github.com/apache/cordova-ios/pull/139
> *Potential Fix:* Since above patch has been done a while ago, removing that 
> bit of code, doesn't seems to reintroduce original bug (i.e. 
> https://voxpelli.com/2015/03/ios-safari-url-copy-paste-bug/)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to