the browser is not working but I was testing my cell phone and it was working. but from one moment to another it did not serve any more, I do not know why. if I was not programming. because now I’m trying to compile for ios.
I did the development on windows and copied my project to a mac Sierra. I am configuring it according to docuementacion of onesignal but I also have an error xD. i dont use ionic pro.
You’ll either have to wrap your calls to Onesignal with if(this.platform.is('cordova')) or switch over to using the Ionic Native wrapper, which should handle this for you.
No onesignal no working in windows, i call my function in if(this.platform.is(‘cordova’) { this.myfuntionOnesignal() } so i can develop others things. you need a cell phone or an emulator to do tests.