breautek commented on issue #1754:
URL: 
https://github.com/apache/cordova-android/issues/1754#issuecomment-2590710269

   <details>
   <summary>API 24</summary>
   
   ```
   2025-01-04 11:24:33.335  4849-4849  JsMessageQueue          
haribol.ekadasi.app                  D  Set native->JS mode to EvalBridgeMode
   2025-01-04 11:24:33.363  4849-4849  CordovaWebViewImpl      
haribol.ekadasi.app                  D  
onPageFinished(https://ekadasi/index.html)
   2025-01-04 11:24:33.363  4849-4849  PluginManager           
haribol.ekadasi.app                  D  postMessage: onPageFinished
   2025-01-04 11:24:33.449  4849-4916  PluginManager           
haribol.ekadasi.app                  D  getPlugin - put: Device
   2025-01-04 11:24:33.451  4849-4916  PluginManager           
haribol.ekadasi.app                  D  getPlugin - put: CDVIonicKeyboard
   2025-01-04 11:24:33.454  4849-4916  PluginManager           
haribol.ekadasi.app                  D  getPlugin - put: NetworkStatus
   2025-01-04 11:24:33.455  4849-4916  NetworkManager          
haribol.ekadasi.app                  D  toLower : mobile
   2025-01-04 11:24:33.455  4849-4916  NetworkManager          
haribol.ekadasi.app                  D  Connection Type: 4g
   2025-01-04 11:24:33.465  4849-4849  PluginManager           
haribol.ekadasi.app                  D  postMessage: spinner
   2025-01-04 11:24:33.466  4849-4849  NetworkManager          
haribol.ekadasi.app                  D  toLower : mobile
   2025-01-04 11:24:33.466  4849-4849  NetworkManager          
haribol.ekadasi.app                  D  Connection Type: 4g
   2025-01-04 11:24:33.467  4849-4849  PluginManager           
haribol.ekadasi.app                  D  postMessage: networkconnection
   2025-01-04 11:24:35.582  1358-1379  audio_hw_generic        audioserver      
                    W  Not supplying enough data to HAL, expected position 
4183542 , only wrote 4031280
   2025-01-04 11:24:42.376  1595-1608  ActivityManager         system_server    
                    W  Launch timeout has expired, giving up wake lock!
   2025-01-04 11:24:47.405  4849-4856  art                     
haribol.ekadasi.app                  I  Debugger is no longer active
   2025-01-04 11:24:47.405  4849-4856  art                     
haribol.ekadasi.app                  I  Starting a blocking GC Instrumentation
   ```
   
   This shows that your app started and loaded but the debugger was detached so 
