You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2018/11/27 15:02:37 UTC

[GitHub] boynet opened a new issue #356: documenting the custom schemes handling

boynet opened a new issue #356: documenting the custom schemes handling
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/356
 
 
   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:
   ```
   <preference name="AllowedSchemes" value="whatsapp,twitter" />`
   ```
   + add event listeners customscheme:
   ```
   inAppBrowserRef..addEventListener('customscheme', function (event) {
               //do whatever you want here like:
                window.open(event.url, "_system");
           });
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org