I have special problem and I gave up thinking and got confused.
I have an application that gives notifications using GCM and I am using "ONE SIGNAL" for notes because it was recommended and easy, and I
succeed in it and could give notes.
The problem is that I'm living in Iran and because of Sanctions I need a VPN to use one signal. When the app starts it want to login to "ONE SIGNAL" server (with APP key and Api key) - without VPN the app will hang up but with the VPN on the app will work correctly and will login.
I was thinking that for solving it but i could turn on VPN program in app and login , after it turn VPN off, but its not good.
Now I don't know what to do, both GCM - ONE SIGNAL am unable to use....
Please tell me how to use them or at least how to send notification?