distriqt / ANE-Message

Send messages from AIR using email and SMS
https://airnativeextensions.com/extension/com.distriqt.Message
0 stars 0 forks source link

Unable to attach image file in Android #46

Closed adamski68 closed 5 years ago

adamski68 commented 5 years ago

I was using the message ANE to create an e-mail and attach a jpg screenshot to it, in both iOS and Android. For reasons that I cannot fathom, it has just stopped working in Android but iOS is fine.

The app will now not even open the e-mail client on three different android devices that I have tried.

Updated ANE is in use. Storage permission is granted. I have tried adding the below to the manifest (with APPLICATION_ID changed) but all I get is an error on publishing when it gets to the final statement "@xml..."

<provider
    android:name="com.distriqt.extension.message.content.MessageFileProvider"
    android:authorities="APPLICATION_ID.messagefileprovider"
    android:grantUriPermissions="true"
    android:exported="false">
    <meta-data
        android:name="android.support.FILE_PROVIDER_PATHS"
        android:resource="@xml/distriqt_message_paths" />
</provider>

Suggestions? Thanks.

marchbold commented 5 years ago

Did you resolve your issue?

adamski68 commented 5 years ago

Hello Michael,

Yes thanks.

It still refuses to work on my phone – Sony Xperia XA, but it is now working fine again on a couple of the other tablets I use.

I cannot explain why it stopped – there were no changes to the code… it continued to work OK on iOS, but threw a hissy on all the android devices.

Regards,

Adam

From: Michael notifications@github.com Sent: 11 January 2019 00:40 To: distriqt/ANE-Message ANE-Message@noreply.github.com Cc: adamski68 adent739@googlemail.com; State change state_change@noreply.github.com Subject: Re: [distriqt/ANE-Message] Unable to attach image file in Android (#46)

Did you resolve your issue?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/distriqt/ANE-Message/issues/46#issuecomment-453320384 , or mute the thread https://github.com/notifications/unsubscribe-auth/Ahq3jVhqjQItpEdJrqoS4uJ4Z1Le2Kbkks5vB91VgaJpZM4ZnYlW . https://github.com/notifications/beacon/Ahq3jbQA8NebL2WsuDfFqEBDMSPnQ23Wks5vB91VgaJpZM4ZnYlW.gif