[
https://issues.apache.org/jira/browse/CB-14187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16551360#comment-16551360
]
ASF GitHub Bot commented on CB-14187:
-------------------------------------
brodybits commented on issue #274: CB-14187: (ios) Change the InAppBrowser to
allow custom schemes
URL:
https://github.com/apache/cordova-plugin-inappbrowser/pull/274#issuecomment-406739430
I gotta say that I am still not able to get it to work on either Android or
iOS in my test project at
<https://github.com/brodybits/cordova-iab-custom-scheme-test-wip> (with 1 test
link and 3 button tests). I suspect that I am doing something wrong; it would
be best if you can issue a PR to correct me.
If I would add the proposed version of this plugin using the following
command:
```
cordova plugin add
https://github.com/q-m/cordova-plugin-inappbrowser#feature/allowedschemes-ios
```
then add iOS platform and then run from Xcode, I would get the following
console log message on iOS when I click the test link or any test button:
```
2018-07-20 17:35:38.166670-0400 HelloCordova[12282:282185] Failed to load
webpage with error: The URL can’t be shown
```
I get the following console log output if I click the test 3 button:
```
2018-07-20 18:05:31.146655-0400 HelloCordova[12987:301089] NSURLConnection
finished with error - code -1002
2018-07-20 18:05:31.155721-0400 HelloCordova[12987:299914] Failed to load
webpage with error: The URL can’t be shown
```
Test does not work for me on Android either.
If another Cordova member with more experience with this plugin can review
and test I would be grateful.
----------------------------------------------------------------
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:
[email protected]
> cordova-plugin-inappbrowser AllowedSchemes for iOS
> --------------------------------------------------
>
> Key: CB-14187
> URL: https://issues.apache.org/jira/browse/CB-14187
> Project: Apache Cordova
> Issue Type: New Feature
> Components: cordova-plugin-inappbrowser
> Affects Versions: 3.0.0
> Reporter: wvengen
> Priority: Major
>
> CB-14013 add support for custom url schemes with the AllowedSchemes
> preference. This only works on Android, however. It would be very useful to
> have this on iOS (and other platforms) as well.
> A pull request for iOS will follow.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]