Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Working on android again #2

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

nowrap
Copy link

@nowrap nowrap commented Sep 1, 2021

We were facing the same problem mentioned 2019 at the previos repository:
LouisT#8

With this changes the android version should report back the useragent string again.

change id to cordova-plugin-useragent
Preventing "Attempt to invoke virtual method 'java.lang.String android.webkit.WebSettings.getUserAgentString()' on a null object reference" from LouisT#8
@adeprez
Copy link

adeprez commented Dec 7, 2022

@danielsogl Hello, any update on this?

Edit: if anyone need a fix, I made a Capacitor plugin working on iOS and Android : https://github.com/adeprez/capacitor-user-agent. It has the same features : get/set/reset

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants