use shadowsocks in two app on same device

hi, I want two use shadowsocks and v2ray plugin inside two different application and both of theme are installed on user device .so I create two separate app and import modules (core, plugin, v2ray).
when just one of them is on user device everything goes ok, but If both of them are installed,onServiceConnected method fire but proxy does not work.

I think when both of theme is installed we have conflict in something, but I don’t know where is it and what happened.
do you know anything about that?