Cordova Slack Digest

Fri, 12 Feb 2021 08:34:46 GMT

User count: 4367

Join the conversation at slack.cordova.io

Channel #general (2 messages)


Thu, 11 Feb 2021 11:37:08 GMT

@g.asci says

Hey, everybody! I am planning to buy an M1 MacBook. Has anyone tested the compatibility of cordova with M1 chips?

Thu, 11 Feb 2021 12:11:17 GMT

@norman137 says

I know lots of virtualisation software doesn‘t work properly on M1, like Docker[1]. This will be a problem if you want to develop for Android (and use the android emulators). Google is working on building an M1 compatible emulator, but it’s still in preview last I heard[2].

The preview has some limitations as it stands now, including not being able to run webviews.

There‘s been a few bugs reported for M1, but have a hard time finding them. I don’t believe there were valid to begin with though.

[1] Docker: https://docs.docker.com/docker-for-mac/apple-m1/ VirtualBox: https://www.quora.com/Can-you-run-VirtualBox-on-Macs-with-Apple-s-M1-chip

[2] https://androidstudio.googleblog.com/2020/12/android-emulator-apple-silicon-preview.html

Channel #cordova-ios (1 messages)


Fri, 12 Feb 2021 04:07:38 GMT

@marchjigtala says

Hi, Just want to ask.. I just want to try the app if still work on IOS, how can I run it on my ios device using windows?

Channel #cordova-android (2 messages)


Thu, 11 Feb 2021 19:11:09 GMT

@ucheozoemena says

Hi folks, need some help please.

I haven‘t succeeded in setting the tools namespace on my Cordova app’s manifest file. The correct way to do this is to use the <edit-config> tag in the config.xml, like this:

            &lt;manifest xmlns:tools="<http://schemas.android.com/tools>" /&gt;
        &lt;/edit-config&gt;```
. I then use it to modify a `&lt;uses-permission&gt;` tag like this:
```        &lt;config-file parent="/manifest" target="app/src/main/AndroidManifest.xml" &gt;
            &lt;uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" tools:node="replace" /&gt;
        &lt;/config-file&gt;```
But I keep getting this error:
&gt; The prefix "tools" for attribute "tools:node" associated with an element type "uses-permission" is not bound.
Any ideas for how to do this? Thanks a lot in advance.

Thu, 11 Feb 2021 19:18:50 GMT

@dpogue says

You need the xmlns:tools="<http://schemas.android.com/tools>" on the widget tag in your config.xml

Channel #framework-mixins (1 messages)


Fri, 12 Feb 2021 04:19:33 GMT

@bvtmsr says

@bvtmsr has left the channel