aeharding / capacitor-stash-media Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
I need to find an example of this crashing.
Exception java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at com.getcapacitor.Bridge.lambda$callPluginMethod$0 (Bridge.java:783)
at com.getcapacitor.Bridge.$r8$lambda$ehFTi5f4HhVNFKTbCKAYDkpQYRA
at com.getcapacitor.Bridge$$ExternalSyntheticLambda4.run
at android.os.Handler.handleCallback (Handler.java:942)
at android.os.Handler.dispatchMessage (Handler.java:99)
at android.os.Looper.loopOnce (Looper.java:226)
at android.os.Looper.loop (Looper.java:313)
at android.os.HandlerThread.run (HandlerThread.java:67)
Caused by java.lang.reflect.InvocationTargetException:
at java.lang.reflect.Method.invoke
at com.getcapacitor.PluginHandle.invoke (PluginHandle.java:138)
at com.getcapacitor.Bridge.lambda$callPluginMethod$0 (Bridge.java:774)
Caused by java.lang.IllegalArgumentException: MIME type application/octet-stream cannot be inserted into content://media/external/images/media; expected MIME type under image/*
at android.database.DatabaseUtils.readExceptionFromParcel (DatabaseUtils.java:172)
at android.database.DatabaseUtils.readExceptionFromParcel (DatabaseUtils.java:142)
at android.content.ContentProviderProxy.insert (ContentProviderNative.java:557)
at android.content.ContentResolver.insert (ContentResolver.java:2200)
at android.content.ContentResolver.insert (ContentResolver.java:2162)
at dev.harding.capacitor.stashmedia.StashMedia.savePhoto (StashMedia.java:105)
at dev.harding.capacitor.stashmedia.StashMediaPlugin.savePhoto (StashMediaPlugin.java:71)
Looks like you forgot to set the license on the repo. Luckily, your package.json
gives a clue, so I assume it should be MIT. Could you add the license to the repo, too โ to avoid the ambiguosity caused by the "ISC" being declared in example/package.json
? ๐ Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.