it's unclear if something happened afterwards.
   </details>
   
   <details>
   <summary>API 25</summary>
   
   ```
   2025-01-04 11:30:43.934  5348-5348  CordovaWebViewImpl      
haribol.ekadasi.app                  D  
onPageDidNavigate(https://ekadasi/index.html)
   2025-01-04 11:30:43.934  5348-5348  PluginManager           
haribol.ekadasi.app                  D  postMessage: onPageStarted
   2025-01-04 11:30:43.993  5348-5348  cr_BindingManager       
haribol.ekadasi.app                  W  Cannot call determinedVisibility() - 
never saw a connection for the pid: 5348
   2025-01-04 11:30:44.021  5348-5348  chromium                
haribol.ekadasi.app                  I  [INFO:CONSOLE(8)] "The key 
"viewport-fit" is not recognized and ignored.", source: 
https://ekadasi/index.html (8)
   2025-01-04 11:30:44.027  5348-5348  chromium                
haribol.ekadasi.app                  I  [INFO:CONSOLE(0)] "Fetching scripts 
with an invalid type/language attributes is deprecated and will be removed in 
M56, around January 2017. See 
https://www.chromestatus.com/features/5760718284521472 for more details.", 
source:  (0)
   2025-01-04 11:30:44.303  5348-5348  JsMessageQueue          
haribol.ekadasi.app                  D  Set native->JS mode to EvalBridgeMode
   2025-01-04 11:30:44.369  5348-5348  CordovaWebViewImpl      
haribol.ekadasi.app                  D  
onPageFinished(https://ekadasi/index.html)
   2025-01-04 11:30:44.369  5348-5348  PluginManager           
haribol.ekadasi.app                  D  postMessage: onPageFinished
   2025-01-04 11:30:44.543  5348-5415  PluginManager           
haribol.ekadasi.app                  D  getPlugin - put: Device
   2025-01-04 11:30:44.546  5348-5415  PluginManager           
haribol.ekadasi.app                  D  getPlugin - put: CDVIonicKeyboard
   2025-01-04 11:30:44.550  5348-5415  PluginManager           
haribol.ekadasi.app                  D  getPlugin - put: NetworkStatus
   2025-01-04 11:30:44.552  5348-5415  NetworkManager          
haribol.ekadasi.app                  D  toLower : wifi
   2025-01-04 11:30:44.552  5348-5415  NetworkManager          
haribol.ekadasi.app                  D  Connection Type: wifi
   2025-01-04 11:30:44.552  5348-5348  PluginManager           
haribol.ekadasi.app                  D  postMessage: spinner
   2025-01-04 11:30:44.553  5348-5348  NetworkManager          
haribol.ekadasi.app                  D  toLower : wifi
   2025-01-04 11:30:44.553  5348-5348  NetworkManager          
haribol.ekadasi.app                  D  Connection Type: wifi
   2025-01-04 11:30:44.553  5348-5348  PluginManager           
haribol.ekadasi.app                  D  postMessage: networkconnection
   ```
   
   Shows pretty much the same as API 24 but the debugger seemed to have lived 
