apache / apache/cordova-plugin-inappbrowser
documenting the custom schemes handling
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 2.2k
- PR merge metrics
- No merged PRs in 30d
Description
I am not native english so I cant create a pr for this, but we need to documente the lastest changes in custom schemes handling (https://github.com/apache/cordova-plugin-inappbrowser/pull/263 and https://github.com/apache/cordova-plugin-inappbrowser/pull/274)
the things to document:
for example to allow whatsapp custom scheme and twitter
+ add new config.xml preference with the custom schemes you want to support:
```
`
```
+ add event listeners customscheme:
```
inAppBrowserRef.addEventListener('customscheme', function (event) {
//do whatever you want here like:
window.open(event.url, "_system");
});
```
Contributor guide
Research direction
Review pull requests 263 and 274 first to understand the latest custom-scheme behavior, then find the plugin's current configuration and InAppBrowser event documentation. Done means documenting the AllowedSchemes preference with the whatsapp and twitter example and showing how to listen for the customscheme event.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- documentation, mobile-dev
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100