[jira] [Commented] (CB-11321) Plugin install error: Cannot call method 'indexOf' of undefined - splashScreen plugin
[ https://issues.apache.org/jira/browse/CB-11321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15514492#comment-15514492 ] Devon Winders commented on CB-11321: I've been having the same issue. Here is the setup that my app is currently running: cordova --version 4.0.0 cordova platform Installed platforms: android 4.1.1, ios 3.6.3 cordova plugins cordova-plugin-device 1.1.4-dev "Device" cordova-plugin-inappbrowser 1.5.1-dev "InAppBrowser" cordova-plugin-network-information 1.3.1-dev "Network Information" cordova-plugin-screen-orientation 1.4.2 "Screen Orientation" cordova-plugin-splashscreen 4.0.1-dev "Splashscreen" cordova-plugin-statusbar 2.2.1-dev "StatusBar" cordova-plugin-whitelist 1.3.1-dev "Whitelist" ionic-plugin-keyboard 2.2.1 "Keyboard" > Plugin install error: Cannot call method 'indexOf' of undefined - > splashScreen plugin > - > > Key: CB-11321 > URL: https://issues.apache.org/jira/browse/CB-11321 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin SplashScreen >Affects Versions: 3.5.0 > Environment: IOS >Reporter: Atif Gulzar >Assignee: Sergey Shakhnazarov > Labels: github-import, no-repro, triaged, wfc > > AtifMacPro:cordova wison$ cordova plugin add > https://github.com/apache/cordova-plugin-splashscreen.git > Fetching plugin "https://github.com/apache/cordova-plugin-splashscreen.git"; > via git clone > Installing "cordova-plugin-splashscreen" for ios > TypeError: Cannot call method 'indexOf' of undefined > at > /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:232:55 > at Array.forEach (native) > at getEngines > (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:211:13) > at runInstall > (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:281:22) > at > /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:81:16 > at _fulfilled > (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:787:54) > at self.promiseDispatch.done > (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:816:30) > at Promise.promise.promiseDispatch > (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:749:13) > at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:810:14 > at flush (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:108:17) -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-11321) Plugin install error: Cannot call method 'indexOf' of undefined - splashScreen plugin
[ https://issues.apache.org/jira/browse/CB-11321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15385636#comment-15385636 ] Atif Gulzar commented on CB-11321: -- cordova --version 6.2.0 cordova platform Installed platforms: ios 4.1.1 Available platforms: amazon-fireos ~3.6.3 (deprecated) android ~5.1.1 blackberry10 ~3.8.0 browser ~4.1.0 firefoxos ~3.6.3 osx ~4.0.1 webos ~3.7.0 cordova plugins com.phonegap.plugins.PushPlugin 3.2.0 "PushPlugin" cordova-plugin-appversion 1.0.0 "App Version" cordova-plugin-device 1.1.2 "Device" cordova-plugin-dialogs 1.2.1 "Notification" cordova-plugin-globalization 1.0.3 "Globalization" cordova-plugin-google-analytics 0.8.1 "Google Universal Analytics Plugin" cordova-plugin-inappbrowser 1.4.1-dev "InAppBrowser" cordova-plugin-safariviewcontroller 1.4.3 "SafariViewController" cordova-plugin-splashscreen 4.0.0 "Splashscreen" cordova-plugin-whitelist 1.2.2 "Whitelist" > Plugin install error: Cannot call method 'indexOf' of undefined - > splashScreen plugin > - > > Key: CB-11321 > URL: https://issues.apache.org/jira/browse/CB-11321 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin SplashScreen >Affects Versions: 3.5.0 > Environment: IOS >Reporter: Atif Gulzar >Assignee: Sergey Shakhnazarov > Labels: github-import, no-repro, triaged, wfc > > AtifMacPro:cordova wison$ cordova plugin add > https://github.com/apache/cordova-plugin-splashscreen.git > Fetching plugin "https://github.com/apache/cordova-plugin-splashscreen.git"; > via git clone > Installing "cordova-plugin-splashscreen" for ios > TypeError: Cannot call method 'indexOf' of undefined > at > /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:232:55 > at Array.forEach (native) > at getEngines > (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:211:13) > at runInstall > (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:281:22) > at > /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:81:16 > at _fulfilled > (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:787:54) > at self.promiseDispatch.done > (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:816:30) > at Promise.promise.promiseDispatch > (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:749:13) > at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:810:14 > at flush (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:108:17) -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-11321) Plugin install error: Cannot call method 'indexOf' of undefined - splashScreen plugin
[ https://issues.apache.org/jira/browse/CB-11321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15383838#comment-15383838 ] jcesarmobile commented on CB-11321: --- Can not reproduce neither with latest version Can you update your project and try again? > Plugin install error: Cannot call method 'indexOf' of undefined - > splashScreen plugin > - > > Key: CB-11321 > URL: https://issues.apache.org/jira/browse/CB-11321 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin SplashScreen >Affects Versions: 3.5.0 > Environment: IOS >Reporter: Atif Gulzar >Assignee: Sergey Shakhnazarov > Labels: github-import, no-repro, triaged, wfc > > AtifMacPro:cordova wison$ cordova plugin add > https://github.com/apache/cordova-plugin-splashscreen.git > Fetching plugin "https://github.com/apache/cordova-plugin-splashscreen.git"; > via git clone > Installing "cordova-plugin-splashscreen" for ios > TypeError: Cannot call method 'indexOf' of undefined > at > /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:232:55 > at Array.forEach (native) > at getEngines > (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:211:13) > at runInstall > (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:281:22) > at > /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:81:16 > at _fulfilled > (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:787:54) > at self.promiseDispatch.done > (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:816:30) > at Promise.promise.promiseDispatch > (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:749:13) > at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:810:14 > at flush (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:108:17) -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-11321) Plugin install error: Cannot call method 'indexOf' of undefined - splashScreen plugin
[ https://issues.apache.org/jira/browse/CB-11321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15383779#comment-15383779 ] georgehu commented on CB-11321: --- I'm getting the same error: Installing "cordova-plugin-splashscreen" for android TypeError: Cannot read property 'indexOf' of undefined at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:232:54 at Array.forEach (native) at getEngines (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:211:13) at runInstall (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:281:22) at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:81:16 at _fulfilled (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:787:54) at self.promiseDispatch.done (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:816:30) at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:749:13) at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:810:14 at flush (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:108:17) cordova version: 4.1.2 platform: android cordova plugins: No plugins add > Plugin install error: Cannot call method 'indexOf' of undefined - > splashScreen plugin > - > > Key: CB-11321 > URL: https://issues.apache.org/jira/browse/CB-11321 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin SplashScreen >Affects Versions: 3.5.0 > Environment: IOS >Reporter: Atif Gulzar >Assignee: Sergey Shakhnazarov > Labels: github-import, no-repro, triaged, wfc > > AtifMacPro:cordova wison$ cordova plugin add > https://github.com/apache/cordova-plugin-splashscreen.git > Fetching plugin "https://github.com/apache/cordova-plugin-splashscreen.git"; > via git clone > Installing "cordova-plugin-splashscreen" for ios > TypeError: Cannot call method 'indexOf' of undefined > at > /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:232:55 > at Array.forEach (native) > at getEngines > (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:211:13) > at runInstall > (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:281:22) > at > /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:81:16 > at _fulfilled > (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:787:54) > at self.promiseDispatch.done > (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:816:30) > at Promise.promise.promiseDispatch > (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:749:13) > at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:810:14 > at flush (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:108:17) -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-11321) Plugin install error: Cannot call method 'indexOf' of undefined - splashScreen plugin
[ https://issues.apache.org/jira/browse/CB-11321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15319086#comment-15319086 ] Sergey Shakhnazarov commented on CB-11321: -- [~atifgulzar], could you please share the output of {{cordova --version}}, {{cordova platforms}} and {{cordova plugins}}? This does not reproduce for me neither on Mac nor on Windows. > Plugin install error: Cannot call method 'indexOf' of undefined - > splashScreen plugin > - > > Key: CB-11321 > URL: https://issues.apache.org/jira/browse/CB-11321 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin SplashScreen >Affects Versions: 3.5.0 > Environment: IOS >Reporter: Atif Gulzar >Assignee: Sergey Shakhnazarov > Labels: github-import > > AtifMacPro:cordova wison$ cordova plugin add > https://github.com/apache/cordova-plugin-splashscreen.git > Fetching plugin "https://github.com/apache/cordova-plugin-splashscreen.git"; > via git clone > Installing "cordova-plugin-splashscreen" for ios > TypeError: Cannot call method 'indexOf' of undefined > at > /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:232:55 > at Array.forEach (native) > at getEngines > (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:211:13) > at runInstall > (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:281:22) > at > /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:81:16 > at _fulfilled > (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:787:54) > at self.promiseDispatch.done > (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:816:30) > at Promise.promise.promiseDispatch > (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:749:13) > at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:810:14 > at flush (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:108:17) -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-11321) Plugin install error: Cannot call method 'indexOf' of undefined - splashScreen plugin
[ https://issues.apache.org/jira/browse/CB-11321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15316845#comment-15316845 ] Nikhil Khandelwal commented on CB-11321: [~daserge] Could this be a regression because of adding some engine constraints? > Plugin install error: Cannot call method 'indexOf' of undefined - > splashScreen plugin > - > > Key: CB-11321 > URL: https://issues.apache.org/jira/browse/CB-11321 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin SplashScreen >Affects Versions: 3.5.0 > Environment: IOS >Reporter: Atif Gulzar >Assignee: Sergey Shakhnazarov > Labels: github-import > > AtifMacPro:cordova wison$ cordova plugin add > https://github.com/apache/cordova-plugin-splashscreen.git > Fetching plugin "https://github.com/apache/cordova-plugin-splashscreen.git"; > via git clone > Installing "cordova-plugin-splashscreen" for ios > TypeError: Cannot call method 'indexOf' of undefined > at > /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:232:55 > at Array.forEach (native) > at getEngines > (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:211:13) > at runInstall > (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:281:22) > at > /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:81:16 > at _fulfilled > (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:787:54) > at self.promiseDispatch.done > (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:816:30) > at Promise.promise.promiseDispatch > (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:749:13) > at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:810:14 > at flush (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:108:17) -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org