The local media ids used for not-yet-uploaded media files can collide with remote ids of items in the WordPress Media Library. In most cases, this should not cause a problem, however, situations may exist where the id conflict poses an issue. In particular, we currently deduplicate media items within the gallery block keyed on id, so this could affect user experience for a user uploading new items with local ids that match the ids of items already added.
This issue was previously noted here: https://github.com/wordpress-mobile/gutenberg-mobile/issues/1610
There is a potential solution to this issue here: https://github.com/wordpress-mobile/WordPress-Android/pull/11125, but this may require further investigation to explore alternative solution(s) (another possible solution is mentioned in the PR description).
Update:
This issue has been confirmed to be related to and a possible root cause of https://github.com/wordpress-mobile/gutenberg-mobile/issues/1853.
:1st_place_medal: Thanks to @cameronvoell and @mchowning:
"id": 8)([noted id] - 1) times (e.g. 7 times):Expected:
Actual:
Most helpful comment