Android simple dnd widgt - ionic 4

hi
ionic 4 / angular 7-8
we are trying to build a simple android widget - turn on / off dnd (do no disturb) mode
we have the android widget build - native code - but when we try to connect it to ionic pressing on the widget just open the ionic app ?
any idea how can we achieve this behavior = widget on/off dnd mode android only ?
p.s: we if you know any freelancer that can help us / good place to look for them pls let us know also
we are stuck with this widget issue - 3 weeks now:)