# Attachments on Android

**URL:** <https://discourse.joplinapp.org/t/attachments-on-android/27313>\
**Category:** Support\
**Created:** [10 September 2022 14:09 UTC](https://discourse.joplinapp.org/t/attachments-on-android/27313 "2022-09-10T14:09:49Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![mojoe](https://avatars.discourse-cdn.com/v4/letter/m/aeb1de/32.png) [@mojoe](https://discourse.joplinapp.org/u/mojoe)\
**Post date:** [10 September 2022 14:09 UTC](https://discourse.joplinapp.org/t/attachments-on-android/27313/1 "2022-09-10T14:09:49Z")

</div>

The online help still says that attachments over 10 MB will crash the mobile app when syncing. I'm assuming that this is no longer true?

I just imported everything from Evernote into Joplin Desktop, setup encryption, then synced to my Android phone via Dropbox. I have many attachments larger than 10 MB. I was able to open several of them, including the largest (152 MB) on the phone.

---

<div class="post-metadata">

**Author:** ![MrKanister](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/mrkanister/32/20054_2.png) [@MrKanister](https://discourse.joplinapp.org/u/MrKanister)\
**Post date:** [11 September 2022 17:59 UTC](https://discourse.joplinapp.org/t/attachments-on-android/27313/2 "2022-09-11T17:59:06Z")

</div>

Essentially the issue still persists: The mobile app can display resources greater than 10 MB without crashing but not sync them.

This was the issue: [Mobile - App crashes when syncing large resources (greated than 10MB) · Issue #371 · laurent22/joplin · GitHub](https://github.com/laurent22/joplin/issues/371)

And this is the commit [All: Fixes #371 (sort of): Allow resources greater than 10 MB but the… · laurent22/joplin@565dfba · GitHub](https://github.com/laurent22/joplin/commit/565dfba8c9b485d0d153be24c99130bd35a2d8da)

---

<div class="post-metadata">

**Author:** ![roman\_r\_m](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/roman_r_m/32/3297_2.png) [@roman\_r\_m](https://discourse.joplinapp.org/u/roman_r_m)\
**Post date:** [11 September 2022 19:26 UTC](https://discourse.joplinapp.org/t/attachments-on-android/27313/3 "2022-09-11T19:26:04Z")

</div>

The limit is 100mb, not 10. Even that isn't needed in my opinion

---

<div class="post-metadata">

**Author:** ![MrKanister](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/mrkanister/32/20054_2.png) [@MrKanister](https://discourse.joplinapp.org/u/MrKanister)\
**Post date:** [11 September 2022 20:43 UTC](https://discourse.joplinapp.org/t/attachments-on-android/27313/4 "2022-09-11T20:43:58Z")

</div>

So resources ≤100 MB get synced? Why is it no longer needed?

---

<div class="post-metadata">

**Author:** ![roman\_r\_m](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/roman_r_m/32/3297_2.png) [@roman\_r\_m](https://discourse.joplinapp.org/u/roman_r_m)\
**Post date:** [11 September 2022 20:57 UTC](https://discourse.joplinapp.org/t/attachments-on-android/27313/5 "2022-09-11T20:57:37Z")

</div>

> [@MrKanister](#):
>
> So resources ≤100 MB get synced?

Yes:

> <https://github.com/laurent22/joplin/blob/f59d29f1c56442bcd1669f6c1dcd6500cde8a1fb/packages/lib/Synchronizer.ts#L138>

The underlying bug has been fixed long ago, the limit is an extra precaution.

---

<div class="post-metadata">

**Author:** ![MrKanister](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/mrkanister/32/20054_2.png) [@MrKanister](https://discourse.joplinapp.org/u/MrKanister)\
**Post date:** [11 September 2022 21:21 UTC](https://discourse.joplinapp.org/t/attachments-on-android/27313/6 "2022-09-11T21:21:58Z")

</div>

I see. Thanks for clarifying.

---

<div class="post-metadata">

**Author:** ![mojoe](https://avatars.discourse-cdn.com/v4/letter/m/aeb1de/32.png) [@mojoe](https://discourse.joplinapp.org/u/mojoe)\
**Post date:** [11 September 2022 21:48 UTC](https://discourse.joplinapp.org/t/attachments-on-android/27313/7 "2022-09-11T21:48:56Z")

</div>

So, that 152 MB attachment that synced to my phone, and that I opened, must have been an illusion or a fluke.

---

<div class="post-metadata">

**Author:** ![roman\_r\_m](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/roman_r_m/32/3297_2.png) [@roman\_r\_m](https://discourse.joplinapp.org/u/roman_r_m)\
**Post date:** [12 September 2022 03:26 UTC](https://discourse.joplinapp.org/t/attachments-on-android/27313/8 "2022-09-12T03:26:27Z")

</div>

Yeah, that's interesting. Could be a bug in this check I suppose

---

<div class="post-metadata">

**Author:** ![wh201906](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/wh201906/32/14835_2.png) [@wh201906](https://discourse.joplinapp.org/u/wh201906)\
**Post date:** [12 September 2022 04:19 UTC](https://discourse.joplinapp.org/t/attachments-on-android/27313/9 "2022-09-12T04:19:33Z")

</div>

How about this threshold?

> <https://github.com/laurent22/joplin/blob/f59d29f1c56442bcd1669f6c1dcd6500cde8a1fb/packages/app-mobile/components/screens/Note.tsx#L869>

---

<div class="post-metadata">

**Author:** ![roman\_r\_m](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/roman_r_m/32/3297_2.png) [@roman\_r\_m](https://discourse.joplinapp.org/u/roman_r_m)\
**Post date:** [12 September 2022 05:57 UTC](https://discourse.joplinapp.org/t/attachments-on-android/27313/10 "2022-09-12T05:57:51Z")

</div>

Forgot about this one! I think it can be removed too, there's no need to keep it.

However this limit only applies when attaching files on mobile. The original question was about a file attached elsewhere and synced to mobile.

---

<div class="post-metadata">

**Author:** ![wh201906](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/wh201906/32/14835_2.png) [@wh201906](https://discourse.joplinapp.org/u/wh201906)\
**Post date:** [12 September 2022 06:01 UTC](https://discourse.joplinapp.org/t/attachments-on-android/27313/11 "2022-09-12T06:01:33Z")

</div>

Ok

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/3X/1/c/1c948e33314e232a0927789508474d8624f4270b.png) [@system](https://discourse.joplinapp.org/u/system)\
**Post date:** [12 October 2022 06:01 UTC](https://discourse.joplinapp.org/t/attachments-on-android/27313/12 "2022-10-12T06:01:45Z")

</div>

Closed on 12 October 2022 06:01 UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
