Closed buckleup closed 5 years ago
Can you please post the as3 code that is causing this issue and we'll look into it?
Actually I think I may have located the issue, can you try this updated version:
https://www.dropbox.com/s/pm1d0yb581890gq/com.distriqt.Message.v5.2.012.zip?dl=0
You'll need to add the following to your manifest inside the application
node. You will need to replace APPLICATION_ID
with your application package name (generally your application id prefixed by air.
)
<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>
Yes new version of .ane fixed the issue. It is also working wihtout additional manifest. Thank you.
Excellent! I'll push this update out later today.
Do you have a fileprovider addition from one of our other ANEs as it will fallback to use that if this one isn't supplied? I do suggest you add this manifest as well though for clarity and in case any future updates of the ANE change this behaviour.
We tested the application on various devices iOS / Andoird and on most of them it works fine but on some types of Android devices like the one described bellow it does not work.
We create mail message with one attachment image/png. Body and recipients are empty strings.
Expected behaviour
We use png image as an attachment for mail message and we expect that mail will be opened correctly on all devices.
Actual behaviour
On specific Android device Honor 10 (Android 8.1.0) there is an error in console and mail message does not open. But we have also information that it do not work on Samsung Galaxy S8. (Android version 8.0 and Samsung experience version 9.0)
Environment
Logs
Device logs if relevant