adriancs2 / android.webview.upload.download

Build Android Web App With WebView and Support of Upload and Download
The Unlicense
22 stars 11 forks source link

android.app.ProgressDialog' is deprecated as of API 26 ("Oreo"; Android 8.0) #1

Open Jannik44 opened 12 months ago

Jannik44 commented 12 months ago

looks like this feature is deprecated, is there a fix for newer versions?

ps: got it working under android 7.1.1 but would still be better if it would support newer versions, smth like from android 9, everything earlier is irrelevant ig noone is using old android (and if someone does i wouldnt support it for obvious reasons)

adriancs2 commented 12 months ago

As this component is not essential for the whole thing to work, you can simply remove this from your app, and replace it with your own custom loading animation by using javascript + GIF or SVG animation (for example: https://loading.io/). by doing so, you can even have seemless user experience accross different platform (web, ios, android).

adriancs2 commented 12 months ago

for some reason, I somehow feel that this feature is sometime annoying. The ProgressDialog appears every time when the app is trying to accessing a page. I will replace this with SVG loading animation in my future project.

Jannik44 commented 12 months ago

As this component is not essential for the whole thing to work, you can simply remove this from your app, and replace it with your own custom loading animation by using javascript + GIF or SVG animation (for example: https://loading.io/). by doing so, you can even have seemless user experience accross different platform (web, ios, android).

okay will do that, thanks man

Pars43 commented 9 months ago

I have a question about back btn it doesn't work when I go back it switches off the app needs back button and splash update maybe