Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

userAgent method is missing in Cordova-ios 6.0.0 #264

Closed
3 tasks
eyganeshv opened this issue Aug 4, 2020 · 2 comments
Closed
3 tasks

userAgent method is missing in Cordova-ios 6.0.0 #264

eyganeshv opened this issue Aug 4, 2020 · 2 comments

Comments

@eyganeshv
Copy link

Bug Report

'userAgent' method is missing in Cordova-ios 6.0.0 and 6.1.0 version.

Problem

What is expected to happen?

'userAgent' method is support both cordova-ios 5.0.0 and 51.0 version.

What does actually happen?

shows a red warning message "No known instance method for selector 'userAgent'" in applyRequestHeaders method.

Information

At present UIWebView is no more. WKWebview is supporting the latest version only like Cordova 6.0.0 above version. So we cant back the old Cordova-ios version. Kindly fix this issue for the same latest Cordova-ios version.

Command or Code

NSString* userAgent = [self.commandDelegate userAgent];

Environment, Platform, Device

Version information

cordova-plugin-file-transfer 1.7.2-dev "File Transfer"
Cordova 9.0.0
Cordova-ios 6.0.0
XCode 11.5
Mac OS Catalina

Checklist

  • I searched for existing GitHub issues
  • I updated all Cordova tooling to most recent version
  • I included all the necessary information above
@timbru31
Copy link
Member

timbru31 commented Aug 4, 2020

Duplicate of #258

@timbru31 timbru31 marked this as a duplicate of #258 Aug 4, 2020
@timbru31 timbru31 closed this as completed Aug 4, 2020
@danielehrhardt
Copy link

npm install https://github.com/apache/cordova-plugin-file-transfer.git

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants