Cordova Slack Digest

Thu, 19 Nov 2020 08:25:12 GMT

User count: 4237

Join the conversation at slack.cordova.io

Channel #general (16 messages)


Wed, 18 Nov 2020 10:27:46 GMT

@billingconnect says

Hello

Wed, 18 Nov 2020 10:28:00 GMT

@billingconnect says

hope you are all doing well

Wed, 18 Nov 2020 10:28:25 GMT

@billingconnect says

I have a cordova + angularJS app, working perfectly fine on android but on ios it's not loading the ui-view

Wed, 18 Nov 2020 10:28:39 GMT

@billingconnect says

i've been banging my head for the past 3 weeks but with no luck

Wed, 18 Nov 2020 10:28:43 GMT

@billingconnect says

can anyone help me?

Wed, 18 Nov 2020 10:33:09 GMT

@timbru says

Without any further information, I doubt our 🔮 has an answer. I’d invite you over to <#C068FK885|cordova-ios> where you give precise information, error logs and code snippets.

Wed, 18 Nov 2020 10:34:06 GMT

@billingconnect says

thanks mate

Wed, 18 Nov 2020 20:05:07 GMT

@chadwick.blackford says

@niklasmerz /@norman137 hallo guys, are u forgot to publish cordova-plugin-inappbrowser in npm registry?

Wed, 18 Nov 2020 20:05:30 GMT

@chadwick.blackford says

Wed, 18 Nov 2020 20:05:30 GMT

@norman137 says

no, the vote is sitll in progress

Wed, 18 Nov 2020 20:54:22 GMT

@chadwick.blackford says

how cordova-cli (cordova@10) decided in which section should be placed installed plugin? (dependencies, devDependencies?)

Wed, 18 Nov 2020 20:58:13 GMT

@dpogue says

It should be using devDependencies in v10

Wed, 18 Nov 2020 20:58:28 GMT

@dpogue says

but it will find them regardless of whether they're devDependencies or dependencies

Wed, 18 Nov 2020 23:14:14 GMT

@chadwick.blackford says

I try to remove plugin via cli… package.json was not changed…

Wed, 18 Nov 2020 23:21:27 GMT

@chadwick.blackford says

Discovered plugin "cordova-plugin-customurlscheme". Adding it to the project
Plugin "cordova-plugin-customurlscheme" already installed on android.
Plugin "cordova-plugin-customurlscheme" already installed on ios.

$ cordova plugin list                                               
...
cordova-plugin-customurlscheme 5.0.2 "Custom URL scheme"
...

$ cordova plugin rm cordova-plugin-customurlscheme --verbose --debug
No scripts found for hook "before_plugin_rm".
Calling plugman.uninstall on plugin "cordova-plugin-customurlscheme" for platform "android"
Removing /Users/.../cordova_v10_staging/plugins/cordova-plugin-customurlscheme because mandatory plugin variables were missing.
Variable(s) missing (use: --variable URL_SCHEME=value).
CordovaError: Variable(s) missing (use: --variable URL_SCHEME=value).
    at Object.mergeVariables (/Users/.../.npm-global/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/plugin/util.js:70:15)
    at /Users/.../.npm-global/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/plugin/remove.js:103:32```
only if I do
```cordova plugin rm cordova-plugin-customurlscheme --variable URL_SCHEME=balbalcar```
this plugin can be removed from project….

Why cordova need variable in case of removing the plugin?

Wed, 18 Nov 2020 23:22:28 GMT

@dpogue says

good question

Channel #cordova-ios (17 messages)


Wed, 18 Nov 2020 10:34:34 GMT

@billingconnect says

hello

Wed, 18 Nov 2020 10:34:44 GMT

@billingconnect says

I have a cordova + angularJS app, working perfectly fine on android but on ios it‘s not loading the ui-view [12:28 PM] i’ve been banging my head for the past 3 weeks but with no luck [12:28 PM] can anyone help me?

Wed, 18 Nov 2020 10:34:52 GMT

@billingconnect says

i'm stuck with a white screen

Wed, 18 Nov 2020 10:35:03 GMT

@billingconnect says

i have updated all platform and dependecies

Wed, 18 Nov 2020 10:35:18 GMT

@billingconnect says

and i only have Device plugin installed

Wed, 18 Nov 2020 10:36:06 GMT

@billingconnect says

i previously changed the <base href=“/”> to <base href=“www”> to solve the same problem on android

Wed, 18 Nov 2020 10:36:20 GMT

@billingconnect says

but now no matter what i put inside it it doesn't work

Wed, 18 Nov 2020 10:36:47 GMT

@billingconnect says

it just loads the splash screen then I am stuck on a white screen

Wed, 18 Nov 2020 10:52:24 GMT

@timbru says

How about you give use the installed version of cordova-ios and your iOS version you are testing.

Wed, 18 Nov 2020 11:06:24 GMT

@billingconnect says

iOS 14.2 cordova-ios 6.1.1

Wed, 18 Nov 2020 11:06:32 GMT

@billingconnect says

testing on simulator

Wed, 18 Nov 2020 11:43:47 GMT

@jcesarmobile says

Try configuring the scheme and keep the / base href or use hash navigation

Thu, 19 Nov 2020 00:29:40 GMT

@joel says

Hi all. I‘m investigating some build errors for iOS related to a Cocoapod dependency we are adding. The SDK is built with Swift. Here’s an exert of the errors:

&lt;unknown&gt;:0: error: module map file 'xxx' not found
&lt;unknown&gt;:0: error: underlying Objective-C module 'xxx' not found
error: cannot load underlying module for 'xxx'```
We're only getting these errors on our build server, so it's a bit hard to diagnose.  Everything works fine locally.  There are not many differences between the environments though.

Cordova ClI: 9.0.0
Cordova iOS: 6.1.1

I'm just wondering if anyone recognizes this problem and can potentially point in the right direction.

Thu, 19 Nov 2020 01:39:44 GMT

@joel says

I don't get this error when building for a simulator. Just for a device. 😕

Thu, 19 Nov 2020 01:43:29 GMT

@dpogue says

Do you have &lt;pods use-frameworks="true"&gt;?

Thu, 19 Nov 2020 01:44:41 GMT

@dpogue says

I recall running into this sort of error when I was missing use-frameworks="true" and hitting weird CocoaPods path issues (which turn out to be due to https://github.com/apache/cordova-ios/pull/671)

Thu, 19 Nov 2020 03:09:12 GMT

@joel says

Hmmm, thanks. I‘ve tried unsuccessfully with and without use-frameworks because that’s one of the only levers I have 🙂. But the SDK in question instructs to specify it.

Channel #plugins (5 messages)


Wed, 18 Nov 2020 20:40:00 GMT

@joel says

Anyone had problems installing plugins from the local file system with Node.js 15?

Wed, 18 Nov 2020 20:40:33 GMT

@dpogue says

Just checking, are you using npm v6 or v7? There are known issues with npm v7

Wed, 18 Nov 2020 20:48:55 GMT

@joel says

Ah. Yes, this is with v7.

Wed, 18 Nov 2020 20:58:21 GMT

@joel says

https://github.com/apache/cordova-lib/issues/859

Wed, 18 Nov 2020 21:41:52 GMT

@chadwick.blackford says

@norman137 I have this warning now too https://github.com/apache/cordova-plugin-file/issues/359