assetBundlePatterns error on Android when using sufix like image@2x.png

When I use image suffixes @2x and @3x, following react-native documentation, the assets created by assetBundlePatterns are invalid images. I’m using SDK 25.

Assets in the repo - I’ve confirmed they are all 8-bit colormap, non-interlaced png images.
images

Assets inside the .apk - if I try opening them, they’re invalid png files.
Screenshot%20from%202018-01-27%2016-40-59

I made another build, removing the images with suffixes. Then I have valid images:
Screenshot%20from%202018-01-27%2016-42-59

I’m checking and it seems a similar problem happens in the ios build. I take that assetBundlePatterns doesn’t support suffixes?

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