Comments (16)
Here's a screenshot of the preview panel that shows up:
from capacitor-filesharer.
Up! I'm having the exact same issue. I'm on iOS 13.7
from capacitor-filesharer.
Hi,
I tested it with iOS 13+ and it always works. What ios version do you use?
BR
from capacitor-filesharer.
I have the same bug with an png image.
from capacitor-filesharer.
Same issue here. Previews the PDF instead of opening the share options.
from capacitor-filesharer.
Same here for CSV data and iOS 14.4. I see only fullscreen preview with my CSV.
from capacitor-filesharer.
I fixed it by installing the pods with the command pod install
inside the .xcodeproj folder
from capacitor-filesharer.
I fixed it by installing the pods with the command
pod install
inside the .xcodeproj folder
may i have more detail how to fix that? thanks.
from capacitor-filesharer.
I fixed it by installing the pods with the command
pod install
inside the .xcodeproj foldermay i have more detail how to fix that? thanks.
After installed the dependency (npm i @byteowls/capacitor-filesharer
or yarn add @byteowls/capacitor-filesharer
), open the terminal in the folder where is .xcodeproject file and run the command pod install
from capacitor-filesharer.
+1 I have the same issue with a jpg
from capacitor-filesharer.
I had same problem, it fixed after npx cap sync
.
from capacitor-filesharer.
We had this issue despite already using cap sync
For us, we had to register the plugin (in index.tsx
where we call ReactDOM.render
)
(cordova v2.4)
import {FileSharer} from '@byteowls/capacitor-filesharer';
import {registerWebPlugin} from '@capacitor/core';
registerWebPlugin(FileSharer);
from capacitor-filesharer.
I released the new version 3.0.0
today
If you can and it is still relevant please test this issue with the new version. (Capacitor 3.0.0 required)
I keep this issue open a few days and close it afterwards if there is no feedback.
BR Michael
from capacitor-filesharer.
I am currently developing on Capacitor 2.4 and it still has the exact same issue. I already tried the solutions above.
from capacitor-filesharer.
For those who are developing on capacitor 2.0,
FileSharer.share({...})
=> Not working as intended. Some previewing webview is appeared without any failed/error message. (This should be fixed for preventing confusion)
Plugins.FileSharer.share({...})
=> Working fine.
from capacitor-filesharer.
Closed as outdated.
from capacitor-filesharer.
Related Issues (20)
- Bug: NullPointerException in "handleOnActivityResult" HOT 2
- Can we share some text along with file . HOT 3
- Can we share a file directly and not as a base64Data ?? HOT 2
- The code skips whatever is written after ''Filereader.onloadend = " HOT 6
- Bug: App crashes upon sharing file on whatsapp HOT 12
- package com.byteowls.capacitor.filesharer.FileSharerPlugin does not exist HOT 2
- Feat: Filesharer@next for Capacitor 3.0.0 HOT 4
- Testing on Physical Device - no error, no share menu HOT 4
- Bug: Permission Denial: reading com.byteowls.capacitor.filesharer.FileSharerProvider uri content://io.ionic.starter.filesharer.fileprovider/capfilesharer/test.pdf from pid=14879, uid=1000 requires the provider be exported, or grantUriPermission() HOT 5
- Feat: Can you share a text, json or csv file? HOT 2
- Feat: Replace file-sharer dependency for file-sharer-es in order to reduce bundle size HOT 2
- Bug: 23 MB pdf (limit seems to be 10 MB) causes Java error with very little trace info HOT 3
- Android: app crash after sharing HOT 3
- how to set language for app HOT 2
- No save or download file option on Android HOT 1
- Bug: Instagram won't appear in the share dialog for my app, but will appear for other apps with the same file HOT 1
- Error when sharing images on Android HOT 1
- Bug: Writing exception to parcel on Android
- Capacitor 6 support
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 capacitor-filesharer.