Hi, when you get the assets on Android and reach the "end" of them, meaning that there are no more assets, the cursor is returning undefined instead of an empty array as it happens on iOS. This causes the app to crash if not handle properly so I think that the response should be the same as in iOS when there are no more assets.
• Android
First fetch returns 2 assets, which are the current assets in the device. Second call to the library causes a crash because the response is undefined.
• iOS
First fetch returns 1 asset, the only one available in the device. Second call returns empty array, so the app doesn't crash and everything works fine.
Hi, when you get the assets on Android and reach the "end" of them, meaning that there are no more assets, the cursor is returning
undefined
instead of an empty array as it happens on iOS. This causes the app to crash if not handle properly so I think that the response should be the same as in iOS when there are no more assets.• Android First fetch returns 2 assets, which are the current assets in the device. Second call to the library causes a crash because the response is
undefined
.• iOS First fetch returns 1 asset, the only one available in the device. Second call returns empty array, so the app doesn't crash and everything works fine.