cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-13510) Copy/Paste functionality is not working for iOS native components.
Date Thu, 18 Jan 2018 07:24:00 GMT


ASF GitHub Bot commented on CB-13510:

shazron commented on issue #352: CB-13510: (iOS) Removed clipboard workaround, which was braking
copy/paste functional iOS 11
   You need to do this at runtime. Jesse's check above will omit the code needed on older
iOSes during compile time on Xcode 9, thus break the feature at runtime for iOS 10 devices.
   The pasteboard code above should only be loaded if the iOS version is less than 11.
   if (!IsAtLeastiOSVersion('11.0')) {
     // put pasteboard code here
   (IsAtLeastiOSVersion is in CDVAvailability.h)

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

> Copy/Paste functionality is not working for iOS native components.
> ------------------------------------------------------------------
>                 Key: CB-13510
>                 URL:
>             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
>            Priority: Major
> 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:
> *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.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message