apache / apache/cordova-plugin-inappbrowser
Navigation address bar is not editable.
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 2.2k
- PR merge metrics
- No merged PRs in 30d
Description
### Issue Type
- [ ] Bug Report
- [x ] Feature Request
- [ ] Support Question
## Description
I am not sure if I missed some configuration or I am the only person that need this feature:
I hope the navigation address bar can be editable, so that users can type a url to navigate to somewhere they want. Currently the address bar accepts focus, however keyboard doesn't show up.
From source code I can see the editable feature of that input field has been disabled ...
InAppBrowser.java line 888:
edittext.setInputType(InputType.TYPE_NULL); // Will not except input... Makes the text NON-EDITABLE
again, did I miss something?
Thanks.
## Information
### Command or Code
### Environment, Platform, Device
Android 8.0.0, Samsung S7
### Version information
Ionic: 5
"dependencies": {
"@angular/common": "~8.1.2",
"@angular/compiler": "~8.1.2",
"@angular/core": "~8.1.2",
"@angular/forms": "~8.1.2",
"@angular/platform-browser": "~8.1.2",
"@angular/platform-browser-dynamic": "~8.1.2",
"@angular/router": "~8.1.2",
"@ionic-native/core": "^5.0.0",
"@ionic-native/image-picker": "^5.11.0",
"@ionic-native/in-app-browser": "^5.11.0",
"@ionic-native/splash-screen": "^5.0.0",
"@ionic-native/status-bar": "^5.0.0",
"@ionic/angular": "^4.7.1",
"@ionic/storage": "^2.2.0",
"algoliasearch": "^3.33.0",
"amazon-cognito-identity-js": "^3.0.15",
"cordova-android": "^8.0.0",
"cordova-plugin-inappbrowser": "^3.1.0",
"cordova-plugin-telerik-imagepicker": "^2.3.3",
"cordova-sqlite-storage": "^3.2.1",
"core-js": "^2.5.4",
"getstream": "^4.2.5",
"rxjs": "~6.5.1",
"tslib": "^1.9.0",
"zone.js": "~0.9.1"
},
"devDependencies": {
"@angular-devkit/architect": "~0.801.2",
"@angular-devkit/build-angular": "~0.801.2",
"@angular-devkit/core": "~8.1.2",
"@angular-devkit/schematics": "~8.1.2",
"@angular/cli": "~8.1.2",
"@angular/compiler": "~8.1.2",
"@angular/compiler-cli": "~8.1.2",
"@angular/language-service": "~8.1.2",
"@ionic/angular-toolkit": "~2.0.0",
"@types/algoliasearch": "^3.30.16",
"@types/jasmine": "~3.3.8",
"@types/jasminewd2": "~2.0.3",
"@types/node": "~8.9.4",
"aws-sdk": "^2.503.0",
"codelyzer": "^5.0.0",
"cordova-plugin-device": "^2.0.2",
"cordova-plugin-ionic-keyboard": "^2.1.3",
"cordova-plugin-ionic-webview": "^4.1.1",
"cordova-plugin-splashscreen": "^5.0.2",
"cordova-plugin-statusbar": "^2.4.2",
"cordova-plugin-whitelist": "^1.3.3",
"jasmine-core": "~3.4.0",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~4.1.0",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.1",
"karma-jasmine": "~2.0.1",
"karma-jasmine-html-reporter": "^1.4.0",
"protractor": "~5.4.0",
"ts-node": "~7.0.0",
"tslint": "~5.15.0",
"typescript": "~3.4.3"
},
## Checklist
- [x] I searched for already existing GitHub issues about this
- [x] I updated all Cordova tooling to their most recent version
- [x] I included all the necessary information above
Contributor guide
Research direction
Start in InAppBrowser.java at line 888, where the address-bar EditText is configured, and reproduce the behavior on the reported Android 8.0 Samsung S7 environment. Check how the address bar currently handles focus and navigation, then verify that users can enter a URL and navigate to it without breaking existing behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100