Empower growth and innovation with the latest Mobile App insights

Android users pick an ID photo on the sign-up page, but it keeps spinning and won't upload — is the file too large?

Nov 13, 2026 Read: 48

Conclusion first: when Android users pick an ID photo on a sign-up page and it keeps spinning, it is usually not because the file is too large or the phone storage is full, but because the Android WebView file-picker result is not reliably passed back to the page, or because one link in reading the URI, compressing, or uploading after the page receives it is broken. Based on 2026 mobile delivery experience, first confirm whether the picker returns a result and whether the upload request is sent, then decide whether to ask the user to retake the photo or change the shell. This order can prevent many unnecessary retakes and ineffective code changes up front.

Why does Android keep spinning after an ID photo is selected?

WKWebView on iPhone has fairly complete default handling for file input fields. When a page includes a file input, it can usually open the photo library or camera directly. Android WebView, by contrast, delegates file selection to the host app: the shell must save the callback object, launch the system picker, and pass the selected URI back to the page. If any step is missing, users see that the photo has been selected and the button has changed, but the page keeps spinning. This cannot be summed up simply as poor Android compatibility; it is the boundary between web capabilities and native container capabilities in hybrid development.

  • The picker does not even appear: commonly the shell has not connected the file-picker callback, or the tap is blocked by an overlay.
  • The picker appears, but the page does nothing after selection: commonly the result is not passed back, or the callback object was cleared too early.
  • The page receives the file but the request is not sent: commonly the URI read permission is not handled, or the compression step gets stuck.
  • The request is sent but interrupted: only then is it more likely to be an oversized file, timeout, or API limit.

When users ask whether the file is too large, do not just ask them to retake the photo; working backward from the first system feedback is more time-saving than guessing the file size.

File size first or the chain first? Locate it in three stages: tap, callback, upload

An oversized file usually shows up as a failure during upload or an over-limit message; if it keeps spinning every time an image is selected, check the chain first. Break the user action into three stages, with each stage answering only one yes/no question. This may look slower, but it is actually faster.

  1. Whether the system picker appears after the tap. If it appears, the shell's file-picker callback is basically connected, so move the problem downstream; if it does not appear, check the shell first.
  2. Whether the page receives a change after the file is selected. Use page logs or a temporary notice to confirm whether onchange fires; if it does not fire, check the callback and URI permission.
  3. Whether the upload request is sent. Capture packets or check server logs; if the request is not sent, check how the page reads the file; if the request is sent but fails, check size, format, compression, and API limits.

Based on typical 2026 delivery pace, doing this minimal reproduction and localization first usually takes an experience range of half a day to one day, which is more controllable than directly scheduling a release window.

What should the shell side and the page each add, and what counts as passing?

If the issue is localized to the shell side, do not stop after adding just one callback. Android file selection involves permissions, URI permission, cancellation callbacks, and multi-select compatibility; missing any one item can become a new intermittent no-response issue on some device models.

  • File-picker callback: implement the file selection interface, save the ValueCallback, and pass the result back only once after selection completes or is canceled. The passing standard is that tapping twice in a row does not open two pickers, and the page does not wait indefinitely after cancellation.
  • Temporary URI permission and reading: grant read permission for the content URI to WebView, or copy it to the cache directory first. The passing standard is that both gallery images and immediately captured photos can be read with file name and size.
  • Permissions and camera: check camera and media read permissions against the target OS version, and show an understandable notice on the page if they are denied. The passing standard is that the first camera use requests permission normally, and the button recovers after denial.
  • Failure, cancellation, and compression timeout: when the user presses the back key, the format is unsupported, or the file is too large, both the shell and the page must receive a clear result. The passing standard is that it never keeps spinning indefinitely.

These four items do not require rewriting the entire container, but the client and front end need to regress against the same acceptance checklist, so old shell versions and new pages do not blame each other.

H5 uploads by itself vs. the shell taking over uploads: how do you estimate cost and timeline?

Not every upload needs to move its logic into native code. Letting the page upload via a form means smaller changes and faster releases; having the shell take over selection and upload centralizes compatibility, but requires client changes and a release. You can compare the following dimensions; treat the numbers as experience ranges, as specifics vary greatly by project.

  • Where changes happen: H5 self-upload mainly changes the page and API; shell takeover requires changes to the WebView container, permissions, and file handling.
  • Experience range for timeline: fixing only the page side is usually verifiable in 1 to 3 person-days; adding callbacks, permissions, and regression on the shell side commonly takes 3 to 7 person-days, and is longer when release and staged rollout are included.
  • Compatibility risk: H5 self-upload shows more obvious differences across Android WebView kernels; shell takeover centralizes the differences in the client, but old shell versions remain a boundary.
  • Applicable cases: low-frequency sign-ups and collection with simple fields can start with an H5 approach; businesses that need camera capture, compression, and front/back ID photos are better served by shell takeover.