and indicated no issues, e.g. your application started up fine.
   
   </details>
   
   <details>
   <summary>API 26</summary>
   
   ```
   2025-01-04 11:34:41.635  8577-8577  CordovaWebViewImpl      
haribol.ekadasi.app                  D  
onPageDidNavigate(https://ekadasi/index.html)
   2025-01-04 11:34:41.635  8577-8577  PluginManager           
haribol.ekadasi.app                  D  postMessage: onPageStarted
   2025-01-04 11:34:41.686  8577-8656  VideoCapabilities       
haribol.ekadasi.app                  I  Unsupported profile 4 for video/mp4v-es
   2025-01-04 11:34:41.697  8577-8656  cr_MediaCodecUtil       
haribol.ekadasi.app                  W  HW encoder for video/avc is not 
available on this device.
   2025-01-04 11:34:41.700  8577-8656  cr_MediaCodecUtil       
haribol.ekadasi.app                  W  HW encoder for video/avc is not 
available on this device.
   2025-01-04 11:34:41.711  8577-8656  EGL_emulation           
haribol.ekadasi.app                  D  eglCreateContext: 0x9df40440: maj 3 min 
0 rcv 3
   2025-01-04 11:34:41.713  8577-8656  EGL_emulation           
haribol.ekadasi.app                  D  eglMakeCurrent: 0x9df40440: ver 3 0 
(tinfo 0x8ce88eb0)
   2025-01-04 11:34:41.714  8577-8656  eglCodecCommon          
haribol.ekadasi.app                  E  glUtilsParamSize: unknow param 
0x00008cdf
   2025-01-04 11:34:41.714  8577-8656  eglCodecCommon          
haribol.ekadasi.app                  E  glUtilsParamSize: unknow param 
0x00008cdf
   2025-01-04 11:34:41.714  8577-8656  eglCodecCommon          
haribol.ekadasi.app                  E  glUtilsParamSize: unknow param 
0x00008824
   2025-01-04 11:34:41.714  8577-8656  eglCodecCommon          
haribol.ekadasi.app                  E  glUtilsParamSize: unknow param 
0x00008824
   2025-01-04 11:34:41.727  8577-8656  eglCodecCommon          
haribol.ekadasi.app                  E  glUtilsParamSize: unknow param 
0x00008a34
   2025-01-04 11:34:41.728  8577-8656  eglCodecCommon          
haribol.ekadasi.app                  E  glUtilsParamSize: unknow param 
0x00008a34
   2025-01-04 11:34:41.728  8577-8656  eglCodecCommon          
haribol.ekadasi.app                  E  glUtilsParamSize: unknow param 
0x00008073
   2025-01-04 11:34:41.728  8577-8656  eglCodecCommon          
haribol.ekadasi.app                  E  glUtilsParamSize: unknow param 
0x00008073
   2025-01-04 11:34:41.729  8577-8656  eglCodecCommon          
haribol.ekadasi.app                  E  glUtilsParamSize: unknow param 
0x000088ff
   2025-01-04 11:34:41.730  8577-8656  eglCodecCommon          
haribol.ekadasi.app                  E  glUtilsParamSize: unknow param 
0x000088ff
   2025-01-04 11:34:41.782  8577-8582  zygote                  
haribol.ekadasi.app                  I  Do partial code cache collection, 
code=30KB, data=27KB
   2025-01-04 11:34:41.786  8577-8582  zygote                  
haribol.ekadasi.app                  I  After code cache collection, code=30KB, 
data=27KB
   2025-01-04 11:34:41.786  8577-8582  zygote                  
haribol.ekadasi.app                  I  Increasing code cache capacity to 128KB
   2025-01-04 11:34:41.790  8577-8577  chromium                
haribol.ekadasi.app                  I  [INFO:CONSOLE(8)] "The key 
"viewport-fit" is not recognized and ignored.", source: 
https://ekadasi/index.html (8)
   2025-01-04 11:34:41.926  8577-8577  JsMessageQueue          
haribol.ekadasi.app                  D  Set native->JS mode to EvalBridgeMode
   2025-01-04 11:34:41.951  8577-8577  CordovaWebViewImpl      
haribol.ekadasi.app                  D  
onPageFinished(https://ekadasi/index.html)
   2025-01-04 11:34:41.951  8577-8577  PluginManager           
haribol.ekadasi.app                  D  postMessage: onPageFinished
   ```
   
   Same as API 25, I am omitting some of the logs, and I am inspecting all of 
it as well.
   
   </details>
   
   API 27:
   
   ```
   2025-01-04 11:37:57.299 12105-12105 chromium                
haribol.ekadasi.app                  I  [INFO:CONSOLE(192)] "Uncaught 
TypeError: Object.fromEntries is not a function", source: 
https://ekadasi/js/index.js (192)
   ```
   
   It's a bit strange that I didn't see this in earlier APIs but API 27 here 
was running chrome 61 as indicated:
   
   ```
   2025-01-04 11:37:53.385 12105-12105 cr_LibraryLoader        
haribol.ekadasi.app                  I  Expected native library version number 
"61.0.3163.98", actual native library version number "61.0.3163.98"
   ```
   
   But [Object.fromEntries](https://caniuse.com/?search=fromEntries) is only 
available in Chrome 73+
   
   So this will cause your JS scripts to fail unless if the webview is updated. 
Depending on where this occurs, it can be preventing your app and Cordova from 
fully initializing.
   
   API 24 simulators using the Google Play image can log into Google Play and 
get updates, but I'm not sure if they can get Webview 73 or later. It was 
cutoff around that time I believe. (The latest webviews has a min sdk of 26).
   
   If you cannot stop using `Object.fromEntries` API, then your users will be 
required to have their devices completely up to date with all the webview 
updates for compatibility. Otherwise you'll need to add a polyfill or replace 
the usage of `fromEntries` with a implementation that is more backwards 
compatible.
   
   I'm closing this issue because it seems clear this is an application issue, 
and not something that Cordova can take action on.
   
   


-- 
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: issues-unsubscr...@cordova.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to