Electron-React Application build doesn't work on linux

I built an electron-react application and packaged it with electron builder but my electron build for linux doesn’t work … I tried to build snap with electron builder and published it on snap store .
The application installation goes well but on startup it doesn’t open I get this log from the system logs

Jun 30 09:46:30 admin1-Vostro-3250 kernel: [ 2986.825019] audit: type=1107 audit(1593490590.772:123): pid=888 uid=106 auid=4294967295 ses=4294967295 msg=‘apparmor=“DENIED” operation=“dbus_method_call” bus=“system” path="/" interface=“org.freedesktop.DBus.ObjectManager” member=“GetManagedObjects” mask=“send” name=“org.bluez” pid=6781 label=“snap.xx.xx” peer_pid=1427 peer_label=“unconfined”
Jun 30 09:46:30 admin1-Vostro-3250 kernel: [ 2986.825019] exe="/usr/bin/dbus-daemon" sauid=106 hostname=? addr=? terminal=?’
The Mac and windows builds works fine though.