If a large number of users are still on old App versions and cannot be forced to update, the page side must prepare a fallback notice and a manual channel; do not assume everyone has upgraded to the new shell.

Delivery scene: when the budget only covers H5 changes and the old shell has no callback, how do you wrap up?

A common situation in projects is: the campaign page is already finalized, the budget only covers H5 changes, the client team cannot fit it into the schedule, and the old shell version has not implemented the file-picker callback. Users tap the camera button and it looks clickable, but no system picker actually appears. The approach is to first do a minimal reproduction on the same Android device to confirm whether the picker appears, whether the selection is passed back, and whether the request is sent; at the same time, add a page fallback asking users to upgrade to the new version to upload, plus a manual upload channel, while the shell side gradually closes the gap through staged coverage. The cost is that the campaign launch may be delayed. Based on typical ranges, if a client release and staged rollout are required, an overall delay of one to two weeks is not uncommon; page-only fallback can be compressed to a few days, but customer service explanations and manual backfill will increase. This cost shows that the upload problem is not purely a front-end or purely a client problem, but an interface problem between container capabilities and page capabilities.

Applicable and non-applicable boundaries

Cases suitable for following the order in this article first: in-app H5 pages for sign-up, work orders, after-sales, identity verification, etc. need to take or select photos; Android users keep spinning after selecting a photo or upload fails; or the page works normally in a browser but does nothing after being packaged into an App. For these issues, the three-stage localization of tap, callback, and upload usually converges quickly.

Cases that are not suitable for direct application should also be stated clearly: if the business is only one-off internal collection, switching to an external form, mini program, or email collection is often cheaper than changing the shell; if the page only displays images and does not require user uploads, there is no need to add a full set of container capabilities for file selection; if old shell versions cannot be covered and upload is not the main path, providing notices and manual fallback first is more stable than forcing a full release. Whether the upload chain requires shell changes depends on whether this entry point is a core business path, not on whether a user has complained once.

Common questions

Android keeps spinning after a photo is selected — is the user's phone storage full?

Not necessarily. Full storage usually shows a failure during selection or writing; spinning after selection is more commonly due to file read permission, slow compression, or an unfinished upload request.

Will asking the user to retake the ID photo solve the spinning?

It may help only when the original image is too large, the format is abnormal, or capture was interrupted; if it keeps spinning every time an image is selected, retaking is mostly ineffective, and you should check the callback and request first.

Does adding accept=image/* to the page make Android open the camera directly?

accept is only a type hint; whether the camera opens is decided by the system and the shell. Stable camera capture also requires the shell to handle camera permission and temporary file URIs.

If the old App version cannot be changed, can we just ask users to upgrade?

You can prompt an upgrade, but you cannot assume everyone will upgrade; the page must keep a fallback explanation and a manual channel, and the shell side should close the gap gradually through staged rollout.

Do Apps built with cross-platform frameworks also encounter this?

Yes. It ultimately still comes down to the native WebView file-selection capability; only the configuration location differs. The troubleshooting order is still to check the picker callback first, then the upload.


In terms of action, first do a minimal reproduction: on the same Android device, record whether the picker appears after the tap, whether the selection is passed back, and whether the request is sent, then route the conclusion to the front end or the client team. If upload is a core path, reserve time for shell-side regression and staged rollout based on 2026 delivery habits; if it is only low-frequency collection, prioritize an external form or manual fallback, and do not change the entire container for a single campaign.

Interested in this topic?
10-year tech team — reference proposal within 24 hours
Obtain Proposal
Are you ready?
Then reach out to us!
+86-13370032918
Discover more services, feel free to contact us anytime.
Please fill in your requirements
What services would you like us to provide for you?
Your Budget
ct.
Our WeChat
Professional technical solutions
Phone
+86-13370032918 (Manager Jin)
The phone is busy or unavailable; feel free to add me on WeChat.
E-mail
349077570@qq.com
Submitted successfully
Thank you for your trust. We will contact you soon!
Recommended projects for you