erisu commented on PR #1609:
URL: https://github.com/apache/cordova-android/pull/1609#issuecomment-1550787317

   ```html
   <!-- // Display: File browser
   // restrictions: no file type
   // file limit: 1 -->
   <h2>1. File</h2>
   <input type="file" />
   
   <!-- // Display: File browser
   // restrictions: must be an image file type
   // file limit: 1 -->
   <h2>2. File - accept image</h2>
   <input type="file" accept="image/*" />
   
   <!-- // Display: Chooser (File or Camera)
   // restrictions: no file type
   // file limit: 1 -->
   <h2>3. File - cature</h2>
   <input type="file" capture />
   
   <!-- // Display: Chooser (File or Camera)
   // restrictions: must be an image file type
   // file limit: 1 -->
   <h2>4. File - accept image and capture</h2>
   <input type="file" accept="image/*" capture />
   
   <!-- // Display: File browser
   // restrictions: no file type
   // file limit: many -->
   <h2>5. File - multiple</h2>
   <input type="file" multiple />
   
   <!-- // Display: File browser
   // restrictions: must be an image file type
   // file limit: many -->
   <h2>6. File - accept image and multiple</h2>
   <input type="file" accept="image/*" multiple />
   
   <!-- // Display: Chooser (File or Camera)
   // restrictions: no file type
   // file limit: many -->
   <h2>7. File - capture & multiple</h2>
   <input type="file" capture multiple />
   
   <!-- // Display: Chooser (File or Camera)
   // restrictions: must be an image file type
   // file limit: many -->
   <h2>8. File - accept image, capture & multiple</h2>
   <input type="file" accept="image/*" capture multiple  />
   
   <!-- // BAD CASES
   // If accept type is restrictive to a non-image format and capture flag was 
provided.
   // Display: Chooser (File or Camera)
   // restrictions: must be a PDF
   // file limit: 1 -->
   <h2>9. File - accept pdf and capture</h2>
   <input type="file" accept=".pdf" capture />
   ```
   
   * File browser appears
     * I can see all file types
   * File browser appears and I see only images
   * Chooser intent appears
     * I can select Camera or File
     * I see all file type
   * Chooser intent appears
     * I can select Camera or File
     * I see only image files
   * Multiple flag does not work.
     * I see all file type
   * Multiple flag does not work.
     * I see image only type
   * Chooser intent appears.
     * I can select Camera or File 
     * I see all file type
     * Multiple flag doesn't seem to work
   * Chooser intent appears.
     * I can select Camera or File
     * I see  only image files
     * Multiple flag doesn't seem to work
   * Chooser intent appears
     * I can select Camera or File
     
   The list above is in the order of the test sampe.
   These were run on Android 13 device.
   I created a blank Cordova default app with no additional plugins.
   
   End results:
   * The chooser intent displays as expected.
   * The camera option does not seem to return the image. The file selector 
continues to say "No file chosen"
   * The multiple file selector flag does not seem to work. Only can select one 
file.
   
   This PR will be pushed back for a later release, until the above issues are 
resolved.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to