Git Product home page Git Product logo

capacitor-stash-media's People

Contributors

aeharding avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

capacitor-stash-media's Issues

dev.harding.capacitor.stashmedia.StashMedia.savePhoto โ€“ java.lang.IllegalArgumentException

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)

license missing :)

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.