Network commands act strange on armhf

I have created a program in dart that execute command line programs such as nmcli and iwgetid and print the output.
The snap is working on my laptop but on my NanoPi (armhf) I get empty result from nmcli -t -f ssid dev wifi and strange dart error for iwgetid -r.
The program and the commands work without snap on the device.
I have used snap install snapName.snap --dangerous --devmode so no missing plugs fault.

pi@NanoPi-Duo2:~$ snap --version
snap    2.42.1
snapd   2.42.1
series  16
ubuntu  16.04
kernel  4.14.111

pi@NanoPi-Duo2:~$ snap list
Name                  Version    Rev    Tracking  Publisher   Notes
core                  16-2.42.1  8043   stable    canonical✓  core
core18                20191030   1267   stable    canonical✓  base
...

This is my snapcraft file:

name: snapName
base: core18
version: '0.2'  # Just for humans, typically '1.2+git' or '1.3.2'
summary: Single-line elevator pitch for your amazing snap # 79 char long summary
description: |
  This is my-snap's description. You have a paragraph or two to tell the
  most important story about your snap. Keep it under 100 words though,
  we live in tweetspace and your description wants to look good in the snap
  store.

  #grade: stable # must be 'stable' to release into candidate/stable channels
  #confinement: strict # use 'strict' once you have the right plugs and slots

grade: devel  # Must be 'stable' to release into candidate/stable channels
confinement: devmode
architectures: [all]

parts:
  snapName:
    plugin: dump
    source: .
    override-build: |

      unzip dartsdk-*.zip

      snapcraftctl build

    build-packages:
      - wget
      - unzip
      - git
    stage-packages:
      - crda
      - iputils-arping
      - iw
      - libbluetooth3
      - libcap2-bin
      - libfribidi0
      - libgudev-1.0-0
      - libjansson4
      - libmbim-glib4
      - libmbim-proxy
      - libmm-glib0
      - libndp0
      - libnewt0.52
      - libnl-3-200
      - libnl-genl-3-200
      - libnm0
      - libpam-cap
      - libpcap0.8
      - libpcsclite1
      - libpipeline1
      - libpolkit-agent-1-0
      - libpolkit-backend-1-0
      - libpolkit-gobject-1-0
      - libqmi-glib5
      - libqmi-proxy
      - libslang2
      - libteamdctl0
      - libusb-1.0-0
      - modemmanager
      - policykit-1
      - ppp
      - pptp-linux
      - usb-modeswitch
      - usb-modeswitch-data
      - wireless-regdb
      - wpasupplicant
      - libatm1

      - network-manager-pptp
      - network-manager

      - wireless-tools

apps:
  snapName:
    command: dart-sdk/bin/dartaotruntime $SNAP/main.aot $SNAP
    #daemon: simple
    plugs: [network, network-bind, hardware-observe]