Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is the use of multiple image pickers programitically sound?

Hello there,

 

I am trying to fix an issue reported by the reviewer for my application. Here's the comment:

 

Issue #1: On iOS, selecting a second image to upload from the companion will also change the first uploaded image (i.e. the same picture is uploaded twice). Please note that issue does not occur on Android.

 

Here's my code:

        <ImagePicker
          title="Background Image 1"
          description="Image changes randomly throughout the day."
          label="Add a Background Image"
          sublabel="Background image picker"
          settingsKey="background-image-1"
          imageWidth={ screenWidth }
          imageHeight={ screenHeight }
        />
      
        <ImagePicker
          title="Background Image 2"
          description="Image changes randomly throughout the day."
          label="Add a Background Image"
          sublabel="Background image picker"
          settingsKey="background-image-2"
          imageWidth={ screenWidth }
          imageHeight={ screenHeight }
        />

 

After which i handled the change event in app index.js based on their respective settingsKey. I am currently using 5 image pickers.

 

I have tested the app on an iOS device but have been unable to replicate this bug. Just wanted to ask if using multiple image pickers will cause unknown errors?

 

Also a side question, if we set image file names to the same (eg: image1.jpg), will the file transfer overwrite the previous image file?

 

 

Best Answer
0 Votes
1 REPLY 1

Can you check that the user is running the latest version of the Fitbit mobile app? Version 2.53.1

Best Answer
0 Votes