Comments (19)
Unfortunately I don't have an iOS9 device to test. Do you have standard Adobe Acrobat Reader Installed on your device? If not, can you please install it from app store and see if that works?
from cordova-plugin-file-opener2.
I have the same problem. Even after I installed some PDF reader. None of them work except the iMessage can attach the PDF correctly.
from cordova-plugin-file-opener2.
Did you try with Adobe Acrobat Reader?
from cordova-plugin-file-opener2.
Yes.
from cordova-plugin-file-opener2.
Right. Nothing else working but only iMessage on iOS 9
from cordova-plugin-file-opener2.
So it looks like Apple butchered this plugin completely with the latest updates. I will try to find an iDevice with iOS9 so I can do some tests.
from cordova-plugin-file-opener2.
Great! Any clue yet what is going wrong?
from cordova-plugin-file-opener2.
I think at this point it's pretty clear that people are using this plugin commercially in all kinds of apps :) Which is pretty amazing and something I am really proud of.
I wish I could help you immediately with fixing this issue, but unfortunately I still didn't get any free time to borrow an iDevice from a friend and test this issue. At the moment I am only using the Android part of this plugin and that still works flawlessly.
Maybe someone with an actual iOS9 device can look into this and send a pull request?
Or maybe a company that is using this plugin can hire an Objective-C programmer for a couple of hours and fix this issue and then send a pull request?
If you fix the issue, I will gladly add your name/logo in README.md file as sponsor/contributor.
from cordova-plugin-file-opener2.
I have tested some things using Xcode. Our App downloads and stores various document types which can be opened with external apps. For this we use the Cordova file and file-transfer plugins. This part seems to be doing well. In the file-opener2 no exceptions or warnings are raised. Various inspections of the URLs show no change between iOS 8 en 9. In the plugin the launching of the external app seems to run without problem, although in the end nothing happens... I tested on both cordova-ios 3.9.1 and the yet unreleased 4.0.0.
from cordova-plugin-file-opener2.
We've fixed this issue in Pull Request: #42
from cordova-plugin-file-opener2.
awesome, @Rovi23 & @josemanuelbd, thanks!
from cordova-plugin-file-opener2.
Thank you very much @Rovi23 and @josemanuelbd, I added you to the Contributors
section in README.md file.
I also bumped the version to 2.0.0, cleared up README.md file, and pushed this new version to both Github and NPM. Please completely remove the old version of the plugin and add it again just to be safe.
Please continue testing the plugin and if there is any problem, just let me know.
@bartvanvelden thanks for your earlier testings :)
from cordova-plugin-file-opener2.
It's confirmed that the plugin works great with iOS 9 for all the PDF apps registered with iOS system except Facebook Messenger. Not sure why this messenger registered with iOS system but can't handle the job. Btw, thanks all for the great plugin and fast work.
from cordova-plugin-file-opener2.
Hi, first of all - great plugin. Worked very good on Android and iOS so far.
I updated our iPhone 5c to iOS 9 recently. Since then I have the same issue as described by others.
The problem is, that updating the plugin did not work as expected. The problem persists (see screenshot attached).
I tried reinstalling nearly everything (Adobe, fileopener2, iOS Cordova Platform). The code of the plugin in XCode matches the one on github. So I assume it's not a local problem.
Does anybody have a clue?
from cordova-plugin-file-opener2.
Did you do the command: cordova rm old_plug_in and cordova add new_plug_in?
from cordova-plugin-file-opener2.
I suppose that in between ranting and shouting at my Mac I issued a remove and add of the plugin. π I didn't keep step of what I did exactly. As I said, the source code in the Xcode Project is the same as on Github.
But maybe I am mistaken. I thought that, while testing, I clicked on "Copy to Acrobat Reader" and nothing happened. I also thought that this is not the correct button to be displayed. Now, whatsoever, it successfully opens the file when clicking on this button. Which confuses me for I thought on iOS 8 there was an option "Open with Adobe" where it opened the file in Acrobat. Right? Or was it always "Copy to Adobe Acrobat"?
from cordova-plugin-file-opener2.
@Choppel: "Copy to ..." is the default iOS 9 action, as opposed to "Open with ..." which was on iOS 8 and earlier.
from cordova-plugin-file-opener2.
Thanks for the info. Working like a charm on iOS now.
Looking into Windows Phone 8.1 right now. Maybe I can get it to work.
from cordova-plugin-file-opener2.
@Choppel Here you are my implementation on windows8.1:
https://github.com/josemanuelbd/cordova-tips-and-tricks/blob/master/windows8.1/open-external-files.js
from cordova-plugin-file-opener2.
Related Issues (20)
- FileOpener2 error in electron 11 HOT 1
- Plugin is not handling Cookies in React project HOT 1
- Add documentation for error codes
- USB PORT PARAM HOT 1
- doesnt work with IOS and assets-library
- Usage in Capacitor HOT 1
- pdf opened in an external app cannot save changes HOT 1
- Cannot open file while is at app data location '/data/data/<app_id>/cache' HOT 2
- unable to open application/pdf format in Android device (Samsung Galaxy S21 and Samsung Galaxy S21+) HOT 2
- android.support.v4.content.FileProvider not found HOT 7
- Relative URIs are not supported.
- remove: android.permission.REQUEST_INSTALL_PACKAGES from plugins.xml HOT 85
- Text Open file in always localized in english (Android) HOT 4
- There was a problem parsing the package for android install apk HOT 1
- Can't edit file HOT 2
- Getting error after updating plugin to 4.0.0 on Android Studio HOT 2
- Unable to open some MP4 files on iOSοΌ HOT 1
- This plugin has a maintained forked repo now - please use and follow HOT 4
- Error: Current working directory is not a Cordova-based project.
- iPadOS not supported
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-file-opener2.