You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Methods are not returning anything.
get, set, reset.. tried everything. The callbacks are not firing.
returns false on console logging. Can somebody please check.
I am executing the code inside the platform ready. and I have access to the UserAgent object with the methods.
After some digging, I can say the settings object inside UserAgent.java is null.
Since I am getting this error.
"Attempt to invoke virtual method 'java.lang.String android.webkit.WebSettings.getUserAgentString()' on a null object reference"
Update: I am using crosswalk...
Can someone suggest to make it work in crosswalk
Please help.
Thank you.
The text was updated successfully, but these errors were encountered:
nowrap
added a commit
to nowrap/cordova-plugin-useragent
that referenced
this issue
Sep 1, 2021
Preventing "Attempt to invoke virtual method 'java.lang.String android.webkit.WebSettings.getUserAgentString()' on a null object reference" from LouisT#8
Methods are not returning anything.
get, set, reset.. tried everything. The callbacks are not firing.
returns false on console logging. Can somebody please check.
I am executing the code inside the platform ready. and I have access to the UserAgent object with the methods.
After some digging, I can say the settings object inside UserAgent.java is null.
Since I am getting this error.
"Attempt to invoke virtual method 'java.lang.String android.webkit.WebSettings.getUserAgentString()' on a null object reference"
Update: I am using crosswalk...
Can someone suggest to make it work in crosswalk
Please help.
Thank you.
The text was updated successfully, but these errors were encountered: