Giter Site home page Giter Site logo

Comments (7)

acosme avatar acosme commented on July 20, 2024 2

Solved this fixing the issues in this pr:

https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin/pull/1206/files

tested in android 13

from socialsharing-phonegap-plugin.

Dan890 avatar Dan890 commented on July 20, 2024 1

@acosme and @andrerds
the solutions below not fixed in my app.

still crush on android 12

from socialsharing-phonegap-plugin.

andrerds avatar andrerds commented on July 20, 2024

I'm facing the same issue. Does anyone have any suggestions to fix it? :(.

from socialsharing-phonegap-plugin.

EYALIN avatar EYALIN commented on July 20, 2024

@phihungnv @andrerds it looks like you don't have any email app installed maybe

from socialsharing-phonegap-plugin.

andrerds avatar andrerds commented on July 20, 2024

Hi,

I was able to make the app work, but I haven't been able to test it on different versions of Android yet.

Here is a possible solution, which is not definitive, but it stopped the app from crashing for me.

On line 167, I added a check:

if(fileUris.isEmpty()){ return; }

As I said, it is not a definitive solution, but it stopped the app from crashing on Android 12.

I will continue testing the app on different versions of Android to see if I can find a more definitive solution.

from socialsharing-phonegap-plugin.

andrerds avatar andrerds commented on July 20, 2024

file fix in : SocialSharing.java

from socialsharing-phonegap-plugin.

kiozer001 avatar kiozer001 commented on July 20, 2024

@Dan890 @andrerds @acosme @phihungnv
creo que he resuelto el problema, Solo agregue en el Androidanifest.xml lo siguiente

<queries>
    <package android:name="com.google.android.gm" />
    <package android:name="com.microsoft.office.outlook" />
</queries>

Esto nos permita que la aplicacion nos deje elegir entre el app de gmail o la de outlook, en caso de que se requiera que aparezca otra aplicación de correo, se necesitara agregar tambien el nombre del paquete que se requiera

from socialsharing-phonegap-plugin.

Related Issues (20)

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.