Coder Social home page Coder Social logo

Permission problem about nativescript-email HOT 6 CLOSED

NicoleZA avatar NicoleZA commented on September 28, 2024
Permission problem

from nativescript-email.

Comments (6)

NicoleZA avatar NicoleZA commented on September 28, 2024

Ok. I think I have found the problem. It seems to work only if you have an attachment.
So, to fix the problem I moved

  mail.setType("message/rfc822");
  mail.setAction(android.content.Intent.ACTION_SEND_MULTIPLE);

out of the if (arg.attachments) {.... section in email.android.js and it now works with or without attachments.

from nativescript-email.

EddyVerbruggen avatar EddyVerbruggen commented on September 28, 2024

Hey @NicoleZA thanks for reporting this!

Since I don't have an Android 6 device... can you do me a favor and check if it would also work if you reverted your local changes and only commented out this line? I don't think that should be there.

Thanks!
Eddy

from nativescript-email.

NicoleZA avatar NicoleZA commented on September 28, 2024

OK. Sure. I have left the office, but will test it Monday and let you know

On 19 Aug 2016 2:39 PM, "Eddy Verbruggen" [email protected] wrote:

Hey @NicoleZA https://github.com/NicoleZA thanks for reporting this?

Since I don't have an Android 6 device... can you do me a favor and check
if it would also work if you reverted your local changes and only commented
out this line
https://github.com/EddyVerbruggen/nativescript-email/blob/master/email.android.js#L57?
I don't think that should be there.

Thanks!
Eddy


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#4 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGPYvc1WU02xTskspHeKSKRvKHXKTFvUks5qhaQWgaJpZM4JoWHJ
.

from nativescript-email.

EddyVerbruggen avatar EddyVerbruggen commented on September 28, 2024

👍 Thanks in advance!

from nativescript-email.

NicoleZA avatar NicoleZA commented on September 28, 2024

I tried what you suggested, but it didn't work.
however
I did delete that line but also still moved this code above the if (arg.attachments) { line
mail.setType("message/rfc822"); mail.setAction(android.content.Intent.ACTION_SEND_MULTIPLE);
and this works

from nativescript-email.

EddyVerbruggen avatar EddyVerbruggen commented on September 28, 2024

Thanks Nicole, really appreciate you testing this. I'm releasing 1.3.1 with your suggested fix.

from nativescript-email.

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.