predatorx7 opened a new issue, #1007:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/1007

   # Bug Report
   
   ## Problem
   
   We are facing a crash (reported from Google Play Console), that is happening 
on some phones, mentioned InAppBrowser in the stack trace.
   
   The app seems to be crashing when closing the in-app browser. I see that a 
very similar issue was closed in 
https://github.com/apache/cordova-plugin-inappbrowser/pull/616 but we're using 
plugin version 5 and the issue was still experienced by a user last week.
   
   ## Information
   
   We could not reproduce the issue on our devices, I'm sharing screenshots 
from the console.
   
   
![image](https://github.com/apache/cordova-plugin-inappbrowser/assets/33719927/1d52ab66-cf3d-4a03-bc09-f86cc8de3b47)
   
![image](https://github.com/apache/cordova-plugin-inappbrowser/assets/33719927/626a027f-2b57-4526-9660-923c4105e2c7)
   
   
   ### Logs
   
   ```
   Exception java.lang.IllegalArgumentException:
     at android.view.WindowManagerGlobal.findViewLocked 
(WindowManagerGlobal.java:529)
     at android.view.WindowManagerGlobal.removeView 
(WindowManagerGlobal.java:438)
     at android.view.WindowManagerImpl.removeViewImmediate 
(WindowManagerImpl.java:126)
     at android.app.Dialog.dismissDialog (Dialog.java:375)
     at android.app.Dialog.dismiss (Dialog.java:358)
     at org.apache.cordova.inappbrowser.InAppBrowser$6$1.onPageFinished 
(InAppBrowser.java:534)
     at YM4.a (chromium-Monochrome.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:425)
     at CA.handleMessage 
(chromium-Monochrome.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:220)
     at android.os.Handler.dispatchMessage (Handler.java:106)
     at android.os.Looper.loop (Looper.java:201)
     at android.app.ActivityThread.main (ActivityThread.java:6810)
     at java.lang.reflect.Method.invoke
     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run 
(RuntimeInit.java:547)
     at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:873)
   ```
   
   ### Environment, Platform, Device
   
   Android 9 (SDK 28), Xiaomi Redmi Note 5 Pro.
   
   ### Version information
   
   cordova-plugin-inappbrowser: v5.0.0
   ionic version: v6.0.0
   cordova android version: v10
   
   ## Checklist
   
   - [x] I searched for existing GitHub issues (Found an old issue but as far 
as I understand, version 5 of the plugin we use already has this fix)
   - [ ] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   


-- 
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