You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/03/10 01:12:40 UTC
[jira] [Commented] (CB-10828) TypeError: Cannot read property
'indexOf' of null when allow-navigation using scheme:*
[ https://issues.apache.org/jira/browse/CB-10828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15188339#comment-15188339 ]
ASF subversion and git services commented on CB-10828:
------------------------------------------------------
Commit af96840cbc34e7ad950ea1a8ff96d169af040f61 in cordova-ios's branch refs/heads/master from [~csantana]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=af96840 ]
CB-10828 TypeError: Cannot read property 'indexOf' of null when allow-navigation using scheme:*
> TypeError: Cannot read property 'indexOf' of null when allow-navigation using scheme:*
> --------------------------------------------------------------------------------------
>
> Key: CB-10828
> URL: https://issues.apache.org/jira/browse/CB-10828
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Affects Versions: 4.1.0
> Reporter: Carlos Santana
> Labels: ios
>
> cordova create test
> cd test
> cordova platform ios@4
> edit config.xml and add schem:* for <allow-navigation>
> <allow-navigation href="cdvfile:*" />
> $ cordova prepare -d
> Executing "before_prepare" hook for all plugins.
> Searching PlatformJson files for differences between project vs. platform installed plugins
> No differences found between project and ios platform. Continuing...
> Generating config.xml from defaults for platform "ios"
> Error: TypeError: Cannot read property 'indexOf' of null
> at parseWhitelistUrlForATS (/Users/csantana23/foo/test/platforms/ios/cordova/lib/prepare.js:448:26)
> at /Users/csantana23/foo/test/platforms/ios/cordova/lib/prepare.js:400:19
> at Array.reduce (native)
> at processAccessAndAllowNavigationEntries (/Users/csantana23/foo/test/platforms/ios/cordova/lib/prepare.js:399:6)
> at writeATSEntries (/Users/csantana23/foo/test/platforms/ios/cordova/lib/prepare.js:488:14)
> at updateProject (/Users/csantana23/foo/test/platforms/ios/cordova/lib/prepare.js:148:15)
> at /Users/csantana23/foo/test/platforms/ios/cordova/lib/prepare.js:47:16
> at _fulfilled (/Users/csantana23/foo/test/platforms/ios/cordova/node_modules/q/q.js:787:54)
> at self.promiseDispatch.done (/Users/csantana23/foo/test/platforms/ios/cordova/node_modules/q/q.js:816:30)
> at Promise.promise.promiseDispatch (/Users/csantana23/foo/test/platforms/ios/cordova/node_modules/q/q.js:749:13)
> ~/foo/test
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org